As implemented, this means we might upload tombstones for never-synced
bookmarks. This _should_ be harmless.
MozReview-Commit-ID: DZx9yWDs1ie
--HG--
extra : rebase_source : d4abf10bded3f6ab39d13f0152cf981cd9fe4df7
Right now we have two Snackbar handlers in GeckoApp and
GeckoPreferences, respectively. This patch combines the two handlers
into one inside GeckoApplication, and lets us display Snackbars in other
Activities like custom tabs and PWA.
MozReview-Commit-ID: Iu6p2VNnVVC
--HG--
extra : rebase_source : 7fa018a3efd251c2e91aeea31e9ca85d872ebe59
Instead of initializing IntentHelper in GeckoApp, initialize it in
GeckoApplication, and make it available globally. This will let custom
tabs / PWA use IntentHelper-provided services.
MozReview-Commit-ID: Icedph6KG4u
--HG--
extra : rebase_source : 819c10edce4fc4f6a46e8cfba34a9fd4afa35e86
Use tint to provide two colors for page action icon in normal/private mode.
We would not tint icons that already have their own colors(for example: ic_readermode_on.png or casting_active.png)
or are came from 3-party addons.
MozReview-Commit-ID: 8uuMucKGLw5
--HG--
extra : rebase_source : 7d213e2b96fab8389b2b2c69e1fdb8ecfe569f20
extra : intermediate-source : ee7c5cecab194ae54317d77de05b2e2f84e1122e
extra : source : a97a2b9700a27e944691536adec6112451ff1f24
If all edges of a favicon are the same colour, we should use that
as the background colour too - that way the favicon no longer appears
distinct from the background. We still fall back to the dominant colour
in most cases, however this improves favicon appearance for some websites.
MozReview-Commit-ID: 6xkgXxHHla2
--HG--
extra : rebase_source : c33807fa2b972b5d4d4f44e8e321883b8880f480
If all edges of a favicon are the same colour, we should use that
as the background colour too - that way the favicon no longer appears
distinct from the background. We still fall back to the dominant colour
in most cases, however this improves favicon appearance for some websites.
MozReview-Commit-ID: 6xkgXxHHla2
--HG--
extra : rebase_source : c33807fa2b972b5d4d4f44e8e321883b8880f480
We use an extra mask for url bar to make url text more clear.
MozReview-Commit-ID: D4ngrRdAof6
--HG--
extra : rebase_source : 4654058e6d966a033c816c3b47140ac8f607d7ed
extra : source : 0608e38913d521899ecc3d907167984ef22816cd
The combined history view returns a bookmark ID of <null> for items that aren't a bookmark. Calling cursor.getInt() silently turns this into an ID of 0, which doesn't play well with the rest of our code that assumes that the bookmark ID for items that aren't in fact bookmarks is -1.
When pressing "Remove" on a search history result, this means that we then end up trying to remove bookmark 0, i.e. the root "bookmark". Luckily this attempt doesn't succeed, but unfortunately still manages to crash the browser along the way.
MozReview-Commit-ID: FZk4cI2EDAE
--HG--
extra : rebase_source : c35a8c3eabeb8607392e073df0d697585e78c64c
We invovled another implementation. We can get it back from repository
easily for any reason, so remove it for now.
MozReview-Commit-ID: c4H8wW41Dr
--HG--
extra : rebase_source : 907bb0681f5e12e6477d41b17984a1d365fc68a6
* DrawableWrapper - a class similiar to DrawableWrapper in Android v23.
* ShiftDrawable - provide shif-animation for its child drawable
* AnimatedProgressBar - ProgressBar.setProgress(int, boolean) involved
since API v24. This is an implementation for animation.
MozReview-Commit-ID: HjLAXXQdZKO
--HG--
extra : rebase_source : fbe4b6252fa41c337875ee28e8e998d6ef64a394
We are going to involve new implementation for page loading indicator by
ProgressBar. Add ThemedProgressBar for Private Mode.
MozReview-Commit-ID: 4Bj9mJtlHPM
--HG--
extra : rebase_source : 224aa8acb34ad3956fe6270f119685d5119bedd2
activity_stream_dismiss was being used to dismiss the welcome screen before but
this string is intended to be used in a different location for a different
purpose and thus should never have been set to the same string.
It's necessary to change the String here so we can modify the contents of the
activity_stream_dismiss String.
MozReview-Commit-ID: 87zaHQ5TJjN
--HG--
extra : rebase_source : c20167ccb9cdba1350b81094cb1a4ffea7b842a9
The menu button is hard to find so we decided to add support for long-click on
the whole row, which is consistent with top sites.
MozReview-Commit-ID: 1Wqa5r9ezWU
--HG--
extra : rebase_source : 88236273f6e1d26c6e6ef770b281f814f9c0b66e