Commit Graph
15 Commits
Author SHA1 Message Date
Dan Banner 775694ef61 Bug 1385815 - Enable more whitespace related ESLint rules for mobile/android. r=sebastian
MozReview-Commit-ID: FuM6Neob0mC
2017-08-01 16:36:00 +01:00
Dan Banner 9300a9f43f Bug 1385815 - Enable whitespace related ESLint rules for mobile/android. r=sebastian
MozReview-Commit-ID: 6B79zhklsYR
2017-08-01 16:34:11 +01:00
Jim Chen 78ccd0611f 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 3d9108bc91 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 b7838d1731 Bug 1111663 - Remove calling of an obsolete onClicked method. r=margaret 2016-03-18 13:04:00 -04:00
Shu-yu Guo 37989840cd 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 0f37d9a97f Bug 1170804 - Get .jsm to work under eslint. r=margaret
You can now run by `cd mobile/android && eslint . --ext "[.js,.jsm]"`.
2015-06-24 23:11:11 -07:00
Richard Newman 1f9098f7ac Bug 1075558 - Fix Notifications.unregisterHandler. r=mcomella 2014-12-23 18:02:20 -08:00
Wes Johnston eb1be33ac3 Bug 901360 - (Part 4) Fix clicking on notifications. r=margaret 2014-12-08 11:26:36 -08:00
Wes Johnston 4edd9ce5cd Bug 1004495 - Revamp notification handlers to work when Gecko is not running. r=bnicholson 2014-06-27 13:25:00 -07:00
Jim Chen 51341ba6d0 Bug 989046 - b. Drop JSON.stringify when calling handleGeckoMessage; r=mfinkle 2014-04-04 12:33:50 -04:00
Myk Melez dfd1e76010 bug 934760 - implement synthetic APK update flow; r=wesj 2014-02-07 23:50:13 -08:00
Wes Johnston 2529f98ecc 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 69bbfacb74 Bug 933275 - Switching WebrtcUI.js to use the new notifications.jsm api; r=wesj 2013-11-05 22:07:55 -08:00
Federico Paolinelli f5d12a551f Bug 909932 - Implemented a Notifications.jsm module to expose rich notification api to addons; r=wesj 2013-11-01 12:06:07 -07:00