add scroll test

这个提交存在于:
Shin'ya Ueoka 2018-02-14 21:11:03 +09:00
父节点 f63920e25e
当前提交 b694afb7ce
共有 6 个文件被更改,包括 133 次插入18 次删除

查看文件

@ -0,0 +1,20 @@
import { SCROLL_GET, SCROLL_SET } from '../shared/messages';
import * as ipc from './ipc';
const get = (tabId) => {
return ipc.send({
type: SCROLL_GET,
tabId,
});
};
const set = (tabId, x, y) => {
return ipc.send({
type: SCROLL_SET,
tabId,
x,
y,
});
};
export { get, set };