Commit Graph
19 Commits
Author SHA1 Message Date
James Willcox 85ddcd8eb0 Back out bug 1395841 - Part 2 for breaking PWA shortcut installation r=me
This reverts commit eadc939a6ecf5eaff2a233f7015e814cc76a33ed.

MozReview-Commit-ID: 2V2oF1PC5cf
2017-10-02 14:14:52 -05:00
Wes Kocher 4253ce7dce Merge inbound to m-c a=merge
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Jing-wei Wu 053565febb Bug 1395841 - Part 2: Support creating a shortcut from page option in menu. r=nechen
When page option 'add page shortcut' is clicked, creating a shortcut(not PWA) on launcher.
Also make sure that heavy tasks are executed in background thread.

MozReview-Commit-ID: 8KtwdXENtEd
2017-09-28 10:57:48 +08:00
James Willcox 0d502a6fe0 Bug 1372926 - Revert bug 1394356, allowing "add to homescreen" again on Android O r=nechen
MozReview-Commit-ID: B7cYUu1Wa6c
2017-09-28 09:09:52 -05:00
Nevin Chen 2064215eee Bug 1394356 - Temporary remove add to home screen for Android O. r=jwu
MozReview-Commit-ID: 8Uz9QM7i4SD
2017-08-29 17:53:56 +08:00
Jim Chen ae86dd6998 Bug 1365126 - Move shortcut creation to static methods in GeckoApplication; r=droeh
Move shortcut creation code in GeckoApp to GeckoApplication, and make
the methods static so that we can call them without a GeckoInterface
instance. This lets us remove GeckoInterface.createShortcut.

MozReview-Commit-ID: AUnQGI02Bk
2017-05-18 18:09:05 -04:00
Jing-wei Wu 3492de4b9c Bug 1232439 - Part 3: Implement full-page bookmark edit dialog. r=ahunt,Grisha
MozReview-Commit-ID: 8wB9CEptVeu
2017-04-20 09:04:28 +08:00
Jing-wei Wu 9f5bd582ab Bug 1232439 - Part 1: Setup A/B experiment for enabling full bookmark management in Nightly. r=Grisha
The experiment in Switchboard is "full-bookmark-management", and it's enabled for 100% of the Nightly audience.

MozReview-Commit-ID: EhA0BcouPPn
2017-03-23 14:14:24 +08:00
Jim Chen 5079eff930 Bug 1319496 - 5. Change prompt response to use GeckoBundle; r=sebastian
Change prompt response from using JSONObject/String to using
GeckoBundle. The GeckoBundle is automatically translated to a JS object,
like before, when dispatched to JS code.
2016-11-29 12:25:53 -05:00
Grigory Kruglov 886aee8fa0 Bug 1304914 - Don't show "offline version" notifications on error pages r=ahunt
MozReview-Commit-ID: BE6GPLCAU3h
2016-09-26 13:53:52 -07:00
Jim Chen 44870b81a5 Bug 1291384 - 2. Convert GeckoProfile.getDB calls to BrowserDB.from calls; r=nalexander
Mass convert GeckoProfile.getDB() calls to BrowserDB.from() calls,
whether using Context or GeckoProfile.
2016-09-14 12:46:50 -04:00
Grigory Kruglov e96df826ef Bug 1299939 - Use SafeIntent throughout BrowserApp and delegates r=rnewman
MozReview-Commit-ID: gW2gXVWji1
2016-09-01 18:25:05 -07:00
Tom Klein 91df063b67 Bug 1264347 - Refactor SnackbarHelper to use builder pattern. r=sebastian
MozReview-Commit-ID: 9WZBhhJIdNq
2016-07-11 09:42:01 -05:00
Grigory Kruglov abb54fdb35 Bug 1278980 - Add OPENED_FROM_TABS_TRAY event, and use it to trigger "offline version" snackbar r=sebastian
For now, this event is only going to be used to cover a narrow edge case around
display of the "Showing offline version" snackbar, so let's not overthink it.

MozReview-Commit-ID: Cd9q7kwnjjQ
2016-06-24 18:06:55 -07:00
Grigory Kruglov 17104337f2 Bug 1277467 - Add OfflineTabStatusDelegate for displaying tab-is-offline notifiations when appropriate r=sebastian
- Use Content:PageShow event to inform Tabs that they were actively loaded from cache
- Move offline notification logic away from browser.js and into a delegate, which displays notifications when
tab in question is user-visible

MozReview-Commit-ID: 2qCACHyWOlp
2016-06-24 16:56:04 -07:00
Grigory Kruglov 6d96a57db5 Bug 1277467 - Pre: Add ForegroundAwareDelegate to help track if Gecko tabs are user-visible r=sebastian
MozReview-Commit-ID: KZavLxL4u8V
2016-06-22 06:31:27 -07:00
Andrzej Hunt 3b81b0fbc4 Bug 1269406 - Upgrade delegates needing BrowserApp references to use BrowserAppDelegateWithReference r=sebastian
MozReview-Commit-ID: CV4uA2N8q8e
2016-05-02 11:08:16 -07:00
Andrzej Hunt f93445502d Bug 1269406 - Implement BrowserAppDelegateWithReference r=sebastian
MozReview-Commit-ID: Jk5Wl8h6qka
2016-05-04 08:40:45 -07:00
Andrzej Hunt fb202de89b Bug 1269406 - Pre: move BrowserAppDelegates into their own package r=sebastian
Note: some delegates might live in other packages, e.g. our HelperUI
related promotions (HomeScreenPromotion, ReaderViewBookmarkPromotion)
live in org.mozilla.gecko.promotions.

BookmarkStateChangeDelegate previously lived in promotions, however
it isn't really a promotion (we're just showing snackbars, and showing
one helper UI to explain offline reader view bookmarks _after_ such
a bookmark has been created), hence it seems a better fit for delegates.

MozReview-Commit-ID: 6fQD3FWzqnm
2016-05-04 08:33:32 -07:00