Support global marks which select a tab
This commit is contained in:
parent
6e6e306275
commit
003742ec51
11 changed files with 179 additions and 4 deletions
19
src/background/domains/global-mark.js
Normal file
19
src/background/domains/global-mark.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
export default class GlobalMark {
|
||||
constructor(tabId, x, y) {
|
||||
this.tabId0 = tabId;
|
||||
this.x0 = x;
|
||||
this.y0 = y;
|
||||
}
|
||||
|
||||
get tabId() {
|
||||
return this.tabId0;
|
||||
}
|
||||
|
||||
get x() {
|
||||
return this.x0;
|
||||
}
|
||||
|
||||
get y() {
|
||||
return this.y0;
|
||||
}
|
||||
}
|
Reference in a new issue