Commit Graph
2909 Commits
Author SHA1 Message Date
Sebastian Kaspari a4ac7ad615 Bug 1324028 - IconGenerator: Do not add alpha channel to colors of generated icons. r=mcomella
MozReview-Commit-ID: H4qaSSOlMxT
2017-08-08 17:36:50 +02:00
Jim Chen c65b21747c Bug 1393128 - 2. Support showing Snackbars globally; r=sebastian
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
2017-08-28 23:56:43 -04:00
Jim Chen 20aafbe443 Bug 1393128 - 1. Make IntentHelper available globally; r=nechen,sebastian
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
2017-08-28 23:56:43 -04:00
Jing-wei Wu d486f62174 Bug 1390735 - Support tint color for page action button. r=nechen,sebastian,walkingice
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
2017-08-25 16:24:18 +08:00
Jing-wei Wu 36cc7fd6b3 Bug 1394310 - Change fennec primary color from orange to blue. r=nechen,sebastian,walkingice
MozReview-Commit-ID: 3K34WEtpcqz
2017-08-28 11:01:42 +08:00
Andrzej Hunt d9eb6ac554 Bug 1324028 - Use edge colour as dominant favicon color if consistent. r=mcomella
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
2016-12-10 20:33:34 -08:00
Sebastian Hengst a08097f385 Backed out changeset 99e579176288 (bug 1324028) for failing 'test' suite and on request from sebastian. r=backout 2017-08-28 16:48:57 +02:00
Sebastian Hengst 40ebca666d Backed out changeset 73d4ed6f999e (bug 1324028) 2017-08-28 16:48:21 +02:00
Sebastian Kaspari 62ab1d486e Bug 1363520 - Run CleanupAction from DownloadContentService. r=Grisha
MozReview-Commit-ID: FvnIYStD25u
2017-05-10 09:59:31 -07:00
Sebastian Kaspari 6eea0c0f08 Bug 1324028 - IconGenerator: Do not add alpha channel to colors of generated icons. r=mcomella
MozReview-Commit-ID: H4qaSSOlMxT
2017-08-08 17:36:50 +02:00
Andrzej Hunt cdd381417a Bug 1324028 - Use edge colour as dominant favicon color if consistent. r=mcomella
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
2016-12-10 20:33:34 -08:00
Jing-wei Wu 60ba8a7213 Bug 1389164 - Support new lightweight theme design on Photon. r=nechen,walkingice
We use an extra mask for url bar to make url text more clear.

MozReview-Commit-ID: D4ngrRdAof6
2017-08-28 11:41:20 +08:00
Chenxia Liu bb0f501c44 Bug 1380808 - Add live Pocket content. r=mcomella
MozReview-Commit-ID: CRfYcmHuUgl
2017-08-23 14:55:46 -07:00
Chenxia Liu 256ed8f013 Bug 1380808 - Add Pocket to new tab with placeholders. r=mcomella
MozReview-Commit-ID: 7yqmBF1qlLR
2017-08-17 19:05:44 -07:00
Chenxia Liu c7473d53e6 Bug 1380808 - WelcomePanel -> WelcomePanelRow. r=mcomella
MozReview-Commit-ID: 5FEY361ozbQ
2017-08-22 14:45:30 -07:00
Chenxia Liu a59ffe698f Bug 1380808 - TopPanel -> TopPanelRow. r=mcomella
MozReview-Commit-ID: 69p6FfdJh4P
2017-08-22 14:43:08 -07:00
Chenxia Liu 253bb83fe2 Bug 1380808 - HighlightsTitle -> HighlightsTitleRow. r=mcomella
MozReview-Commit-ID: J814r7yh3xG
2017-08-22 14:40:44 -07:00
Chenxia Liu d1781d2a40 Bug 1380808 - HighlightItem -> HighlightItemRow. r=mcomella
MozReview-Commit-ID: GM2tWWPh3t1
2017-08-22 14:39:54 -07:00
Chenxia Liu d2b6eab687 Bug 1380808 - Rename some "Item" classes to be more descriptive. r=mcomella
MozReview-Commit-ID: GlPbKuQPr8g
2017-08-16 18:38:50 -07:00
Chenxia Liu caef41acc8 Bug 1380808 - Use a single data model, stop using resource ids as viewTypes. r=mcomella
MozReview-Commit-ID: IOcbCi6swo7

MozReview-Commit-ID: IGBWlzAD6N9
2017-08-16 14:10:43 -07:00
Jan Henning 25192e0880 Bug 1390140 - Account for bookmark ID being <null> when populating BrowserSearch's HomeContextMenuInfo. r=Grisha
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
2017-08-23 21:13:35 +02:00
Ryan VanderMeulen 33f08ea17c Merge autoland to m-c. a=merge 2017-08-24 20:20:08 -04:00
Nevin Chen 7d158f465c Bug 1392545 - Add user attribute for Pocket installation. r=maliu
MozReview-Commit-ID: Bb6miysZ9fQ
2017-08-22 17:03:47 +08:00
Nevin Chen 580fa2d040 Bug 1392545 - Extract package name. r=maliu
MozReview-Commit-ID: IW0wi0DcdUM
2017-08-22 17:06:29 +08:00
Julian_Chu ac42e4a407 Bug 1366672 - part6: Clean up ToolbarProgressView r=jwu
We invovled another implementation. We can get it back from repository
easily for any reason, so remove it for now.

MozReview-Commit-ID: c4H8wW41Dr
2017-08-15 13:25:19 +08:00
Julian_Chu 27c7f4f60b Bug 1366672 - Part3: use AnimatedProgressBar to replace ProgressView r=jwu,sebastian
MozReview-Commit-ID: KTr4ce5UvIq
2017-08-05 13:59:35 +08:00
Julian_Chu 04a4ba718e Bug 1366672 - part2: Add new custom widgets r=jwu,sebastian
* 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
2017-08-05 13:53:44 +08:00
Julian_Chu 9dfac648d6 Bug 1366672 - part1: add ThemedProgressBar r=jwu,sebastian
We are going to involve new implementation for page loading indicator by
ProgressBar. Add ThemedProgressBar for Private Mode.

MozReview-Commit-ID: 4Bj9mJtlHPM
2017-08-05 13:30:29 +08:00
Michael Comella 0b64bb89dd Bug 1315201: Override AS context menu a11y title. r=sebastian
MozReview-Commit-ID: HeX7hTpVtEP
2017-08-21 18:13:34 -07:00
Michael Comella 2016d7c6df Bug 1315201: Add long-click support to Highlights for Talkback users. r=sebastian
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
2017-08-21 15:48:35 -07:00
Michael Comella f4a3a0bf2f Bug 1315201: Do not focus BottomSheetDialog in Talkback. r=sebastian
MozReview-Commit-ID: 5ZlKzq46tXC
2017-08-21 14:40:08 -07:00
Michael Comella 0a69d5b9bc Bug 1315201: Do not focus tap-to-dismiss BottomSheetDialog view with Talkback. r=sebastian
MozReview-Commit-ID: CJ73kKDxctb
2017-08-21 14:09:28 -07:00
Michael Comella dad0978521 Bug 1315201: Decrease visibility of BottomSheetContextMenu fields. r=sebastian
MozReview-Commit-ID: 259OIlNQI8r
2017-08-16 13:50:53 -07:00
James Willcox 0a87baf69c Bug 1393188 - Go back in history when back button pressed if able in PWA r=droeh
MozReview-Commit-ID: 3iyOTEIKe46
2017-08-23 14:42:27 -05:00
Michael Comella d44a25f5dc Bug 1390203: Only get highlight images on wifi. r=sebastian
MozReview-Commit-ID: FtSDZ6Yu5Ql
2017-08-22 10:59:12 -07:00
Michael Comella bf77194ef5 Bug 1390356 - review: getMetadataSlow -> getImageUrl in Item interface. r=mcomella
MozReview-Commit-ID: 8pFmBQf4fzp
2017-08-23 13:43:59 -07:00
Michael Comella 6a16e4226c Bug 1390356: Use StreamOverridablePageIconLayout in BottomSheetContextMenu. r=liuche
MozReview-Commit-ID: FPM8WUtVviM
2017-08-15 14:21:31 -07:00
Michael Comella 37a5403eff Bug 1390356: StreamPageIconLayout -> StreamOverridablePageIconLayout. r=liuche
Now it doesn't imply it's used everywhere for page icons in activity stream.

MozReview-Commit-ID: F7Z2HrhHsss
2017-08-15 13:33:09 -07:00
Nevin Chen c07a12459e Bug 1392542 - Add a new trigger for App Start. r=maliu
MozReview-Commit-ID: GT8C5HhR6rS
2017-08-22 16:51:12 +08:00
Wes Kocher 973d0939e9 Backed out 3 changesets (bug 1390356) for android build bustage in testActivityStreamContextMenu.java a=backout
Backed out changeset 864d9c092eaf (bug 1390356)
Backed out changeset e4d9551839b6 (bug 1390356)
Backed out changeset 72a0d4fe9278 (bug 1390356)

MozReview-Commit-ID: CI51AdMUIYn
2017-08-23 14:08:34 -07:00
Wes Kocher fdccb08962 Backed out 2 changesets (bug 1390203) to help back out another patch a=backout
Backed out changeset b1779a4ff84a (bug 1390203)
Backed out changeset 772283005b0d (bug 1390203)

MozReview-Commit-ID: AS7NfLgQfq9
2017-08-23 14:08:12 -07:00
Wes Kocher d26bca2afe Backed out 9 changesets (bug 1315201) to help back out another patch a=backout
Backed out changeset 29a2d717c525 (bug 1315201)
Backed out changeset bfa1c7a361ba (bug 1315201)
Backed out changeset a0882ffc12ac (bug 1315201)
Backed out changeset 13fc2d5116f6 (bug 1315201)
Backed out changeset c59592e98081 (bug 1315201)
Backed out changeset c1a476999fd4 (bug 1315201)
Backed out changeset c4d8e0ccc2ba (bug 1315201)
Backed out changeset 11668ca7abeb (bug 1315201)
Backed out changeset 4bbea68eee6a (bug 1315201)

MozReview-Commit-ID: 3BZlqWFmXdu
2017-08-23 14:07:53 -07:00
Michael Comella 4659792c7b Bug 1315201: Override AS context menu a11y title. r=sebastian
MozReview-Commit-ID: HeX7hTpVtEP
2017-08-21 18:13:34 -07:00
Michael Comella c002d111a6 Bug 1315201: Add long-click support to Highlights for Talkback users. r=sebastian
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
2017-08-21 15:48:35 -07:00
Michael Comella 01ade19500 Bug 1315201: Do not focus BottomSheetDialog in Talkback. r=sebastian
MozReview-Commit-ID: 5ZlKzq46tXC
2017-08-21 14:40:08 -07:00
Michael Comella 6814bbab86 Bug 1315201: Do not focus tap-to-dismiss BottomSheetDialog view with Talkback. r=sebastian
MozReview-Commit-ID: CJ73kKDxctb
2017-08-21 14:09:28 -07:00
Michael Comella 4cb80b21ed Bug 1315201: Decrease visibility of BottomSheetContextMenu fields. r=sebastian
MozReview-Commit-ID: 259OIlNQI8r
2017-08-16 13:50:53 -07:00
Michael Comella 07e51a8329 Bug 1390203: Only get highlight images on wifi. r=sebastian
MozReview-Commit-ID: FtSDZ6Yu5Ql
2017-08-22 10:59:12 -07:00
Michael Comella a9d39d9b36 Bug 1390356 - review: getMetadataSlow -> getImageUrl in Item interface. r=mcomella
MozReview-Commit-ID: 8pFmBQf4fzp
2017-08-23 13:43:59 -07:00
Michael Comella 524eccce14 Bug 1390356: Use StreamOverridablePageIconLayout in BottomSheetContextMenu. r=liuche
MozReview-Commit-ID: FPM8WUtVviM
2017-08-15 14:21:31 -07:00