aboutsummaryrefslogtreecommitdiff
path: root/src/background/domains/global-mark.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/domains/global-mark.js')
-rw-r--r--src/background/domains/global-mark.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/background/domains/global-mark.js b/src/background/domains/global-mark.js
new file mode 100644
index 0000000..f0586f1
--- /dev/null
+++ b/src/background/domains/global-mark.js
@@ -0,0 +1,24 @@
+export default class GlobalMark {
+ constructor(tabId, url, x, y) {
+ this.tabId0 = tabId;
+ this.url0 = url;
+ this.x0 = x;
+ this.y0 = y;
+ }
+
+ get tabId() {
+ return this.tabId0;
+ }
+
+ get url() {
+ return this.url0;
+ }
+
+ get x() {
+ return this.x0;
+ }
+
+ get y() {
+ return this.y0;
+ }
+}