Jim Chen
1294cccf48
Bug 1337467 - Convert observers to bundle events; r=rbarker r=sebastian
...
Bug 1337467 - 1. Convert "Window:Resize" observer to event; r=rbarker
Bug 1337467 - 2. Convert "ScrollTo:FocusedInput" observer to event; r=rbarker
Bug 1337467 - 3. Convert "Update:CheckResult" observer to event; r=sebastian
Also remove notifyCheckUpdateResult from GeckoInterface.
Bug 1337467 - 4. Convert "GeckoView:ImportScript" observer to event; r=sebastian
Bug 1337467 - 5. Convert accessibility observers to events; r=sebastian
Bug 1337467 - 6. Convert media/casting observers to events; r=sebastian
Bug 1337467 - 7. Convert "Sanitize:ClearData" observer to event; r=sebastian
Bug 1337467 - 8. Convert "Notification:Event" observer to event; r=sebastian
Bug 1337467 - 9. Convert BrowserApp observers to events; r=sebastian
Bug 1337467 - 10. Convert Tab observers to events; r=sebastian
Bug 1337467 - 11. Convert "Passwords:Init" and "FormHistory:Init" observers to events; r=sebastian
Bug 1337467 - 12. Convert Reader observers to events; r=sebastian
Bug 1337467 - 13. Convert Distribution observers to events; r=sebastian
Bug 1337467 - 14. Convert "Fonts:Reload" observer to event; r=sebastian
Bug 1337467 - 15. Convert RecentTabsAdapter observers to events; r=sebastian
Bug 1337467 - 16. Convert "Session:Prefetch" observer to event; r=sebastian
Bug 1337467 - 17. Convert "Browser:Quit" and "FullScreen:Exit" observers to events; r=sebastian
Bug 1337467 - 18. Convert SessionStore observers to events; r=sebastian
The "Session:NotifyLocationChange" observer is sent by browser.js and
requires passing a browser reference, so it's left as an observer.
Bug 1337467 - 19. Remove unused "Tab:Screenshot:Cancel" notifyObserver call; r=me
Bug 1337467 - 20. Convert "Session:Navigate" observer to event; r=sebastian
Bug 1337467 - 21. Convert "Locale:*" observers to events; r=sebastian
Bug 1337467 - Add log for unhandled events; r=me
Add back the log indicating no listener for an event, which can be
useful when reading logcat. r=me for trivial change.
Bug 1337467 - Don't return error from EventDispatcher when OnEvent fails; r=me
When a listener's OnEvent method returns an error, continue to dispatch
to other listeners and don't return an error from the dispatch function.
This avoids unexpected errors when dispatching events. r=me for trivial
patch.
2017-03-07 12:34:04 -05:00
Jim Chen
922fcb61b5
Bug 1325154 - Convert NotificationHelper events to bundle events; r=sebastian
...
Convert NotificationHelper events to use BundleEventListener and
GeckoBundle. UI events are used to perform notification operations, and
to keep access to mClearableNotifications to the UI thread. Also,
refactor some recently-added code in NotificationHelper.
2016-12-28 17:49:28 -05:00
Petr Marek
c3c709e60a
Bug 1111663 - Remove calling of an obsolete onClicked method. r=margaret
2016-03-18 13:04:00 -04:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Michael Comella
e3b7f888ba
Bug 1170804 - Get .jsm to work under eslint. r=margaret
...
You can now run by `cd mobile/android && eslint . --ext "[.js,.jsm]"`.
--HG--
extra : commitid : AAENN0WrJVl
extra : rebase_source : 4a7fb888ef16a29580fa7b5d394c44aabd387210
2015-06-24 23:11:11 -07:00
Richard Newman
a19b9550b2
Bug 1075558
- Fix Notifications.unregisterHandler. r=mcomella
2014-12-23 18:02:20 -08:00
Wes Johnston
4775f1702f
Bug 901360 - (Part 4) Fix clicking on notifications. r=margaret
...
--HG--
extra : rebase_source : 6bac7cd282d7ec795d91c0dbb685027890d6e840
2014-12-08 11:26:36 -08:00
Wes Johnston
27082422d5
Bug 1004495 - Revamp notification handlers to work when Gecko is not running. r=bnicholson
2014-06-27 13:25:00 -07:00
Jim Chen
ebe098a475
Bug 989046 - b. Drop JSON.stringify when calling handleGeckoMessage; r=mfinkle
2014-04-04 12:33:50 -04:00
Myk Melez
e3e1f9ec39
bug 934760 - implement synthetic APK update flow; r=wesj
2014-02-07 23:50:13 -08:00
Wes Johnston
bd47dc3b6e
Bug 932816 - Added a 'persistent' flag to the api in order to avoid to clear downloads notifications; r=wesj
2013-11-05 22:08:15 -08:00
Wes Johnston
7f52fc2a17
Bug 933275 - Switching WebrtcUI.js to use the new notifications.jsm api; r=wesj
2013-11-05 22:07:55 -08:00
Federico Paolinelli
c6d99b7273
Bug 909932 - Implemented a Notifications.jsm module to expose rich notification api to addons; r=wesj
2013-11-01 12:06:07 -07:00