aboutsummaryrefslogtreecommitdiff
path: root/src/background/presenters/tab.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-07-22 11:33:52 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-07-22 11:33:52 +0900
commitb130fd52681a4e3f381d3d09a48589fc42996a8b (patch)
tree96dd5635b1f949a8fd02d6d22f86ee1d362961b3 /src/background/presenters/tab.js
parenta2345f55d64c041f7da079cf36eb4039c43013df (diff)
TabPresenter
Diffstat (limited to 'src/background/presenters/tab.js')
-rw-r--r--src/background/presenters/tab.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/background/presenters/tab.js b/src/background/presenters/tab.js
new file mode 100644
index 0000000..8f60535
--- /dev/null
+++ b/src/background/presenters/tab.js
@@ -0,0 +1,5 @@
+export default class TabPresenter {
+ create(url) {
+ browser.tabs.create({ url, });
+ }
+}