[epiphany/pgriffis/web-extension/tabs: 4/11] WebExtensions: Stub out tabs events
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/pgriffis/web-extension/tabs: 4/11] WebExtensions: Stub out tabs events
- Date: Fri, 3 Jun 2022 03:11:16 +0000 (UTC)
commit 3584e2e253cc3ce792201de05995983ace609d6c
Author: Patrick Griffis <pgriffis igalia com>
Date: Thu Jun 2 16:31:19 2022 -0500
WebExtensions: Stub out tabs events
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1125>
embed/web-process-extension/resources/js/webextensions.js | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/embed/web-process-extension/resources/js/webextensions.js
b/embed/web-process-extension/resources/js/webextensions.js
index 9fce51e47..c59c4bcae 100644
--- a/embed/web-process-extension/resources/js/webextensions.js
+++ b/embed/web-process-extension/resources/js/webextensions.js
@@ -24,8 +24,16 @@ window.browser.tabs = {
get: function (...args) { return ephy_message ('tabs.get', args); },
insertCSS: function (...args) { return ephy_message ('tabs.insertCSS', args); },
removeCSS: function (...args) { return ephy_message ('tabs.removeCSS', args); },
- onUpdated: new EphyEventListener (),
sendMessage: function (...args) { return ephy_message ('tabs.sendMessage', args); },
+ onActivated: new EphyEventListener (),
+ onAttached: new EphyEventListener (),
+ onCreated: new EphyEventListener (),
+ onDetached: new EphyEventListener (),
+ onHighlighted: new EphyEventListener (),
+ onMoved: new EphyEventListener (),
+ onRemoved: new EphyEventListener (),
+ onUpdated: new EphyEventListener (),
+ onZoomChange: new EphyEventListener (),
TAB_ID_NONE: -1,
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]