diff options
| author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-10-12 10:14:33 +0900 | 
|---|---|---|
| committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-10-12 10:14:33 +0900 | 
| commit | 003742ec51aa7aea9214442bc0b611e2eb5eaf6e (patch) | |
| tree | 20345e48bd226c1e83a1145721f7ba585a1452aa /src/background/controllers/mark.js | |
| parent | 6e6e306275a8ee5632a22b1e30c807bd5ae9cc7e (diff) | |
Support global marks which select a tab
Diffstat (limited to 'src/background/controllers/mark.js')
| -rw-r--r-- | src/background/controllers/mark.js | 15 | 
1 files changed, 15 insertions, 0 deletions
| diff --git a/src/background/controllers/mark.js b/src/background/controllers/mark.js new file mode 100644 index 0000000..8d0cefd --- /dev/null +++ b/src/background/controllers/mark.js @@ -0,0 +1,15 @@ +import MarkInteractor from '../usecases/mark'; + +export default class MarkController { +  constructor() { +    this.markInteractor = new MarkInteractor(); +  } + +  setGlobal(key, x, y) { +    this.markInteractor.setGlobal(key, x, y); +  } + +  jumpGlobal(key) { +    this.markInteractor.jumpGlobal(key); +  } +} | 
