Commit Graph

1343 Commits

Author SHA1 Message Date
Nevin Chen
a2f0a2765b Bug 1396465 - Make onboarding images smaller. r=jwu
MozReview-Commit-ID: LKFOlBd5bdv

--HG--
extra : rebase_source : 60411f2f01aa943711794116ad6f8f94311f6a7a
2017-09-04 10:16:05 +08:00
Jan Henning
8530a2979b Bug 1271998 - Part 3 - Scroll the URL to focus the origin for overlength URLs. r=jwu
If the domain is long enough that it doesn't fully fit within the URL bar, we scroll it such that the end of the domain aligns with the right side of the URL bar, taking any possible fadingEdge effect into account. That way, we always try to show as much of the most important part of the origin as possible.

Chrome uses a similar approach, although their URL bar neither fades nor allows scrolling.

MozReview-Commit-ID: Ep4H4kO4MRH

--HG--
extra : rebase_source : 2ef619e8e756627e8ff55ef394f483ce12505ddd
2017-08-24 22:09:56 +02:00
Jan Henning
9e84d48ea6 Bug 1271998 - Part 2 - Make our URL bar scrollable. r=jwu
Limited space for URLs on mobile browsers has given rise to a class of phishing attacks that rely on a carefully crafted URL with a long subdomain being cut off such as to give the impression of another, legitimate URL [1]. We've experimented in the past with avoiding this by showing only the base domain or the EV certificate owner, but had to revert to the old behaviour because of users complaining about not being able to see as much of the URL as formerly possible.

Making the displayed URL scrollable is therefore a nice solution: It allows us to choose the initial scroll position such as to put the focus on the base domain, while giving users the freedom to easily view all the rest of the URL without having to enter editing mode.

To make the URL scrollable, we wrap the TextView with a HorizontalScrollView. Alternatively, it would have been possible to use a ScrollingMovementMethod with the TextView, however that way
- flinging the text doesn't work out of the box
- dragging the text around is still detected as a normal long-press as well and triggers the context menu


[1]. E.g. https://manage-myaccount.paypal.com-webapps.verifcheck.com/signin/ (see https://twitter.com/ericlaw/status/900429796240277504 for an example screenshot).

MozReview-Commit-ID: LPEXQA2kBvD

--HG--
extra : rebase_source : dc5a9428a64cb8961b5783505f67599fa1e22f34
2017-08-27 17:31:13 +02:00
Jan Henning
39dd7dd7d7 Bug 1271998 - Part 0 - Clean up imports. r=JanH
MozReview-Commit-ID: 5y5C77jFYUg

--HG--
extra : rebase_source : e875e54bf1dcf787c582fa8ffea771309bdb6704
2017-08-27 19:58:16 +02:00
Jing-wei Wu
903a88d66e Bug 1394404 - Part 2: Keep AnimatedProgressBar has same height in both BrowserApp and CustomTabsActivity. r=walkingice
MozReview-Commit-ID: EWXn98emP2g

--HG--
extra : rebase_source : 5dc125883779926a78e6ffac67380f7bb6dc1d1f
2017-09-08 18:16:50 +08:00
Chenxia Liu
2f4e269a50 Bug 1396054 - Filter highlight candidates based on settings. r=mcomella
MozReview-Commit-ID: 8e36KZsuh27

--HG--
extra : rebase_source : a23dfbf4d98e0c81334da558ba579e5491169241
2017-09-03 09:35:01 -07:00
Jan Henning
96f846e8fb Bug 1396076 - Part 4 - Revert TabsLayoutItemView padding changes for the "close tab" button. r=jwu
We're using Touch- and HoverDelegates to increase the effective clickable area, so there's no need to actually pad the button itself, which disturbs the layout and eats into the space available for displaying the tab's title.

MozReview-Commit-ID: CKS2OIoS1xr

--HG--
extra : rebase_source : 1e67c7a4c9014156d4e21424cae805dc30d35608
2017-09-01 19:17:33 +02:00
Sebastian Hengst
9a6b5140c4 merge mozilla-central to autoland. r=merge a=merge 2017-09-08 11:03:59 +02:00
Sebastian Hengst
e52b8eb6e4 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: E6LQYNHgmiv
2017-09-08 10:53:26 +02:00
Mike Hommey
ca43d9e078 Bug 1398033 - Free dirty pages on memory pressure. r=njn
Free dirty pages appear as "page-cache" in about:memory reports, but
when minimizing memory, and more generally, on memory pressure, they're
currently not force-free()ed on desktop, while they are on mobile.
There doesn't seem to be much reason not to do it on desktop as well,
and it should help reduce the noise in "explicit" allocations measurements
on CI, too.

--HG--
extra : rebase_source : e477532dda5e72eb8797b5bcdc9060ca46106275
2017-09-08 14:50:42 +09:00
Nevin Chen
171beb013a Bug 1397184 - Add MMA doc to index. r=liuche
MozReview-Commit-ID: FyO2E35p4rF

--HG--
extra : rebase_source : f781009ac9821d6a877af34df5da8b7f62e5ca58
2017-09-06 16:48:12 +08:00
Wes Kocher
2ec453d1bb Backed out 2 changesets (bug 1379833) for android lint failures a=backout
Backed out changeset 8bbf531110dd (bug 1379833)
Backed out changeset c06bc2f7acd3 (bug 1379833)

MozReview-Commit-ID: 5iCJ3qsMC1Q
2017-09-07 16:25:50 -07:00
Andrew Swan
c489cd113c Bug 1379833 Part 2: Display permissions dialog during extension install on Android r=sebastian,walkingice
MozReview-Commit-ID: 721i0B0lC4n

--HG--
extra : rebase_source : 2aadb34cc8f901181a1d894f2d823420b602487e
extra : intermediate-source : facd660f3c054d2d082bed635df5af312ec9773f
extra : source : 95aaed050f22ef61d3bedbb5b47d043d10624eeb
2017-08-15 08:35:11 -07:00
Michael Comella
c47fd6b64c Bug 1394641: AS FaviconView shares styles; add distribution comments. r=sebastian
MozReview-Commit-ID: 7d2aXNDTxZs

--HG--
extra : rebase_source : 66b5480fd4fe52d6a61eb2976917c216d920d08b
2017-09-05 16:16:53 -07:00
Jan Henning
0fcabce1fe Bug 1396604 followup - Remove unused drawable resources. r=JanH
MozReview-Commit-ID: 1gxY4DHoGZV

--HG--
extra : rebase_source : 0dc935b69d99a56c33681c1b0ef90085832a20ae
2017-09-07 19:51:54 +02:00
Sebastian Kaspari
aecdc4c5ab Bug 1396604 - Remove content notifications code. r=JanH,nechen
MozReview-Commit-ID: 5H45Vjnzt5Z

--HG--
extra : rebase_source : dbbcf4a4e402ad3550461bc61d1770961082b839
2017-09-04 16:51:07 +02:00
Jing-wei Wu
2d894cb091 Bug 1389092 - Adjust TwoLinePageRow layout. r=nechen
Adjust icon position and increase text size of title field.

MozReview-Commit-ID: F0eb8m7dvHY

--HG--
extra : rebase_source : ee7f8464ac857bbdfb39eb96b7a9902c09e58066
2017-09-05 18:14:33 +08:00
Jing-wei Wu
3b58594210 Bug 1395920 - Remove vertical dividers in tabs tray page. r=nechen
MozReview-Commit-ID: HZQcuSLbuOm

--HG--
extra : rebase_source : 12c789109e6ccfeb35b83e8f21fd81d9815e6e4a
2017-09-05 11:23:50 +08:00
Jing-wei Wu
40f05e98c2 Bug 1395917 - Update reading list folder icon on bookmark panel. r=nechen
MozReview-Commit-ID: LGdn9KfZkcn

--HG--
extra : rebase_source : 2222faf21bb66140568273390d4739aab04f8137
2017-09-05 11:04:24 +08:00
Michael Comella
196f5f016f Bug 1388377: Add highlights empty state. r=liuche
MozReview-Commit-ID: 1M1nqWSoER3

--HG--
extra : rebase_source : 4c84e431baac1a64876bede36d05c0d3399b0f63
2017-08-31 15:21:43 -07:00
Michael Comella
b4266caa6c Bug 1388377: Rm WelcomePanelRow. r=liuche
We show a message:
1) On first run
2) When there are no highlights

However, these are actually the same case (there are no highlights) so I wanted
to defer to that situation.

I felt it was easier to rm the WelcomePanel and rewrite it than it was to try
to morph it into an empty state for the highlights.

MozReview-Commit-ID: CrRbzA0NoRx

--HG--
extra : rebase_source : ed21103350ea13813062e214d3aec22805cfa7d7
2017-08-31 14:39:40 -07:00
Gregory Szorc
54ce1a0575 Backed out changeset 512562477a1e, c5b310c419c4 (bug 1388377) for Android build bustage
--HG--
extra : histedit_source : 45a7c9ad2418f3fbf1f6b3d544806e43e337749e%2C73fe36a02238f02dcac1d1010504fb42a2008701
2017-09-01 17:07:21 -07:00
Michael Comella
c256431aed Bug 1388377: Add highlights empty state. r=liuche
MozReview-Commit-ID: 1M1nqWSoER3

--HG--
extra : rebase_source : d3047131d6e5fa9bc7a6973bd7d8a78065d1901e
2017-08-31 15:21:43 -07:00
Michael Comella
291c25858a Bug 1388377: Rm WelcomePanelRow. r=liuche
We show a message:
1) On first run
2) When there are no highlights

However, these are actually the same case (there are no highlights) so I wanted
to defer to that situation.

I felt it was easier to rm the WelcomePanel and rewrite it than it was to try
to morph it into an empty state for the highlights.

MozReview-Commit-ID: CrRbzA0NoRx

--HG--
extra : rebase_source : da48e11003d8decb8216d1439a9ca475f56cbb7e
2017-08-31 14:39:40 -07:00
Chenxia Liu
7cdb649f7f Bug 1386735 - Add additional preferences to Top Sites settings. r=mcomella
MozReview-Commit-ID: ADwLLbO41RN

--HG--
extra : rebase_source : 519e230f5feaa10cb08a1eeb2de72f014894ad40
2017-08-30 20:01:48 -07:00
Michael Comella
1f0ddb4e0b Bug 1393274 - bustage: Add gravity=start where textAlignment to appease lint. r=mcomella
Lint passes locally.

MozReview-Commit-ID: 8f6hBwjzoYJ

--HG--
extra : rebase_source : 4b5c4b03e97c529e8cba61794adf87bdc1721dfe
2017-08-31 13:07:32 -07:00
Michael Comella
522237f620 Bug 1393274: Correct webpage RTL padding/margins. r=liuche
Previously, I added a comment to explain why the explicit 0dp padding/margins
are necessary for RTL but since it's required everywhere padding/margins are
used, it's unsustainable and I chose not to do it here.

MozReview-Commit-ID: H7H9xgeLy8b

--HG--
extra : rebase_source : b011a5ce0247abe3f88ce73bfcf113afc1df52af
2017-08-30 13:27:20 -07:00
Michael Comella
69ee4c888f Bug 1393274: Align webpage item row text to right in RTL, left in LTR. r=liuche
MozReview-Commit-ID: 6VSF73V6Mda

--HG--
extra : rebase_source : 5657b1f2032d543c0c39b562ebc2130dbadf8b4a
2017-08-30 13:24:46 -07:00
Michael Comella
e3133ba7e5 Bug 1393274: Rename card_history_item -> webpage_item_row & friends. r=liuche
Unrelated to RTL changes but these names are awful and gotta go!

MozReview-Commit-ID: Kud6tgfEGkk

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_card_history_item.xml => mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml
extra : rebase_source : 9a2b980a8f00ddb2cb28a24ab85d684df04b05b7
2017-08-30 11:45:27 -07:00
Wes Kocher
cf2f541ad3 Backed out 3 changesets (bug 1393274) for android lint failures a=backout
Backed out changeset 52e7fa268a65 (bug 1393274)
Backed out changeset 29e8bf6a34c1 (bug 1393274)
Backed out changeset 03063f77c3f5 (bug 1393274)

MozReview-Commit-ID: 5BOV55zQaFf

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml => mobile/android/app/src/main/res/layout/activity_stream_card_history_item.xml
2017-08-31 11:40:09 -07:00
Michael Comella
41c0b98adf Bug 1393274: Correct webpage RTL padding/margins. r=liuche
Previously, I added a comment to explain why the explicit 0dp padding/margins
are necessary for RTL but since it's required everywhere padding/margins are
used, it's unsustainable and I chose not to do it here.

MozReview-Commit-ID: H7H9xgeLy8b

--HG--
extra : rebase_source : 82c012534ed4d5105cead580c9d7daed82b04b9b
2017-08-30 13:27:20 -07:00
Michael Comella
821599f2b0 Bug 1393274: Align webpage item row text to right in RTL, left in LTR. r=liuche
MozReview-Commit-ID: 6VSF73V6Mda

--HG--
extra : rebase_source : d0cd6eae039f76ed3b09668892e47d4368b4122f
2017-08-30 13:24:46 -07:00
Michael Comella
d581fb44db Bug 1393274: Rename card_history_item -> webpage_item_row & friends. r=liuche
Unrelated to RTL changes but these names are awful and gotta go!

MozReview-Commit-ID: Kud6tgfEGkk

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_card_history_item.xml => mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml
extra : rebase_source : 9369fd07eb959caf800cad58b37e543b83402b08
2017-08-30 11:45:27 -07:00
Nevin Chen
5798b572bc Bug 1394356 - Temporary remove add to home screen for Android O. r=jwu
MozReview-Commit-ID: 8Uz9QM7i4SD

--HG--
extra : rebase_source : 3db8d29843af5b0b720b9d15dc7e71784703c679
2017-08-29 17:53:56 +08:00
Nevin Chen
e25a8bdf4f Bug 1394361 - Tab title is cropped and not align to close button. r=jwu
MozReview-Commit-ID: JDqgSulYqAx

--HG--
extra : rebase_source : b013868e4f06a8f28bd0de152df1278d9407e4f9
2017-08-29 15:12:21 +08:00
Michael Comella
f84b2e0535 Bug 1385934: Use RTL layout attr in activity_stream_topsites_page. r=liuche
MozReview-Commit-ID: EdQzg01FbmS

--HG--
extra : rebase_source : 4286bdae7b2f1710e44185fe4684903e6e8566a8
2017-08-29 16:57:29 -07:00
Michael Comella
6b30ac06b5 Bug 1385934: Add license to activity_stream_topsites_page.xml. r=liuche
MozReview-Commit-ID: EqaukZxvcmH

--HG--
extra : rebase_source : df40010625ba5683417a377d2690b80c96726074
2017-08-29 16:33:38 -07:00
Michael Comella
2327c4c112 Bug 1388379: Use new suggestedsites assets for restricted profile. r=liuche
MozReview-Commit-ID: DXugwOekBVJ

--HG--
extra : rebase_source : 4e4f8068a772ff7b5cc8086d5e2673e745dd7ca5
2017-08-28 17:56:51 -07:00
Michael Comella
485f4fbea6 Bug 1388379: Use new suggestedsites assets for default profile. r=liuche
MozReview-Commit-ID: KCafeCJpNh8

--HG--
extra : rebase_source : ef1836967148e4e783f8dd1bd6b66844b9e2612f
2017-08-28 17:40:08 -07:00
Michael Comella
e46d523922 Bug 1388379: Rm xxxhdpi/suggestedsites_twitter. r=liuche
This is the only suggested site in xxxhdpi and is thus inconsistent.

MozReview-Commit-ID: F9HvsXKsFSq

--HG--
extra : rebase_source : f7b42c5818c1e6c6012386e56f3c224c29de0966
2017-08-28 17:45:53 -07:00
Wes Kocher
de530c1ea6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 5c1Pgm4aVKe
2017-08-29 16:17:50 -07:00
Sebastian Hengst
558aede67b merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-08-29 20:36:12 +02:00
James Willcox
92360654c3 Bug 1394552 - UI improvements for Custom Tabs launched from PWA r=esawin
MozReview-Commit-ID: LVAQN9Tp9DN
2017-08-29 10:31:41 -05:00
Jan Henning
bf6a3ea142 Bug 1385695 - Propagate "app" debug/release build type to dependencies. r=sebastian
Even when building the "app" module in debug mode, by default Gradle still chooses to build all dependencies in release mode, which means that all of our own source files that reside in such a library (geckoview, respectively thirdparty) will e.g. be missing debug info for local variables.

MozReview-Commit-ID: owZr9yKtYI

--HG--
extra : rebase_source : ae09795ebe70bf4213cd3d145efa355712c702a0
2017-07-30 13:55:11 +02:00
Sebastian Kaspari
7e1a1b0496 Bug 1389710 - Search engine preference: Use "favicon_small_size" (like in two_line_page_row.xml). r=mcomella
MozReview-Commit-ID: IDF07Cxux29

--HG--
extra : rebase_source : 46db2c65c144ccf1d35385f96801a0949ca0324b
2017-08-28 16:30:43 +02:00
Sebastian Hengst
9769c22d10 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: AeoHOxZLi6m
2017-08-28 16:53:53 +02:00
John Lin
77f0ffe52a Bug 842782 - p4: enable fullscreen video orientation lock for Fennec nightly. r=jwwang
MozReview-Commit-ID: 5rYK7mjJrBr
2017-08-28 18:16:06 +08:00
Jing-wei Wu
3fb42e9edd Bug 1388490 - Cancel animation set if necessary before re-start it. r=walkingice
MozReview-Commit-ID: F1pDOxZp1SI

--HG--
extra : rebase_source : f7f5a1cdcef5ee91c519f2c3c1c5414bbfb793a7
2017-08-28 15:04:39 +08:00
Sebastian Hengst
2bdbd85010 Backed out changeset b3005c73d7ad (bug 842782) 2017-08-28 09:59:00 +02:00
John Lin
56439aeab2 Bug 842782 - p4: enable fullscreen video orientation lock for Fennec nightly. r=jwwang
MozReview-Commit-ID: 5rYK7mjJrBr

--HG--
extra : rebase_source : c0cd58f2a56b08db923d9cd8f9fdff4b74404a76
2017-08-25 14:26:51 +08:00
Jing-wei Wu
61419e0e10 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

--HG--
extra : rebase_source : 4654058e6d966a033c816c3b47140ac8f607d7ed
extra : source : 0608e38913d521899ecc3d907167984ef22816cd
2017-08-28 11:41:20 +08:00
Jing-wei Wu
0dc15e318d Bug 1391177 - Part 9: Change indicator height in tabs tray page to 4dp. r=nechen,walkingice
MozReview-Commit-ID: JWzkvs0xJEo

--HG--
extra : rebase_source : 5220b635279ec8187751e819402f41db94c65d4f
2017-08-22 14:12:59 +08:00
Jing-wei Wu
352d2d1c0e Bug 1391177 - Part 8: Adjust layout for menu icons on toolbar. r=nechen,walkingice
MozReview-Commit-ID: 46l5Uw3zhO5

--HG--
extra : rebase_source : 71875cbd67ff3f3d674a4020481b3f9f81bd6b1d
2017-08-28 09:20:19 +08:00
Jing-wei Wu
fec51f2213 Bug 1391177 - Part 7: TabCounter refinements. r=nechen,walkingice
1. Ratio of one digit is changed from 0.7 to 0.5.
2. Decorate text with 'sans-serif-medium' & 'bold'.
3. Change border thinkness from 2.5dp to 2.3dp.

MozReview-Commit-ID: 9ghdkBAFx9r

--HG--
extra : rebase_source : cfb825233ff34729aba5bbf2fd6c6b8583a9c9cb
2017-08-21 18:31:09 +08:00
Jing-wei Wu
1abc892fb7 Bug 1391177 - Part 6: Change the primary blue from #00A2FE to #0A84FF. r=nechen,walkingice
MozReview-Commit-ID: CnUuCtGLAU5

--HG--
extra : rebase_source : e9aad4db9a938296a2bd421263248ee04c0dddc1
extra : intermediate-source : 80481e5fc6301733ad6ccb33a8b3cefe7d971ceb
extra : source : 4eccaa8a53b455b63be544cbfefff46379ac7c75
2017-08-14 14:41:58 +08:00
Jing-wei Wu
5d1e0e73ed Bug 1391177 - Part 5: Remove vertical dividers in tabs tray page. r=nechen,walkingice
MozReview-Commit-ID: 3QXKlmJmg7R

--HG--
extra : rebase_source : 5d33a5b3e139e32c6f71ecfecd810b3a3af5816a
extra : intermediate-source : 720407bcd509fefb65dfa5e0c90999b22615917d
extra : source : 119c08e61355e37ec9f0764a5f75f92cf1f11418
2017-08-14 14:11:14 +08:00
Jing-wei Wu
501afe48ba Bug 1391177 - Part 4: Change text selection color to primary color + 30% alpha. r=nechen,walkingice
MozReview-Commit-ID: Gm7nGDZeWyA

--HG--
extra : rebase_source : 24d5a9dc4ffe7b1d29e045c178ac7efc708ae4d5
extra : intermediate-source : 3c9d54bf3f19ff4af3cae776bddfa17370a5ca78
extra : source : 43c6c11b2fa6bb5b53a63b1b62c216ac82981314
2017-08-14 14:05:24 +08:00
Jing-wei Wu
8467324208 Bug 1391177 - Part 3: Update icons for mobile photon. r=nechen,walkingice
Update a few icons received from designer and remove mdpi images.

MozReview-Commit-ID: 87Hc3GqtZm9

--HG--
rename : mobile/android/app/src/main/res/drawable-hdpi/home_tab_menu_strip.9.png => mobile/android/app/src/photon/res/drawable-hdpi/home_tab_menu_strip.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_background.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_background.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected_focused.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected_focused.9.png
extra : rebase_source : cd193c88e3650f134190d3e55843396a0b3f8b5f
extra : source : 31ed050ebe02273ea1e75341634bf32065d117f9
2017-08-25 15:05:23 +08:00
Jing-wei Wu
b569b8cde2 Bug 1391177 - Part 2: Change text yes/no in search suggestion prompt to capitals. r=nechen,walkingice
MozReview-Commit-ID: LTiVMsPdO88

--HG--
extra : rebase_source : 1dc6c135b27aa717f94d13d324f24d0199f690ea
extra : intermediate-source : b7685ff3c2221da093dec2c0b5bd57dbfa704d5c
extra : source : 0b66e4a3c93bdf6a753907bc07b0b13494db32b4
2017-08-14 15:07:22 +08:00
Jing-wei Wu
6fafdf0bbc Bug 1391177 - Part 1: Change URL text(except domain) color in toolbar from #B2B2B2 to #737373. r=nechen,walkingice
MozReview-Commit-ID: dK4hDxx9iv

--HG--
extra : rebase_source : eb5e191b27a567db9a44e1394ec44bb37d247c35
extra : source : aca501b3f1ad86fa10c5580c0d02f9f82550004f
2017-08-17 16:13:54 +08:00
Sebastian Hengst
2c2ca2ccd3 Backed out changeset 007265934857 (bug 1391177) for Android bustage at mobile/android/app/src/photon/res/layout/toolbar_edit_layout.xml:25: unbound prefix during XML parsing. r=backout on a CLOSED TREE 2017-08-25 16:41:18 +02:00
Sebastian Hengst
e0a3447dce Backed out changeset 8cd707f86455 (bug 1391177) 2017-08-25 16:40:21 +02:00
Sebastian Hengst
2c21256b84 Backed out changeset f1151c03aeb8 (bug 1391177)
--HG--
rename : mobile/android/app/src/photon/res/drawable-hdpi/home_tab_menu_strip.9.png => mobile/android/app/src/main/res/drawable-hdpi/home_tab_menu_strip.9.png
rename : mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_background.9.png => mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_background.9.png
rename : mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected.9.png => mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected.9.png
rename : mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected_focused.9.png => mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected_focused.9.png
2017-08-25 16:40:15 +02:00
Sebastian Hengst
8c14af2d9a Backed out changeset 1f2d1bdf4b08 (bug 1391177) 2017-08-25 16:40:09 +02:00
Sebastian Hengst
cb4e1067f1 Backed out changeset df1d70886d09 (bug 1391177) 2017-08-25 16:40:03 +02:00
Sebastian Hengst
ce0beb7003 Backed out changeset 054791914057 (bug 1391177) 2017-08-25 16:39:58 +02:00
Sebastian Hengst
8fa375a6bd Backed out changeset dda991278dc4 (bug 1391177) 2017-08-25 16:39:52 +02:00
Sebastian Hengst
baf5543c91 Backed out changeset 483e66c92c6b (bug 1391177) 2017-08-25 16:39:47 +02:00
Sebastian Hengst
7ddd2a4ab5 Backed out changeset ed482ad5d31f (bug 1391177) 2017-08-25 16:39:41 +02:00
Jing-wei Wu
1da86e673f 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

--HG--
extra : rebase_source : 7d213e2b96fab8389b2b2c69e1fdb8ecfe569f20
extra : intermediate-source : ee7c5cecab194ae54317d77de05b2e2f84e1122e
extra : source : a97a2b9700a27e944691536adec6112451ff1f24
2017-08-25 16:24:18 +08:00
Jing-wei Wu
d0e85b25fd Bug 1394310 - Change fennec primary color from orange to blue. r=nechen,sebastian,walkingice
MozReview-Commit-ID: 3K34WEtpcqz

--HG--
extra : rebase_source : f468f50c388673fd8465e5e7077787509b85b3db
2017-08-28 11:01:42 +08:00
Chenxia Liu
938fa20547 Bug 1393720 - Remove unused dimen desired_tile_height. r=liuche
MozReview-Commit-ID: 2LKF5rHn9zz

--HG--
extra : rebase_source : b8ae544812dc44d6f134189f416c323da19eb609
2017-08-25 02:15:54 -07:00
Chenxia Liu
29f5602d05 Bug 1380808 - Add Pocket to new tab with placeholders. r=mcomella
MozReview-Commit-ID: 7yqmBF1qlLR

--HG--
rename : mobile/android/app/src/main/res/drawable/ic_as_bookmarked.xml => mobile/android/app/src/main/res/drawable/ic_as_trending.xml
rename : mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/HighlightsTitleRow.java => mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamTitleRow.java
rename : mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/HighlightItemRow.java => mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/WebpageItemRow.java
extra : rebase_source : 4db18bd50d8a56201531fd464ed0cae5cebf164d
2017-08-17 19:05:44 -07:00
Michael Comella
1b88e1c159 Bug 1393225: Losslessly compress png assets in photon/ dir. r=nechen
I used ImageOptim and drag-and-dropped all drawable* folders.

According to ImageOptim: "Saved 139 KB out of 303 KB. 45.4% per file on average
(up to 68.3%)."

MozReview-Commit-ID: 8Z3Eb5XjvKm

--HG--
extra : rebase_source : 13b51193f9b826f1d0274662a315065a434bf157
2017-08-23 14:26:57 -07:00
Nevin Chen
631e3c6a5f Bug 1390670 - Tabs tray close tab button is very small. r=jwu
MozReview-Commit-ID: LwM2G6nxT9H

--HG--
extra : rebase_source : 2418f4c52b02d6c350d246cf5a3cb08b9cdb52b9
2017-08-23 18:06:34 +08:00
Jing-wei Wu
17b83d29cf Bug 1366672 - part7: Remove unused resources to make lint happy r=nechen
MozReview-Commit-ID: 9RKUi4tVRvs

--HG--
extra : rebase_source : 8978a9d6ca8945278a489fd7f77a4cbf1f06e39e
2017-08-17 17:03:12 +08:00
Julian_Chu
b306246dca Bug 1366672 - part5: CustomTabs use AnimatedProgressBar r=jwu,sebastian
MozReview-Commit-ID: JxF9vlLPgb4

--HG--
extra : rebase_source : a6a08ef7599cbd7cbd8cb57543da79e942c84124
2017-08-12 23:15:08 +08:00
Julian_Chu
d1f7c2f359 Bug 1366672 - part4: use Photon design for ProgressBar r=jwu,sebastian
MozReview-Commit-ID: IMFeVV0Km2i

--HG--
extra : rebase_source : 035308e08354628fcc3a1aa30260d3430687395c
2017-08-05 16:51:39 +08:00
Julian_Chu
5e19b97442 Bug 1366672 - Part3: use AnimatedProgressBar to replace ProgressView r=jwu,sebastian
MozReview-Commit-ID: KTr4ce5UvIq

--HG--
extra : rebase_source : feb2232eefc431fa10d96ebcd64f6490cb329e44
2017-08-05 13:59:35 +08:00
Julian_Chu
96d96fa63c 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

--HG--
extra : rebase_source : fbe4b6252fa41c337875ee28e8e998d6ef64a394
2017-08-05 13:53:44 +08:00
Nevin Chen
0277dd355e Bug 1392917 - Compress and change a smaller icon to save APK size. r=jwu,walkingice
MozReview-Commit-ID: 8P1jzyatWJu

--HG--
extra : rebase_source : 9c5d90a53234c0d7d3a228a0ab551df7e5bfb1da
2017-08-23 14:20:09 +08:00
Nevin Chen
2ac23f6797 Bug 1392917 - fix photon layout bug. r=jwu,walkingice
MozReview-Commit-ID: Ad9PS8Xks1r

--HG--
extra : rebase_source : afc48dfc7561a1b30a3206bc0df67b67fad22435
2017-08-23 14:17:13 +08:00
Michael Comella
c7cda7bd82 Bug 1315201: Dismiss -> Remove in AS context menu. r=liuche
MozReview-Commit-ID: 5avMlzXbGDk

--HG--
extra : rebase_source : cb553cff3c4928fb40dea359a1604832718b793d
2017-08-23 12:01:52 -07:00
Michael Comella
78d8dc1a5f Bug 1315201: Add activity_stream_welcome_dismiss str. r=liuche
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
2017-08-23 11:59:43 -07:00
Michael Comella
8e0fdb8069 Bug 1315201: Override AS context menu a11y title. r=sebastian
MozReview-Commit-ID: HeX7hTpVtEP

--HG--
extra : rebase_source : 8d3b24fa3654102ad421e8fcc73fcede0dc85eca
2017-08-21 18:13:34 -07:00
Michael Comella
bfe9364e23 Bug 1315201: Do not focus AS context menu titles in Talkback. r=sebastian
MozReview-Commit-ID: GuFjd3XRMoS

--HG--
extra : rebase_source : 408a34e0974d263432ed7f4e50996b4fca61b52b
2017-08-21 14:40:30 -07:00
Michael Comella
7f2bdcca15 Bug 1315201: Add license header to bottomsheet. r=sebastian
MozReview-Commit-ID: Iaafq67csMV

--HG--
extra : rebase_source : c901e82c9bda8ba9c29a6c41548ff4ca6f3db10f
2017-08-16 13:53:31 -07:00
Michael Comella
83a4f5d443 Bug 1390356: Use StreamOverridablePageIconLayout in BottomSheetContextMenu. r=liuche
MozReview-Commit-ID: FPM8WUtVviM

--HG--
extra : rebase_source : a0ce0cb638a985a7c41ecac89014e9b4e22c70a4
2017-08-15 14:21:31 -07:00
Michael Comella
7ade444f47 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

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_page_icon_layout.xml => mobile/android/app/src/main/res/layout/activity_stream_overridable_page_icon_layout.xml
rename : mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamPageIconLayout.java => mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamOverridablePageIconLayout.java
extra : rebase_source : 8e5d6fe665f315da80c11a53fe5a63b85fa45c98
2017-08-15 13:33:09 -07:00
Wes Kocher
0d6630af13 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

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_overridable_page_icon_layout.xml => mobile/android/app/src/main/res/layout/activity_stream_page_icon_layout.xml
rename : mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamOverridablePageIconLayout.java => mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamPageIconLayout.java
extra : rebase_source : 44f628789a1c1c64bac0019655ba31564f37b168
2017-08-23 14:08:34 -07:00
Wes Kocher
3ce0ddebd5 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

--HG--
extra : rebase_source : 066b5b013954c2cd2da7f3755e42c7d91da7fdf2
2017-08-23 14:07:53 -07:00
Michael Comella
a78eb89328 Bug 1315201: Dismiss -> Remove in AS context menu. r=liuche
MozReview-Commit-ID: 5avMlzXbGDk

--HG--
extra : rebase_source : b0a7c6e5aaa2f7946ee72fe41f43fb2c0a8f0aae
2017-08-23 12:01:52 -07:00
Michael Comella
0460681302 Bug 1315201: Add activity_stream_welcome_dismiss str. r=liuche
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 : 98b7fcc041063668df57d0f51f36ddd7e30da5e3
2017-08-23 11:59:43 -07:00
Michael Comella
cdf455e1bb Bug 1315201: Override AS context menu a11y title. r=sebastian
MozReview-Commit-ID: HeX7hTpVtEP

--HG--
extra : rebase_source : afccf0e06bb8b1ac86ae7b0a47eda8f562bf9c55
2017-08-21 18:13:34 -07:00
Michael Comella
161765b336 Bug 1315201: Do not focus AS context menu titles in Talkback. r=sebastian
MozReview-Commit-ID: GuFjd3XRMoS

--HG--
extra : rebase_source : e920fe034e2d9b5d9a066645c075532bcbf98d82
2017-08-21 14:40:30 -07:00
Michael Comella
957efea1da Bug 1315201: Add license header to bottomsheet. r=sebastian
MozReview-Commit-ID: Iaafq67csMV

--HG--
extra : rebase_source : 804e1fbb6c8da9a0eca697dc149b41b836918d38
2017-08-16 13:53:31 -07:00
Michael Comella
5d0af9f992 Bug 1390356: Use StreamOverridablePageIconLayout in BottomSheetContextMenu. r=liuche
MozReview-Commit-ID: FPM8WUtVviM

--HG--
extra : rebase_source : a0ce0cb638a985a7c41ecac89014e9b4e22c70a4
2017-08-15 14:21:31 -07:00
Michael Comella
b0cf9b49a1 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

--HG--
rename : mobile/android/app/src/main/res/layout/activity_stream_page_icon_layout.xml => mobile/android/app/src/main/res/layout/activity_stream_overridable_page_icon_layout.xml
rename : mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamPageIconLayout.java => mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/StreamOverridablePageIconLayout.java
extra : rebase_source : 8e5d6fe665f315da80c11a53fe5a63b85fa45c98
2017-08-15 13:33:09 -07:00
Jing-wei Wu
9255b00013 Bug 1391177 - Part 9: Change indicator height in tabs tray page to 4dp. r=nechen,walkingice
MozReview-Commit-ID: JWzkvs0xJEo

--HG--
extra : rebase_source : 9edc3ede760d4dc0eed3041c257a85f7b9f8e3fb
2017-08-22 14:12:59 +08:00
Jing-wei Wu
4209fa4cf3 Bug 1391177 - Part 8: Adjust layout for menu icons on toolbar. r=nechen,walkingice
MozReview-Commit-ID: 46l5Uw3zhO5

--HG--
extra : rebase_source : 4cac532e566c55f950ed0cf52df136449fb8bc2f
2017-08-22 14:12:21 +08:00
Jing-wei Wu
5ded1569ee Bug 1391177 - Part 7: TabCounter refinements. r=nechen,walkingice
1. Ratio of one digit is changed from 0.7 to 0.5.
2. Decorate text with 'sans-serif-medium' & 'bold'.
3. Change border thinkness from 2.5dp to 2.3dp.

MozReview-Commit-ID: 9ghdkBAFx9r

--HG--
extra : rebase_source : 0c2d7b2eaa0fbbbe3ad8df004e8331fd8cd53ba7
2017-08-21 18:31:09 +08:00
Jing-wei Wu
4012bd9280 Bug 1391177 - Part 6: Change the primary blue from #00A2FE to #0A84FF. r=nechen,walkingice
MozReview-Commit-ID: CnUuCtGLAU5

--HG--
extra : rebase_source : 400150e2cdc88f4d577bac7fadc97a99d8d0f429
extra : intermediate-source : 80481e5fc6301733ad6ccb33a8b3cefe7d971ceb
extra : source : 4eccaa8a53b455b63be544cbfefff46379ac7c75
2017-08-14 14:41:58 +08:00
Jing-wei Wu
c40a5dc005 Bug 1391177 - Part 5: Remove vertical dividers in tabs tray page. r=nechen,walkingice
MozReview-Commit-ID: 3QXKlmJmg7R

--HG--
extra : rebase_source : f2e9f68162629041c0bdeb95890ac86a7f8b53d8
extra : intermediate-source : 720407bcd509fefb65dfa5e0c90999b22615917d
extra : source : 119c08e61355e37ec9f0764a5f75f92cf1f11418
2017-08-14 14:11:14 +08:00
Jing-wei Wu
4ca1d897a3 Bug 1391177 - Part 4: Change text selection color to primary color + 30% alpha. r=nechen,walkingice
MozReview-Commit-ID: Gm7nGDZeWyA

--HG--
extra : rebase_source : 3e9928e80b1c1a0a87657b66c3c2583f214f2c61
extra : intermediate-source : 3c9d54bf3f19ff4af3cae776bddfa17370a5ca78
extra : source : 43c6c11b2fa6bb5b53a63b1b62c216ac82981314
2017-08-14 14:05:24 +08:00
Jing-wei Wu
51cd086ab0 Bug 1391177 - Part 3: Update icons for mobile photon. r=nechen,walkingice
Update a few icons received from designer and remove mdpi images.

MozReview-Commit-ID: 87Hc3GqtZm9

--HG--
rename : mobile/android/app/src/main/res/drawable-hdpi/home_tab_menu_strip.9.png => mobile/android/app/src/photon/res/drawable-hdpi/home_tab_menu_strip.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_background.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_background.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected.9.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tab_indicator_selected_focused.9.png => mobile/android/app/src/photon/res/drawable-hdpi/tab_indicator_selected_focused.9.png
extra : rebase_source : 58a2ddb722d491cb5b0544cedfcc56db663e374c
extra : source : 31ed050ebe02273ea1e75341634bf32065d117f9
2017-08-25 15:05:23 +08:00
Jing-wei Wu
fa518e0e85 Bug 1391177 - Part 2: Change text yes/no in search suggestion prompt to capitals. r=nechen,walkingice
MozReview-Commit-ID: LTiVMsPdO88

--HG--
extra : rebase_source : a3d5a64df1d8b9fc3f51033a72363262335eb1a4
extra : intermediate-source : b7685ff3c2221da093dec2c0b5bd57dbfa704d5c
extra : source : 0b66e4a3c93bdf6a753907bc07b0b13494db32b4
2017-08-14 15:07:22 +08:00
Jing-wei Wu
8bf1bd97b0 Bug 1391177 - Part 1: Change URL text(except domain) color in toolbar from #B2B2B2 to #737373. r=nechen,walkingice
MozReview-Commit-ID: dK4hDxx9iv

--HG--
extra : rebase_source : 11e39a1832a21519af3d3876e448ebc0a9a74b9d
extra : source : aca501b3f1ad86fa10c5580c0d02f9f82550004f
2017-08-17 16:13:54 +08:00
James Willcox
6f1c5e92b7 Bug 1389269 - Remove unused file r=me DONTBUILD
MozReview-Commit-ID: 1NtlTymu6JQ
2017-08-22 10:42:33 -05:00
maliu
9684db3726 Bug 1389990 - back out 80491c51a8e7 (Bug 1365505 - Part2-Turn on the pref for hls not only on nightly.) r=kikuo"
MozReview-Commit-ID: 2oMz5RwsV3g

--HG--
extra : rebase_source : 1a173c078bb382502caa052c71dfbd4c5b2744b6
2017-08-16 19:32:27 +08:00
Michael Comella
b482db15af Bug 1390620: Set centerInside StreamPageIconLayout's FaviconView; add comments. r=sebastian
See in-code comments for why centerInside is necessary.

Note that the code I failed to rebase actually used `fitCenter`, but I think it
should be consistent with TopSites and use `centerInside`.

MozReview-Commit-ID: 5s6aCzcfUn7

--HG--
extra : rebase_source : 7f227b4e284cf6e8c77d9d0b9c50019959ad97af
2017-08-15 13:54:57 -07:00
Michael Comella
ab3e06f91e Bug 1389637: Enable Top Site scrolling when dragging TextView. r=sebastian
As per SO, singleLine also needed to be removed because it automatically sets
scrollHorizontally=true.

MozReview-Commit-ID: 89AL31Niv4L

--HG--
extra : rebase_source : 42315bd56082c263bce7a208f5dd4777b1f4f168
2017-08-15 14:42:13 -07:00
Jing-wei Wu
73d4d1cea9 Bug 1390791 - Adjust text size in tab counter dynamically. r=nechen,walkingice
MozReview-Commit-ID: KUDMEJSGOOk

--HG--
extra : rebase_source : f6ddf87aaade749f626b5d9cabfea17b72c54acc
extra : source : 99f15991135ca16f9e245ca2543491988d63d6a4
2017-08-21 09:27:32 +08:00
Kartikaya Gupta
7fe3b1b02c Bug 1391770 - Don't allow a faraway second tap to start a one-touch-pinch gesture. r=botond
This patch adds a new tolerance pref, which controls how far the second touchdown
is allowed to be from the first touchdown when detecting a multi-tap gesture
such as double-tap or one-touch-pinch. This stops the one-touch-pinch code
from inadvertently triggering when the user does a tap followed by a second tap
far away from the first.

The default value for the new pref is 5x the touch-start tolerance pref. This
seems to provide a reasonable behaviour for me, although this value could
probably be tuned.

MozReview-Commit-ID: 63aAyGCbvoN

--HG--
extra : rebase_source : 36e9bd66d165c8d746ea7b5d6c33e9cf2771194a
2017-08-19 08:50:55 -04:00
Jing-wei Wu
064b372b51 Bug 1390256 - Adjust alignment of TabCounter in different styles.xml. r=nechen,walkingice
MozReview-Commit-ID: DrZzqazUmnK

--HG--
extra : rebase_source : 981100858e88d3fa36ffa20284e2c9937543ab85
2017-08-16 10:20:41 +08:00
Jing-wei Wu
6dad3d5298 Bug 1389457 - Use ThemedImageView instead of ThemedFrameLayout to compose TabCounter. r=nechen,walkingice
gecko:drawableTintList doesn't support background tint in Android 4.4.
The solution replaces it with ThemedImageView, then we can tint foreground instead of background.

MozReview-Commit-ID: 6dekm7U7gfw

--HG--
extra : rebase_source : 5fb10c164dd362cf6f29e1990402b8b4ca591370
extra : source : f7a473e23a3fb29698e0daef148150d83bb4f51b
2017-08-16 09:33:56 +08:00
Jing-wei Wu
b7662864aa Bug 1389342 - Use value of 'favicon_small_size' as width/height for device icon in history page. r=nechen,walkingice
The size of favicon in TwoLinePageRow has been changed to refer 'favicon_small_size',
device icons in history page should use it as width and height to keep all icons have identical size.

MozReview-Commit-ID: AdU52fUUUCr

--HG--
extra : rebase_source : d466af20427a49cbc5be7a21613662fffb364132
2017-08-16 14:40:03 +08:00
Nevin Chen
a2f064998a Bug 1366664t - Update color and layout. Hide splash screen if first seen. r=walkingice
MozReview-Commit-ID: EP6hQIGcdyo

--HG--
extra : rebase_source : eb36ca2400be06e22f9f8024fa70d79f143a6d65
2017-08-09 18:13:55 +08:00
Nevin Chen
9a0cc5e321 Bug 1366664 - Remove unused resource to make lint happy. r=walkingice
MozReview-Commit-ID: IdpNKQeg3w2

--HG--
extra : rebase_source : f9fb0e6c47fc3413953fc86cc50326b9b44c0b60
2017-08-07 17:55:21 +08:00
Nevin Chen
b71d3584d1 Bug 1366664 - Update UI for onboarding after phonton 57. r=walkingice
MozReview-Commit-ID: 2sZVpNdl7Ak

--HG--
extra : rebase_source : 1ff97433798a59c78f7f67d7be8cd890ca2c5bcb
2017-08-07 12:20:29 +08:00
Wes Kocher
9aa04a95f3 Merge autoland to central, a=merge
MozReview-Commit-ID: Fv1T41t9Gof
2017-08-16 15:30:39 -07:00
Ryan VanderMeulen
84df616efe Backed out 5 changesets (bug 1366664) for landing non-localizable strings.
Backed out changeset e5dfbde553d6 (bug 1366664)
Backed out changeset e078166d9857 (bug 1366664)
Backed out changeset 014d0def1489 (bug 1366664)
Backed out changeset 51868598947e (bug 1366664)
Backed out changeset 6a21eb146fba (bug 1366664)
2017-08-16 16:34:06 -04:00
Wes Kocher
c9e3c6f78e Backed out 6 changesets (bug 1366672) for android linting failures a=backout
Backed out changeset df6eadeb55a9 (bug 1366672)
Backed out changeset e655bcd49af8 (bug 1366672)
Backed out changeset dd2474c2eaf9 (bug 1366672)
Backed out changeset 80a2c096cfa9 (bug 1366672)
Backed out changeset 64ff8cc86fec (bug 1366672)
Backed out changeset 13affa6a9586 (bug 1366672)

MozReview-Commit-ID: 9LQiKupMoJb
2017-08-15 11:38:08 -07:00
Carsten "Tomcat" Book
a6ae5910bb Merge mozilla-central to autoland 2017-08-15 13:12:22 +02:00
Carsten "Tomcat" Book
6b36e00b7c merge mozilla-inbound to mozilla-central a=merge 2017-08-15 11:42:11 +02:00
Julian_Chu
79f7e2642b Bug 1366672 - part5: CustomTabs use AnimatedProgressBar r=jwu,sebastian
MozReview-Commit-ID: JxF9vlLPgb4

--HG--
extra : rebase_source : f4b0b739794a1846a374557abe883b911cc0b339
2017-08-12 23:15:08 +08:00
Julian_Chu
dfe6d141de Bug 1366672 - part4: use Phton design for ProgressBar r=jwu,sebastian
MozReview-Commit-ID: IMFeVV0Km2i

--HG--
extra : rebase_source : 52dd1fb795dca3fe2e718f5e7441c55e3e654b1a
2017-08-05 16:51:39 +08:00
Julian_Chu
7bfc56e9a4 Bug 1366672 - Part3: use AnimatedProgressBar to replace ProgressView r=jwu,sebastian
MozReview-Commit-ID: KTr4ce5UvIq

--HG--
extra : rebase_source : 0e0139679af85c86de8e07a17f7e52d02ffc7d32
2017-08-05 13:59:35 +08:00
Julian_Chu
6bd0ed049f 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

--HG--
extra : rebase_source : 442818e9be688072cff45cc3dd54416564c602d1
2017-08-05 13:53:44 +08:00
Nevin Chen
2a319e5242 Bug 1366664 - Update color and layout. Hide splash screen if first seen. r=walkingice
MozReview-Commit-ID: EP6hQIGcdyo

--HG--
extra : rebase_source : 19b6397f83f0c75ca8816326919b000af539a02d
2017-08-09 18:13:55 +08:00
Nevin Chen
2b6f082701 Bug 1366664 - Remove unused resource to make lint happy. r=walkingice
MozReview-Commit-ID: IdpNKQeg3w2

--HG--
extra : rebase_source : 4eaf87262af4aeaf74a0a698efda88f0998a407a
2017-08-07 17:55:21 +08:00
Nevin Chen
d1475d4e3c Bug 1366664 - Update UI for onboarding after phonton 57. r=walkingice
MozReview-Commit-ID: 2sZVpNdl7Ak

--HG--
extra : rebase_source : 44b9a2e37f5e5380f93f59a8e851e0de30f2a83b
2017-08-07 12:20:29 +08:00
Michael Comella
dc89d2abf4 Bug 1301718: Use StreamPageIconLayout in Highlights. r=liuche
MozReview-Commit-ID: LLdJ9xhC4S7

--HG--
extra : rebase_source : df734859ed416b4110c1eba6c06667e2dc4cdb68
2017-08-04 17:36:32 -07:00
Michael Comella
458585db53 Bug 1301718: Add StreamPageIconLayout. r=liuche
This will be used by highlights, top sites, and the AS bottom sheet to set
their icons.

I chose to use centerCrop, over centerInside, because the mocks look like they
chose to do a center crop scale pattern:
https://mozilla.invisionapp.com/share/5JCHCGXPG#/screens/224085516

To my reviewer: some of this code comes from the next commit, where it is moved
from the Highlights code to this file.

MozReview-Commit-ID: 8rtTpjW8noL

--HG--
extra : rebase_source : e0cd3213174d6cd6f42fa84e41fe7335049b6d97
2017-08-04 17:36:02 -07:00
Randall Barker
d9c7901124 Bug 1390145 - Disable apz.frame_delay.enabled on Fennec nightly to prevent page jitter when dynamic toolbar is animated r=botond
MozReview-Commit-ID: 977sZKvEhwP
2017-08-14 11:44:53 -07:00
Wes Kocher
a5fc391fdf Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Jing-wei Wu
795d1f97fc Bug 1388554 - Adjust smart folder icon size to prevent icon cropped. r=maliu,nechen
The size of smart folder icon should be identical to favicon in TwoLinePageRow.
Also change scaleType from 'center' to 'centerInside' to prevent icon cropped.

MozReview-Commit-ID: 62vazt7EW4B

--HG--
extra : rebase_source : 3e2acfe3eea087a2a201dbf2bf47e6981380c7b8
2017-08-09 15:14:29 +08:00
Jing-wei Wu
45926b115d Bug 1375351 - Part 4: Remove unused resources. r=nechen,walkingice
Resources don't be used in Photon should be removed to prevent lint error.

MozReview-Commit-ID: IKjeeM7NecP

--HG--
extra : rebase_source : 9d5a94eaf9f698fa311745b99780418665bb6615
2017-08-09 13:25:19 +08:00
Jing-wei Wu
7c28ed2a79 Bug 1375351 - Part 3: Remove SkinConfig. r=nechen,walkingice
SkinConfig is used to detect current skin is Australis or Photon at runtime.
Since we don't support Australis anymore in Nightly, this class should be removed.

MozReview-Commit-ID: 8yjTFYyQcgt

--HG--
extra : rebase_source : cdc3e6bb933ab11c684207bf0ce282a84d23fa05
2017-08-09 14:19:28 +08:00
Jing-wei Wu
b6a31be431 Bug 1375351 - Part 2: Remove resources that are only used in Australis. r=nechen,walkingice
MozReview-Commit-ID: fflSOHOUuC

--HG--
extra : rebase_source : 66d2620898fd187bf8757851958e41f463d14441
2017-08-08 17:40:52 +08:00
Jing-wei Wu
b8623cde12 Bug 1375351 - Part 1: Remove Australis flavor. r=maliu,nalexander,sebastian
We should now only maintain Photon flavor. Remove all Australis related configuration in build scripts.

MozReview-Commit-ID: H4LE8LAso42

--HG--
extra : rebase_source : 2d5a05e43b261d573677834210a7b3fb18aebcac
2017-08-10 10:19:33 +08:00
Kartikaya Gupta
fdc58801fd Bug 1381435 - Increase the touch_move_tolerance value on desktop, so taps in the tab bar are detected more reliably. r=botond
MozReview-Commit-ID: DHKsD4EQK3z

--HG--
extra : rebase_source : c2f9990871281dc96cb97e10b817e27268b74362
2017-08-09 15:03:51 -04:00
Wes Kocher
7aa3f6f7e8 Backed out changeset d59ab931a261 (bug 1381435) for windows build failures in gfxPrefs.h a=backout
MozReview-Commit-ID: 6xkSA9GmxJh
2017-08-09 12:40:39 -07:00
Kartikaya Gupta
eb938408fc Bug 1381435 - Increase the touch_move_tolerance value on desktop, so taps in the tab bar are detected more reliably. r=botond
MozReview-Commit-ID: DHKsD4EQK3z

--HG--
extra : rebase_source : 9b45969a6cab18ad911d56e978535f1dd46c987a
2017-08-09 15:03:51 -04:00
Sebastian Kaspari
a112aaa7d9 Bug 1383733 - Show two rows of top sites. r=mcomella
MozReview-Commit-ID: 1EHeCejXoFf

--HG--
extra : rebase_source : 0cfaa41c20bc163147fc83dfef0674e070668bb9
2017-08-02 20:11:40 +02:00
Sebastian Kaspari
a70cef39b9 Bug 1383736 - Use full size icons in top sites (and highlights). r=mcomella
MozReview-Commit-ID: 39ri4ah1ned

--HG--
extra : rebase_source : 24b5d8d58c50a141d2ce8dd5d55c5b370c48b7eb
2017-08-07 19:15:48 +02:00
Sebastian Kaspari
c4307eec55 Bug 1383735 - Activity Stream: Update highlights layout to match latest mocks. r=mcomella
This is a version that does not use ConstraintLayout. Luckily I was able
to simplify the layout nevertheless.

MozReview-Commit-ID: 36AtqfmjZN0

--HG--
extra : rebase_source : bebef70dbd75a20c109c8e0d5d2dbe2e296fc5af
2017-08-07 16:30:24 +02:00
Jing-wei Wu
dd509b472e Bug 1386975 - Part 2: Fix Robocop/Mochitest-chrome errors when Photon is enabled. r=maliu,nalexander,sebastian
MozReview-Commit-ID: FszicKMWywf

--HG--
extra : rebase_source : a963060986941e8518a1e278c6699cfe18549212
2017-08-08 10:40:36 +08:00
Sebastian Hengst
7eec7f86a4 Backed out changeset bd83328c7773 (bug 1386975) 2017-08-07 19:04:03 +02:00
Jing-wei Wu
9bb90d78af Bug 1386975 - Part 2: Fix Robocop errors when Photon is enabled. r=maliu,sebastian
MozReview-Commit-ID: FszicKMWywf

--HG--
extra : rebase_source : 813fdb36b44bacc861aebf9546ee2a41d70e7377
2017-08-03 13:39:38 +08:00
Jing-wei Wu
8b7afc7e1a Bug 1366661 - Cover a mask on toolbar when light weight theme is applied. r=walkingice
MozReview-Commit-ID: HhZIjhgnxql

--HG--
extra : rebase_source : c163011e4c9a450252d10457a4821caa7fbe254c
2017-08-07 16:13:07 +08:00
Sebastian Kaspari
51c4b1edea Bug 1384021 - Enable Activity Stream for all users and remove experiment/setting. r=mcomella
MozReview-Commit-ID: NDTBevZfX1

--HG--
extra : rebase_source : 9f8ccdf804fa7d501e8bb570e6e0113d32cdf343
2017-08-02 18:58:31 +02:00
Carsten "Tomcat" Book
546b19363f Backed out changeset 514cf1f55c6f (bug 1380639) 2017-08-07 13:23:35 +02:00
jwu
5aae07c10b Bug 1387349 - Update new icons for Photon. r=walkingice
Remove leagcy images from main/res/ to australis/res/ (should be removed in near feature)
New resources are placed in photon/res/.

MozReview-Commit-ID: 3BYTuA8yaNs

--HG--
rename : mobile/android/app/src/main/res/drawable-hdpi-v11/alert_camera.png => mobile/android/app/src/australis/res/drawable-hdpi-v11/alert_camera.png
rename : mobile/android/app/src/main/res/drawable-hdpi-v11/alert_download.png => mobile/android/app/src/australis/res/drawable-hdpi-v11/alert_download.png
rename : mobile/android/app/src/main/res/drawable-hdpi-v11/alert_guest.png => mobile/android/app/src/australis/res/drawable-hdpi-v11/alert_guest.png
rename : mobile/android/app/src/main/res/drawable-hdpi-v11/alert_mic.png => mobile/android/app/src/australis/res/drawable-hdpi-v11/alert_mic.png
rename : mobile/android/app/src/main/res/drawable-hdpi-v11/ic_menu_back.png => mobile/android/app/src/australis/res/drawable-hdpi-v11/ic_menu_back.png
rename : mobile/android/app/src/main/res/drawable-hdpi-v11/ic_menu_forward.png => mobile/android/app/src/australis/res/drawable-hdpi-v11/ic_menu_forward.png
rename : mobile/android/app/src/main/res/drawable-hdpi-v11/ic_menu_reload.png => mobile/android/app/src/australis/res/drawable-hdpi-v11/ic_menu_reload.png
rename : mobile/android/app/src/main/res/drawable-hdpi-v11/ic_menu_stop.png => mobile/android/app/src/australis/res/drawable-hdpi-v11/ic_menu_stop.png
rename : mobile/android/app/src/main/res/drawable-hdpi-v11/ic_status_logo.png => mobile/android/app/src/australis/res/drawable-hdpi-v11/ic_status_logo.png
rename : mobile/android/app/src/main/res/drawable-hdpi/alert_guest.png => mobile/android/app/src/australis/res/drawable-hdpi/alert_guest.png
rename : mobile/android/app/src/main/res/drawable-hdpi/favicon_globe.png => mobile/android/app/src/australis/res/drawable-hdpi/favicon_globe.png
rename : mobile/android/app/src/main/res/drawable-hdpi/globe_light.png => mobile/android/app/src/australis/res/drawable-hdpi/globe_light.png
rename : mobile/android/app/src/main/res/drawable-hdpi/handle_end.png => mobile/android/app/src/australis/res/drawable-hdpi/handle_end.png
rename : mobile/android/app/src/main/res/drawable-hdpi/handle_middle.png => mobile/android/app/src/australis/res/drawable-hdpi/handle_middle.png
rename : mobile/android/app/src/main/res/drawable-hdpi/handle_start.png => mobile/android/app/src/australis/res/drawable-hdpi/handle_start.png
rename : mobile/android/app/src/main/res/drawable-hdpi/homepage_banner_firstrun.png => mobile/android/app/src/australis/res/drawable-hdpi/homepage_banner_firstrun.png
rename : mobile/android/app/src/main/res/drawable-hdpi/icon_bookmarks_empty.png => mobile/android/app/src/australis/res/drawable-hdpi/icon_bookmarks_empty.png
rename : mobile/android/app/src/main/res/drawable-hdpi/icon_key.png => mobile/android/app/src/australis/res/drawable-hdpi/icon_key.png
rename : mobile/android/app/src/main/res/drawable-hdpi/icon_most_recent_empty.png => mobile/android/app/src/australis/res/drawable-hdpi/icon_most_recent_empty.png
rename : mobile/android/app/src/main/res/drawable-hdpi/icon_remote_tabs_empty.png => mobile/android/app/src/australis/res/drawable-hdpi/icon_remote_tabs_empty.png
rename : mobile/android/app/src/main/res/drawable-hdpi/network_error.png => mobile/android/app/src/australis/res/drawable-hdpi/network_error.png
rename : mobile/android/app/src/main/res/drawable-hdpi/search_launcher.png => mobile/android/app/src/australis/res/drawable-hdpi/search_launcher.png
rename : mobile/android/app/src/main/res/drawable-hdpi/tip_addsearch.png => mobile/android/app/src/australis/res/drawable-hdpi/tip_addsearch.png
rename : mobile/android/app/src/main/res/drawable-large-hdpi-v11/ic_menu_back.png => mobile/android/app/src/australis/res/drawable-large-hdpi-v11/ic_menu_back.png
rename : mobile/android/app/src/main/res/drawable-large-hdpi-v11/ic_menu_forward.png => mobile/android/app/src/australis/res/drawable-large-hdpi-v11/ic_menu_forward.png
rename : mobile/android/app/src/main/res/drawable-large-hdpi-v11/ic_menu_reload.png => mobile/android/app/src/australis/res/drawable-large-hdpi-v11/ic_menu_reload.png
rename : mobile/android/app/src/main/res/drawable-large-hdpi-v11/ic_menu_stop.png => mobile/android/app/src/australis/res/drawable-large-hdpi-v11/ic_menu_stop.png
rename : mobile/android/app/src/main/res/drawable-large-hdpi-v11/toolbar_favicon_default.png => mobile/android/app/src/australis/res/drawable-large-hdpi-v11/toolbar_favicon_default.png
rename : mobile/android/app/src/main/res/drawable-large-xhdpi-v11/ic_menu_back.png => mobile/android/app/src/australis/res/drawable-large-xhdpi-v11/ic_menu_back.png
rename : mobile/android/app/src/main/res/drawable-large-xhdpi-v11/ic_menu_forward.png => mobile/android/app/src/australis/res/drawable-large-xhdpi-v11/ic_menu_forward.png
rename : mobile/android/app/src/main/res/drawable-large-xhdpi-v11/ic_menu_reload.png => mobile/android/app/src/australis/res/drawable-large-xhdpi-v11/ic_menu_reload.png
rename : mobile/android/app/src/main/res/drawable-large-xhdpi-v11/ic_menu_stop.png => mobile/android/app/src/australis/res/drawable-large-xhdpi-v11/ic_menu_stop.png
rename : mobile/android/app/src/main/res/drawable-large-xhdpi-v11/toolbar_favicon_default.png => mobile/android/app/src/australis/res/drawable-large-xhdpi-v11/toolbar_favicon_default.png
rename : mobile/android/app/src/main/res/drawable-large-xxhdpi-v11/ic_menu_back.png => mobile/android/app/src/australis/res/drawable-large-xxhdpi-v11/ic_menu_back.png
rename : mobile/android/app/src/main/res/drawable-large-xxhdpi-v11/ic_menu_forward.png => mobile/android/app/src/australis/res/drawable-large-xxhdpi-v11/ic_menu_forward.png
rename : mobile/android/app/src/main/res/drawable-large-xxhdpi-v11/ic_menu_reload.png => mobile/android/app/src/australis/res/drawable-large-xxhdpi-v11/ic_menu_reload.png
rename : mobile/android/app/src/main/res/drawable-large-xxhdpi-v11/ic_menu_stop.png => mobile/android/app/src/australis/res/drawable-large-xxhdpi-v11/ic_menu_stop.png
rename : mobile/android/app/src/main/res/drawable-large-xxhdpi-v11/toolbar_favicon_default.png => mobile/android/app/src/australis/res/drawable-large-xxhdpi-v11/toolbar_favicon_default.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-hdpi/arrow.png => mobile/android/app/src/australis/res/drawable-ldrtl-hdpi/arrow.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-hdpi/home_group_collapsed.png => mobile/android/app/src/australis/res/drawable-ldrtl-hdpi/home_group_collapsed.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-hdpi/ic_menu_back.png => mobile/android/app/src/australis/res/drawable-ldrtl-hdpi/ic_menu_back.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-hdpi/ic_menu_forward.png => mobile/android/app/src/australis/res/drawable-ldrtl-hdpi/ic_menu_forward.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-hdpi/menu_item_more.png => mobile/android/app/src/australis/res/drawable-ldrtl-hdpi/menu_item_more.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-hdpi/tabs_panel_nav_back.png => mobile/android/app/src/australis/res/drawable-ldrtl-hdpi/tabs_panel_nav_back.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-xhdpi/arrow.png => mobile/android/app/src/australis/res/drawable-ldrtl-xhdpi/arrow.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-xhdpi/home_group_collapsed.png => mobile/android/app/src/australis/res/drawable-ldrtl-xhdpi/home_group_collapsed.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-xhdpi/ic_menu_back.png => mobile/android/app/src/australis/res/drawable-ldrtl-xhdpi/ic_menu_back.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-xhdpi/ic_menu_forward.png => mobile/android/app/src/australis/res/drawable-ldrtl-xhdpi/ic_menu_forward.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-xhdpi/menu_item_more.png => mobile/android/app/src/australis/res/drawable-ldrtl-xhdpi/menu_item_more.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-xhdpi/tabs_panel_nav_back.png => mobile/android/app/src/australis/res/drawable-ldrtl-xhdpi/tabs_panel_nav_back.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-xxhdpi/arrow.png => mobile/android/app/src/australis/res/drawable-ldrtl-xxhdpi/arrow.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-xxhdpi/home_group_collapsed.png => mobile/android/app/src/australis/res/drawable-ldrtl-xxhdpi/home_group_collapsed.png
rename : mobile/android/app/src/main/res/drawable-ldrtl-xxhdpi/tabs_panel_nav_back.png => mobile/android/app/src/australis/res/drawable-ldrtl-xxhdpi/tabs_panel_nav_back.png
rename : mobile/android/app/src/main/res/drawable-nodpi/cloud.png => mobile/android/app/src/australis/res/drawable-nodpi/cloud.png
rename : mobile/android/app/src/main/res/drawable-nodpi/icon_recent.png => mobile/android/app/src/australis/res/drawable-nodpi/icon_recent.png
rename : mobile/android/app/src/main/res/drawable-xhdpi-v11/alert_camera.png => mobile/android/app/src/australis/res/drawable-xhdpi-v11/alert_camera.png
rename : mobile/android/app/src/main/res/drawable-xhdpi-v11/alert_download.png => mobile/android/app/src/australis/res/drawable-xhdpi-v11/alert_download.png
rename : mobile/android/app/src/main/res/drawable-xhdpi-v11/alert_guest.png => mobile/android/app/src/australis/res/drawable-xhdpi-v11/alert_guest.png
rename : mobile/android/app/src/main/res/drawable-xhdpi-v11/alert_mic.png => mobile/android/app/src/australis/res/drawable-xhdpi-v11/alert_mic.png
rename : mobile/android/app/src/main/res/drawable-xhdpi-v11/ic_menu_back.png => mobile/android/app/src/australis/res/drawable-xhdpi-v11/ic_menu_back.png
rename : mobile/android/app/src/main/res/drawable-xhdpi-v11/ic_menu_forward.png => mobile/android/app/src/australis/res/drawable-xhdpi-v11/ic_menu_forward.png
rename : mobile/android/app/src/main/res/drawable-xhdpi-v11/ic_menu_reload.png => mobile/android/app/src/australis/res/drawable-xhdpi-v11/ic_menu_reload.png
rename : mobile/android/app/src/main/res/drawable-xhdpi-v11/ic_menu_stop.png => mobile/android/app/src/australis/res/drawable-xhdpi-v11/ic_menu_stop.png
rename : mobile/android/app/src/main/res/drawable-xhdpi-v11/ic_status_logo.png => mobile/android/app/src/australis/res/drawable-xhdpi-v11/ic_status_logo.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/alert_guest.png => mobile/android/app/src/australis/res/drawable-xhdpi/alert_guest.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/favicon_globe.png => mobile/android/app/src/australis/res/drawable-xhdpi/favicon_globe.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/globe_light.png => mobile/android/app/src/australis/res/drawable-xhdpi/globe_light.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/handle_end.png => mobile/android/app/src/australis/res/drawable-xhdpi/handle_end.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/handle_middle.png => mobile/android/app/src/australis/res/drawable-xhdpi/handle_middle.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/handle_start.png => mobile/android/app/src/australis/res/drawable-xhdpi/handle_start.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/homepage_banner_firstrun.png => mobile/android/app/src/australis/res/drawable-xhdpi/homepage_banner_firstrun.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/icon_bookmarks_empty.png => mobile/android/app/src/australis/res/drawable-xhdpi/icon_bookmarks_empty.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/icon_key.png => mobile/android/app/src/australis/res/drawable-xhdpi/icon_key.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/icon_most_recent_empty.png => mobile/android/app/src/australis/res/drawable-xhdpi/icon_most_recent_empty.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/icon_remote_tabs_empty.png => mobile/android/app/src/australis/res/drawable-xhdpi/icon_remote_tabs_empty.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/network_error.png => mobile/android/app/src/australis/res/drawable-xhdpi/network_error.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/search_launcher.png => mobile/android/app/src/australis/res/drawable-xhdpi/search_launcher.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/tip_addsearch.png => mobile/android/app/src/australis/res/drawable-xhdpi/tip_addsearch.png
rename : mobile/android/app/src/main/res/drawable-xlarge-hdpi-v11/ic_menu_bookmark_add.png => mobile/android/app/src/australis/res/drawable-xlarge-hdpi-v11/ic_menu_bookmark_add.png
rename : mobile/android/app/src/main/res/drawable-xlarge-hdpi-v11/star_blue.png => mobile/android/app/src/australis/res/drawable-xlarge-hdpi-v11/star_blue.png
rename : mobile/android/app/src/main/res/drawable-xlarge-xhdpi-v11/ic_menu_bookmark_add.png => mobile/android/app/src/australis/res/drawable-xlarge-xhdpi-v11/ic_menu_bookmark_add.png
rename : mobile/android/app/src/main/res/drawable-xlarge-xhdpi-v11/star_blue.png => mobile/android/app/src/australis/res/drawable-xlarge-xhdpi-v11/star_blue.png
rename : mobile/android/app/src/main/res/drawable-xlarge-xxhdpi-v11/ic_menu_bookmark_add.png => mobile/android/app/src/australis/res/drawable-xlarge-xxhdpi-v11/ic_menu_bookmark_add.png
rename : mobile/android/app/src/main/res/drawable-xlarge-xxhdpi-v11/star_blue.png => mobile/android/app/src/australis/res/drawable-xlarge-xxhdpi-v11/star_blue.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi-v11/ic_status_logo.png => mobile/android/app/src/australis/res/drawable-xxhdpi-v11/ic_status_logo.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/globe_light.png => mobile/android/app/src/australis/res/drawable-xxhdpi/globe_light.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/homepage_banner_firstrun.png => mobile/android/app/src/australis/res/drawable-xxhdpi/homepage_banner_firstrun.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/icon_key.png => mobile/android/app/src/australis/res/drawable-xxhdpi/icon_key.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/network_error.png => mobile/android/app/src/australis/res/drawable-xxhdpi/network_error.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/search_launcher.png => mobile/android/app/src/australis/res/drawable-xxhdpi/search_launcher.png
rename : mobile/android/app/src/main/res/drawable-xxxhdpi/search_launcher.png => mobile/android/app/src/australis/res/drawable-xxxhdpi/search_launcher.png
rename : mobile/android/app/src/main/res/layout/home_smartfolder.xml => mobile/android/app/src/australis/res/layout/home_smartfolder.xml
extra : rebase_source : 02c178697cee178c314903c7dcf2a6457a9b64c2
extra : intermediate-source : 47c468602fa85ebce17e9a631947d30c1a8faac3
extra : source : 17d9a2488fea218d30dda267a3a9d4318daef303
2017-08-04 15:43:01 +08:00
Jing-wei Wu
966bb66bdc Bug 1366671 - Part 2: Support empty screen in private tabs panel. r=walkingice
MozReview-Commit-ID: KWCPJmPMPIW

--HG--
extra : rebase_source : 9547aba693776cd76c4ecfe80c6fa9754b5eb2e4
2017-07-27 17:39:36 +08:00
Jing-wei Wu
c443b3b27e Bug 1366671 - Part 1: Duplicate empty screen resoueces for Photon. r=walkingice
MozReview-Commit-ID: FkkDIQ85Qxp

--HG--
rename : mobile/android/app/src/main/res/layout/preference_search_tip.xml => mobile/android/app/src/australis/res/layout/preference_search_tip.xml
rename : mobile/android/app/src/main/res/layout/private_tabs_panel.xml => mobile/android/app/src/australis/res/layout/private_tabs_panel.xml
extra : rebase_source : 4b4b981c5e6fa541ac3d32241dac33a242cd2e93
2017-07-27 16:18:02 +08:00
Jing-wei Wu
173bb41353 Bug 1366668 - Part 5: Introduce ToolbarRoundButton to support toolbar item with round rectangle background. r=nechen,walkingice
Implement a custom shaped button to describe the background of tool bar item.

MozReview-Commit-ID: 1wmDCdzb2XZ

--HG--
extra : rebase_source : e1637e0dfdf3d23373c27af573a00e779f43c5ed
2017-08-04 12:52:33 +08:00
Jing-wei Wu
96ae9b860d Bug 1366668 - Part 3: Remove forward button animation. r=nechen,walkingice
Forward button is always shown in the new visual design, animation related code is unused and could be removed.

MozReview-Commit-ID: 6juXl6BNGZl

--HG--
extra : rebase_source : dc804e0b07b8e63197aca675777ee698ce750e94
2017-08-01 10:19:09 +08:00
jwu
1f9b9a7c5e Bug 1366668 - Part 2: Apply new toolbar visual design on tablet. r=nechen,walkingice
MozReview-Commit-ID: DikmnNSpTQt

--HG--
extra : rebase_source : 7871e0fd76f06af261176ab89034431d05e60a84
extra : source : 4a8734955caf87d834b779065f2dea54f234ee8f
2017-08-04 14:47:10 +08:00
Jing-wei Wu
b100bb778b Bug 1366668 - Part 1: Duplicates awesome bar resources. r=nechen,walkingice
MozReview-Commit-ID: 7tY3ugTATxh

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/toolbar/BrowserToolbarTablet.java => mobile/android/app/src/australis/java/org/mozilla/gecko/toolbar/BrowserToolbarTablet.java
rename : mobile/android/base/java/org/mozilla/gecko/toolbar/BrowserToolbarTabletBase.java => mobile/android/app/src/australis/java/org/mozilla/gecko/toolbar/BrowserToolbarTabletBase.java
rename : mobile/android/base/java/org/mozilla/gecko/toolbar/ForwardButton.java => mobile/android/app/src/australis/java/org/mozilla/gecko/toolbar/ForwardButton.java
rename : mobile/android/base/java/org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java => mobile/android/app/src/australis/java/org/mozilla/gecko/toolbar/ToolbarDisplayLayout.java
rename : mobile/android/app/src/main/res/color/action_bar_menu_item_colors.xml => mobile/android/app/src/australis/res/color/action_bar_menu_item_colors.xml
rename : mobile/android/app/src/main/res/drawable-large-v11/url_bar_nav_button.xml => mobile/android/app/src/australis/res/drawable-large-v11/url_bar_nav_button.xml
extra : rebase_source : db316de93b2f25284af5fc91ade0bf7eaf067f72
2017-08-01 09:55:48 +08:00
Sebastian Kaspari
b05b8a9729 Bug 1380639 - Add contraint-layout and constraint-layer-solver dependencies. r=mcomella
MozReview-Commit-ID: AbZLlwdDHRV

--HG--
extra : rebase_source : d4538afeca26349512f8453db4782be2bce28ee0
2017-07-25 10:12:38 +02:00
Wes Kocher
2196b718d3 Merge inbound to central, a=merge
MozReview-Commit-ID: DlSLhaepjeU
2017-08-03 18:06:53 -07:00
Sebastian Kaspari
c098f9df88 Bug 1386755 - Enable compact tabs by default. r=mcomella
MozReview-Commit-ID: Eeue25LE8eJ

--HG--
extra : histedit_source : 823bd2de8307a3b33f59ce69bfb6f33a16220dd1
2017-08-02 20:21:03 +02:00
Karl Dubost
f4c3d12128 Bug 1385206 - Documents the syntax for this file; r=miketaylr
MozReview-Commit-ID: Kbr3BNIx9Ky

--HG--
extra : rebase_source : 7bc6c5ac9043d7db00cdbf528d8faa8885ee0da1
2017-07-31 06:53:39 +09:00
Karl Dubost
448de9990a Bug 1385206 - Adds rakuten.co.jp UA override; r=miketaylr
MozReview-Commit-ID: PAQEBrERrY

--HG--
extra : rebase_source : 6ca4c5626794131625b6d9eae0f84b7170e60dc7
2017-07-31 06:47:19 +09:00
James Cheng
146ec6923b Bug 1365505 - Part2-Turn on the pref for hls not only on nightly. r=bwu
MozReview-Commit-ID: 1rdoVMJtw7l

--HG--
extra : rebase_source : 80b80d0451a7fd204acf7ebab084f9c709762f4c
2017-08-01 17:45:37 +08:00
Wes Kocher
3c2dc39278 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BgPWEtPV0sy
2017-07-31 17:49:47 -07:00
James Willcox
25dad4abf2 Bug 1381916 - Remove frontend support for plugins in Fennec r=nechen
MozReview-Commit-ID: Gkqe8Y5AMPV
2017-07-31 12:25:16 -05:00
Sebastian Hengst
3f83028c87 Backed out changeset 7cd7e31b61ec (bug 1369604) 2017-07-29 18:35:30 +02:00
Michael Comella
5310c65e39 Bug 1369604: Replace Metadata JSON parsing with faster regex matching. r=liuche
I replaced JSON parsing for all highlight candidates (at most, 500) with a
faster estimation using regex: we only use the full JSON parsing to get the
perfect values for the items to be shown (~5).

One caveat of this change: JSON parsing will be moved to the main thread when
the getMetadataSlow is lazily-loaded.

Disclaimer: my device seems to be running faster than yesterday so profiling
may not be consistent but here are the profiling results:
- HighlightsRanking.extractFeatures: 78.1% -> 54.5%
- Highlight.<init>: 26.5% -> 14.5%
- JSONObject.<init>: 11.4% -> rm'd
- initFast*: (replaced JSONObject.<init> & friends) -> 4.2%

With ^ the disclaimer in mind, runtime decreased from 12.6s to 5.3s (this is
slower due to profiling).

MozReview-Commit-ID: CTqAyDDmaJQ

--HG--
extra : rebase_source : 1318c460b55159e38a5dd41d53ebcee00e67029c
2017-07-28 13:45:41 -07:00
Wes Kocher
4383c4b9db Backed out 6 changesets (bug 1369604) for android bustage in activitystream/Utils.java a=backout CLOSED TREE
Backed out changeset 07ae1124989b (bug 1369604)
Backed out changeset 10a40b857266 (bug 1369604)
Backed out changeset e49ad83bc31b (bug 1369604)
Backed out changeset b33806ccdd9f (bug 1369604)
Backed out changeset e226cd5d64b2 (bug 1369604)
Backed out changeset 9e2a5ef546dd (bug 1369604)

MozReview-Commit-ID: 2IwX8r9b56D
2017-07-28 19:31:38 -07:00
Michael Comella
1c5e09f003 Bug 1369604: Replace Metadata JSON parsing with faster regex matching. r=liuche
I replaced JSON parsing for all highlight candidates (at most, 500) with a
faster estimation using regex: we only use the full JSON parsing to get the
perfect values for the items to be shown (~5).

One caveat of this change: JSON parsing will be moved to the main thread when
the getMetadataSlow is lazily-loaded.

Disclaimer: my device seems to be running faster than yesterday so profiling
may not be consistent but here are the profiling results:
- HighlightsRanking.extractFeatures: 78.1% -> 54.5%
- Highlight.<init>: 26.5% -> 14.5%
- JSONObject.<init>: 11.4% -> rm'd
- initFast*: (replaced JSONObject.<init> & friends) -> 4.2%

With ^ the disclaimer in mind, runtime decreased from 12.6s to 5.3s (this is
slower due to profiling).

MozReview-Commit-ID: CTqAyDDmaJQ

--HG--
extra : rebase_source : 8cc0ca6ba8cecbf00abdc5de9477a5760d89df0b
2017-07-28 13:45:41 -07:00
Michael Comella
8bd45aaf55 Bug 1369604: Replace Metadata JSON parsing with faster regex matching. r=liuche
I replaced JSON parsing for all highlight candidates (at most, 500) with a
faster estimation using regex: we only use the full JSON parsing to get the
perfect values for the items to be shown (~5).

One caveat of this change: JSON parsing will be moved to the main thread when
the getMetadataSlow is lazily-loaded.

Disclaimer: my device seems to be running faster than yesterday so profiling
may not be consistent but here are the profiling results:
- HighlightsRanking.extractFeatures: 78.1% -> 54.5%
- Highlight.<init>: 26.5% -> 14.5%
- JSONObject.<init>: 11.4% -> rm'd
- initFast*: (replaced JSONObject.<init> & friends) -> 4.2%

With ^ the disclaimer in mind, runtime decreased from 12.6s to 5.3s (this is
slower due to profiling).

MozReview-Commit-ID: CTqAyDDmaJQ

--HG--
extra : rebase_source : 326b04e32eae97adfd5d48d9a53fae507bf0e40a
2017-07-28 13:45:41 -07:00
Nick Alexander
7c0822f53f Bug 1255227 - Part 1: Stop using deprecated android-sdk-manager Gradle plugin. r=sebastian
This was only ever used to automatically fetch Android SDK
dependencies in the android-gradle-dependencies job in Task Cluster.
That function is now provided by newer Android-Gradle build plugins.

MozReview-Commit-ID: Adrxm2rAPlZ

--HG--
extra : rebase_source : 6cccb53e2ebc2642ee6c61ef13fcb6d8321b67cf
2017-07-18 09:46:09 -07:00
Sebastian Kaspari
08f1331fa8 Bug 1379021 - Update top sites layout to match updated UI mocks. r=mcomella
MozReview-Commit-ID: JA2xMC2IONJ

--HG--
extra : rebase_source : d66a0b310437e2b332fa9ac1ab587ce0cfc68d60
2017-07-19 14:27:38 +02:00
Sebastian Kaspari
133fa4e3e3 Bug 1379021 - Remove pager indicator from top sites. r=mcomella
MozReview-Commit-ID: 1mOmVwgplGF

--HG--
extra : rebase_source : b4ab9e5481ce252342af3d9f88ec5a468b142d1d
2017-07-13 16:23:54 +02:00
Sebastian Kaspari
3f0db7151c Bug 1379021 - Remove divider from highlights title layout. r=mcomella
MozReview-Commit-ID: Kvp4SqpGtMj

--HG--
extra : rebase_source : 4fcb7c07d7a805a30eb12892c4d9360466b8f723
2017-07-13 13:27:32 +02:00
Sebastian Kaspari
29b5a06b69 Bug 1379021 - Remove card wrapper from highlight items. r=mcomella
MozReview-Commit-ID: 3CYSz6aTxqm

--HG--
extra : rebase_source : 3fb8d58489f3206082f5562738e4d70a77537283
2017-07-13 13:23:49 +02:00
Jim Chen
d7051087d1 Bug 1382862 - Remove GeckoViewFragment; r=droeh
GeckoViewFragment was more of a hack for GeckoApp-based custom tabs, and
if we want to provide a fragment implementation for GeckoView, I think
it'll look a lot different than today's GeckoViewFragment. So for now, I
think it's best to revert the changes that added GeckoViewFragment, and
that also simplifies GeckoView lifecycle management.

MozReview-Commit-ID: 5WzIZ8TyBDV
2017-07-25 17:27:03 -04:00
Kaku Kuo
93e37baf6b Bug 1383610 - turn off preference on desktop version release channel but keep the Fennec on; r=bwu
MozReview-Commit-ID: 38RLaR3Vxeh

--HG--
extra : rebase_source : 293084229ec1546222dadf6737b67330075c369b
2017-07-24 13:29:04 +08:00
Nevin Chen
b3d37628ea Bug 1380698 - Use SVG for splash screen logo for all channels. r=maliu
MozReview-Commit-ID: 8e7LPmaEaP5

--HG--
extra : rebase_source : a754d1fb7fec39f545b0e86d651dd277f4ad2c87
2017-07-19 19:12:50 +08:00
Chenxia Liu
0f77ff8ffd Bug 1337407 - Add rtl divider resource. r=mcomella
MozReview-Commit-ID: 8ALzaHfRX4h

--HG--
rename : mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml => mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml
extra : rebase_source : 43d4e6b84cf432cff8a484fc18a0018c1980a814
2017-07-20 19:51:18 -07:00
jwu
7ba089a64e Bug 1380983 - Show title as "Edit Folder" when editing a bookmark folder. r=Grisha
MozReview-Commit-ID: 7l20XXj2jHP

--HG--
extra : rebase_source : 3092fdf757067f7e4aea9ec8a66e3c2fbfc049de
extra : source : e158cde0743caf406f631aaf2219f9915b075f7c
2017-07-24 09:06:51 +08:00
Nevin Chen
c5e4d5f3c3 Bug 1366680 - Refresh Tab Tray UI. r=jwu,walkingice
For photon we need to add some colors.
I don't want change current color and dimen too much. I want to add new resources if possible to avoid confliction.
For Tab Items, there are three layout
1. AutoFitTabsGridLayout. Used in tablet-land/port  and phone-land
2. CompactTabsGridLayout. Used in phone-port(with pref on)
3. TabsListLayout. Used in phone-port(default)

In 1.2, we only constrain the gap of the Tab item padding and the layout padding.
In 3, we restrain the thumbnail width to 137dp .

I also make the tab strip longer for tablet. And I change the color of tab item border and set the thumbnail ratio to 4:3.

We might need to remove unused resources and test different density(2.6 and 3 are all xxhdpi!) and sw240,sw360,sw400 combination.

MozReview-Commit-ID: Gp25nG8NkR5

--HG--
extra : rebase_source : d33751ed37f5bc3aae46bcbc95f4906fcbb833f8
2017-07-13 18:02:54 +08:00
Dylan Roeh
0740754325 Bug 1377583 - Expose security information in custom tabs. r=snorp
This adds a class, CustomTabsSecurityPopup, which allows us to display information from the security certificate on secure sites.
2017-08-10 09:10:57 -05:00
Jing-wei Wu
818123b627 Bug 1390420 - Implement new empty screen in private tabs panel. r=nechen,walkingice
The new design removes the raccoon icon.

MozReview-Commit-ID: AUv3xWA8Ic3

--HG--
extra : rebase_source : 2c6833363000aa040464b5553d42e430ba70e700
2017-08-15 14:15:27 +08:00
Jing-wei Wu
500159a613 Bug 1388556 - Use different background drawables for ListView:listSelector and MenuItemActionBar:background. r=nechen,walkingice
action_bar_button.xml is both used in ListView:listSelector and MenuItemActionBar:background.

Because in Photon the background of menu item is changed to round rectangle with insecTop/insecBottom,
the change in action_bar_button causes ListView:listSelector has extra space.

The solution is using 2 different drwables for ListView:listSelector and MenuItemActionBar:background separately.

MozReview-Commit-ID: 9e7hZ8kUswY

--HG--
rename : mobile/android/app/src/photon/res/drawable/action_bar_button.xml => mobile/android/app/src/photon/res/drawable/menu_item_button.xml
extra : rebase_source : 88acbfe842317a7235f08c3b665bf0647bfb956c
2017-08-09 17:27:17 +08:00
Andrew Swan
a81fd94e72 Bug 1379833 Part 2: Display permissions dialog during extension install on Android
MozReview-Commit-ID: 721i0B0lC4n

--HG--
extra : rebase_source : 4fd65f05308b9fc085f7ca3bb88fc9195ec290a3
extra : intermediate-source : facd660f3c054d2d082bed635df5af312ec9773f
extra : source : 95aaed050f22ef61d3bedbb5b47d043d10624eeb
2017-08-15 08:35:11 -07:00
Ryan VanderMeulen
d229288071 Merge m-c to autoland. a=merge
CLOSED TREE

--HG--
extra : amend_source : 2ab51304cc7df444f22c3aac001a1aba61faee3a
2017-07-21 09:42:41 -04:00
Sebastian Hengst
cc77ff3d3e Backed out changeset 5350f45b9724 (bug 1366671) on request from flod. r=backout a=backout
MozReview-Commit-ID: 7PXCgF8Vcer

--HG--
rename : mobile/android/app/src/australis/res/drawable-hdpi/tip_addsearch.png => mobile/android/app/src/main/res/drawable-hdpi/tip_addsearch.png
rename : mobile/android/app/src/australis/res/drawable-xhdpi/tip_addsearch.png => mobile/android/app/src/main/res/drawable-xhdpi/tip_addsearch.png
rename : mobile/android/app/src/australis/res/layout/preference_search_tip.xml => mobile/android/app/src/main/res/layout/preference_search_tip.xml
rename : mobile/android/app/src/australis/res/layout/private_tabs_panel.xml => mobile/android/app/src/main/res/layout/private_tabs_panel.xml
2017-07-21 12:58:05 +02:00
Sebastian Hengst
4e2a73faa5 Backed out changeset 2edde0aaa0f6 (bug 1366671)
MozReview-Commit-ID: 4KukvTjyPya
2017-07-21 12:57:37 +02:00
jwu
bd2aad8d07 Bug 1366671 - Part 2: Support empty screen in private tabs panel. r=walkingice
MozReview-Commit-ID: 6I7y68DO9g2

--HG--
extra : rebase_source : 1589ee946186da1383f7621a3930bdc1d0b24982
extra : source : 2f97e0c082939dcf3b9128a418e8fa4c83dbd40f
2017-07-19 18:25:00 +08:00
jwu
2ee7d7fee6 Bug 1366671 - Part 1: Duplicate empty screen resoueces for Photon. r=walkingice
MozReview-Commit-ID: DB4zjDLyXBX

--HG--
rename : mobile/android/app/src/main/res/drawable-hdpi/tip_addsearch.png => mobile/android/app/src/australis/res/drawable-hdpi/tip_addsearch.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/tip_addsearch.png => mobile/android/app/src/australis/res/drawable-xhdpi/tip_addsearch.png
rename : mobile/android/app/src/main/res/layout/preference_search_tip.xml => mobile/android/app/src/australis/res/layout/preference_search_tip.xml
rename : mobile/android/app/src/main/res/layout/private_tabs_panel.xml => mobile/android/app/src/australis/res/layout/private_tabs_panel.xml
extra : rebase_source : 5bf062f0ae01691f60257c9dc40ba9f2cc5d3c1a
extra : source : b46039adc5d181fd8f388aa2b895a4bfac082f6b
2017-07-18 18:22:05 +08:00
jwu
c5a5528ad8 Bug 1379503 - Configure magnifying glass(ImageButton) with transparent background. r=walkingice
The implementation of magnifying glass is changed from ImageView to ImageButton which causes to this gray background.
To keep it have same visual, we have to configure it with transparent background.

MozReview-Commit-ID: 33zYpylOzsC

--HG--
extra : rebase_source : a3d8ff4d00243e1c12465b8f67ccba337d62f34c
2017-07-19 17:59:26 +08:00
jwu
8f9f353935 Bug 1366678 - Highlight substrings in search suggestion/history if they match search term. r=walkingice
MozReview-Commit-ID: KwpgBaaSYn1

--HG--
extra : rebase_source : ea2b7d8fdee03d55e0c9227195eca593646ad263
extra : source : b58519fe1aed283dc44812a8c1568af062808f95
2017-07-19 15:08:48 +08:00
jwu
4269d242d1 Bug 1381501 - Remove redundant logo icons in australis resource folders. r=nechen,walkingice
We already have logo icons in different branding folders, the following 4 icons are redundant and
should be removed to prevent increasing APK size.

  - australis/res/drawable-hdpi/firefox_logo.png
  - australis/res/drawable-xhdpi/firefox_logo.png
  - australis/res/drawable-xxhdpi/firefox_logo.png
  - australis/res/drawable-xxxhdpi/firefox_logo.png

MozReview-Commit-ID: COWXJsYrAVE

--HG--
extra : rebase_source : 792c3406a906985fca142674a63498b8a5ea44fd
2017-07-19 09:29:52 +08:00
Jim Chen
963412d5e3 Bug 1381924 - Include WebRTC bits for GeckoView; r=nalexander
Include necessary WebRTC files and permissions for GeckoView. For
permissions, we need to add the RECORD_AUDIO permission to GeckoView's
AndroidManifest.xml, but since the file is not preprocessed, we can't
use an `#ifdef MOZ_WEBRTC` block, so I think we'll just have to
unconditionally include the permission.

MozReview-Commit-ID: IUd8FFMsW99

--HG--
extra : rebase_source : b75462d53e6bd05b324e8551c888853c8678ec6b
2017-07-20 18:24:12 -04:00
Nevin Chen
7502835042 Bug 1378175 - Remove non-sacled logo. r=maliu
MozReview-Commit-ID: 98h8T3xY72A

--HG--
extra : rebase_source : 9aa702879007287f61e0ff554275cac120918c2b
2017-07-17 18:04:17 +08:00
Wes Kocher
e9fa5c772a Merge inbound to central, a=merge
MozReview-Commit-ID: 8nlqm5dHCUQ
2017-07-14 17:14:43 -07:00
Dylan Roeh
5bad4263c8 Bug 1377579 - Add progress bar to GeckoView-based custom tabs. r=snorp 2017-07-12 11:23:06 -05:00
jwu
c2f2b84cee Bug 1366669 - Part 3: Check correct resource folder according to current skin. r=nalexander,walkingice
Check images in photon/res or australis/res based on whether `--enable-photon` is set or not in mozconfig.
Thus in build script, suggested sites images can be checked correctly between different skins.

MozReview-Commit-ID: 5U13Rp3nOAH

--HG--
rename : mobile/android/app/src/main/res/drawable-hdpi/suggestedsites_amazon.png => mobile/android/app/src/australis/res/drawable-hdpi/suggestedsites_amazon.png
rename : mobile/android/app/src/main/res/drawable-hdpi/suggestedsites_facebook.png => mobile/android/app/src/australis/res/drawable-hdpi/suggestedsites_facebook.png
rename : mobile/android/app/src/main/res/drawable-hdpi/suggestedsites_wikipedia.png => mobile/android/app/src/australis/res/drawable-hdpi/suggestedsites_wikipedia.png
rename : mobile/android/app/src/main/res/drawable-hdpi/suggestedsites_youtube.png => mobile/android/app/src/australis/res/drawable-hdpi/suggestedsites_youtube.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/suggestedsites_amazon.png => mobile/android/app/src/australis/res/drawable-xhdpi/suggestedsites_amazon.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/suggestedsites_facebook.png => mobile/android/app/src/australis/res/drawable-xhdpi/suggestedsites_facebook.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/suggestedsites_restricted_fxsupport.png => mobile/android/app/src/australis/res/drawable-xhdpi/suggestedsites_restricted_fxsupport.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/suggestedsites_restricted_mozilla.png => mobile/android/app/src/australis/res/drawable-xhdpi/suggestedsites_restricted_mozilla.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/suggestedsites_webmaker.png => mobile/android/app/src/australis/res/drawable-xhdpi/suggestedsites_webmaker.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/suggestedsites_wikipedia.png => mobile/android/app/src/australis/res/drawable-xhdpi/suggestedsites_wikipedia.png
rename : mobile/android/app/src/main/res/drawable-xhdpi/suggestedsites_youtube.png => mobile/android/app/src/australis/res/drawable-xhdpi/suggestedsites_youtube.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/suggestedsites_amazon.png => mobile/android/app/src/australis/res/drawable-xxhdpi/suggestedsites_amazon.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/suggestedsites_facebook.png => mobile/android/app/src/australis/res/drawable-xxhdpi/suggestedsites_facebook.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/suggestedsites_wikipedia.png => mobile/android/app/src/australis/res/drawable-xxhdpi/suggestedsites_wikipedia.png
rename : mobile/android/app/src/main/res/drawable-xxhdpi/suggestedsites_youtube.png => mobile/android/app/src/australis/res/drawable-xxhdpi/suggestedsites_youtube.png
extra : rebase_source : 76503b57daa52187b9d37dfb98addd64ad5eb3f0
2017-07-14 09:41:09 +08:00