aboutsummaryrefslogtreecommitdiff
path: root/src/background/presenters/WindowPresenter.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/presenters/WindowPresenter.js')
-rw-r--r--src/background/presenters/WindowPresenter.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/background/presenters/WindowPresenter.js b/src/background/presenters/WindowPresenter.js
new file mode 100644
index 0000000..a82c4a2
--- /dev/null
+++ b/src/background/presenters/WindowPresenter.js
@@ -0,0 +1,5 @@
+export default class WindowPresenter {
+ create(url) {
+ return browser.windows.create({ url });
+ }
+}