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

MozReview-Commit-ID: 2V2oF1PC5cf
2017-10-02 14:14:52 -05:00
Jing-wei Wu 053565febb Bug 1395841 - Part 2: Support creating a shortcut from page option in menu. r=nechen
When page option 'add page shortcut' is clicked, creating a shortcut(not PWA) on launcher.
Also make sure that heavy tasks are executed in background thread.

MozReview-Commit-ID: 8KtwdXENtEd
2017-09-28 10:57:48 +08:00
Randall Barker f2b4565253 Bug 1402594 - Fix regression where toolbar does not become visible when link is pressed r=jchen
MozReview-Commit-ID: B5ppPaQXo5e
2017-09-25 13:06:13 -07:00
Jim Chen 150d8f3d30 Bug 1396951 - 6. Remove setLayerView/getLayerView; r=snorp
Remove `GeckoAppShell.setLayerView()/getLayerView()` now that it's no
longer used anywhere.

MozReview-Commit-ID: 6URNFhSs01P
2017-09-22 14:35:23 -04:00
Jim Chen 6cb1d852a2 Bug 1396951 - 1. Add and use HapticFeedbackDelegate; r=snorp
Instead of using `getLayerView()` to perform haptic feedback, this patch
adds a `HapticFeedbackDelegate`, which `GeckoApplication` implements to
call `performHapticFeedback()` on the active view. Also, use
HapticFeedbackDelegate elsewhere in the Fennec codebase where we want to
perform haptic feedback.

MozReview-Commit-ID: GAArA6yJFNF
2017-09-22 14:35:22 -04:00
Sebastian Hengst 8b34bd4818 Backed out changeset 5e5ce5633017 (bug 1396951) for frequently failing robocop's testSettingsPages. r=backout a=backout
MozReview-Commit-ID: AGZMQKL3eft
2017-09-22 11:49:14 +02:00
Sebastian Hengst 6a1551d9d0 Backed out changeset 0a367a71ca43 (bug 1396951)
MozReview-Commit-ID: 3UwRalvlkEE
2017-09-22 11:48:19 +02:00
Jim Chen 46cc7479ad Bug 1396951 - 6. Remove setLayerView/getLayerView; r=snorp
Remove `GeckoAppShell.setLayerView()/getLayerView()` now that it's no
longer used anywhere.

MozReview-Commit-ID: 6URNFhSs01P
2017-09-21 17:36:07 -04:00
Jim Chen b7adf526fc Bug 1396951 - 1. Add and use HapticFeedbackDelegate; r=snorp
Instead of using `getLayerView()` to perform haptic feedback, this patch
adds a `HapticFeedbackDelegate`, which `GeckoApplication` implements to
call `performHapticFeedback()` on the active view. Also, use
HapticFeedbackDelegate elsewhere in the Fennec codebase where we want to
perform haptic feedback.

MozReview-Commit-ID: GAArA6yJFNF
2017-09-21 17:36:02 -04:00
Michael Comella 5aa4dae7e5 Bug 1401779: Use HC+ Actvitiy.onCreateView. r=liuche
In the docs [1], the version of onCreateView we've been using states:

This implementation does nothing and is for pre-HONEYCOMB apps. Newer apps
should use onCreateView(View, String, Context, AttributeSet).

Since we no longer support pre-HC devices, this patch moves us to the new
version.

[1]: https://developer.android.com/reference/android/app/Activity.html#onCreateView(java.lang.String,%20android.content.Context,%20android.util.AttributeSet)

MozReview-Commit-ID: 4ISOLHZC4XJ
2017-09-20 16:30:03 -07:00
Michael Comella abbd2cded0 Bug 1401733: Make StreamOverridablePageIconLayout caches static. r=liuche
Unfortunately, I can't reproduce so I'm unable to verify this fix works for
sure. However, I verified the behavior of the StreamOverridablePageIconLayout
remained the same after these changes.

As per my bug comments, using the new version of onCreateView may fix this
problem and is "more correct" than this fix but it's speculative and it's too
dangerous to make speculative fixes this close to the 57 merge. Instead, we do
this surefire fix and lose a little correctness.

The onCreateView fix moved to bug 1401779.

MozReview-Commit-ID: DSq9jEgz6gL
2017-09-20 16:43:25 -07:00
Michael Comella ea3e35b693 Bug 1400397: Do not try to reload failed highlight images. r=liuche
MozReview-Commit-ID: FnLcSfDrytS
2017-09-15 16:10:31 -07:00
Sebastian Hengst f3b4b34c71 merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-09-15 00:18:43 +02:00
Jim Chen 72191f0c41 Bug 1398409 - 2. Use event callback to communicate FormAssistPopup actions; r=sebastian
Use event callbacks instead of separate events to deliver
FormAssistPopup replies back to FormAssistant. This lets us better
handle having multiple FormAssistPopup instances across Fennec, custom
tabs, and PWAs.

FormAssistant._currentInputElement is removed because it does not allow
us to have multiple concurrent popups. Instead, we track the current
element through the event callback closure.
FormAssistant._currentInputValue is also removed for similar reasons,
and I don't think it was really necessary.

MozReview-Commit-ID: DdeMBGCxDou
2017-09-14 17:50:57 -04:00
Andrew Swan ac101386e8 Bug 1391579 Part 3: Add update indicator to top-level Add-ons menu entry r=jwu,sebastian
MozReview-Commit-ID: 937Zsd6yfBO
2017-09-11 10:31:51 -07:00
Jing-wei Wu 8a98e91562 Bug 1399384 - Part 2: Status bar color refinements. r=nechen
We would like to change the status bar color based on different situation:

- For mobile, the status bar color is
  #F7FAFC in normal mode,
  #38383D in private mode, and
  #272727 in tabs tray page

- For tablet, the status bar color is always #272727

MozReview-Commit-ID: Ala5ZOYJ8Ad
2017-09-13 17:17:25 +08:00
Michael Comella d6754e7e58 Bug 1398834: Add telemetry for new browser menu pin site. r=liuche
MozReview-Commit-ID: 4GYXLk5yhbt
2017-09-12 17:03:23 -07:00
Michael Comella ec8d5bfcbb Bug 1398834: Add Pin to Top Sites page menu item. r=liuche
MozReview-Commit-ID: 3YK2V7zrUDC
2017-09-12 15:31:15 -07:00
Andrew Swan 35871a1aef Bug 1379833 Part 2: Display permissions dialog during extension install on Android
MozReview-Commit-ID: 721i0B0lC4n
2017-08-15 08:35:11 -07:00
Sebastian Kaspari eda242c262 Bug 1396604 - Remove content notifications code. r=JanH,nechen
MozReview-Commit-ID: 5H45Vjnzt5Z
2017-09-04 16:51:07 +02:00
Jing-wei Wu b23de8bc34 Bug 1393072 - Only tint light color for menu icons in private mode in large tablet. r=nechen
The tint logic for menu icons on different devices is:

Normal mode:
1. Mobile & small tablet -> dark color(#272727)
2. Large tablet -> dark color(#272727)

Private mode:
1. Mobile & small tablet -> dark color(#272727)
2. Large tablet -> light color(#38383D)

MozReview-Commit-ID: 9cz53PieQHY
2017-09-05 10:27:18 +08:00
davidmurray 8ee912ec6d Bug 1391355 - add force reload support via keyboard r=JanH
MozReview-Commit-ID: 9s3paEoZueW
2017-09-02 14:20:44 -07:00
Michael Comella 7c861c4a9c Bug 1393699: Add Pocket referrer URI to AS top story clicks. r=liuche
I tested this by replacing the placeholder top story URLs with [1], clicking on
the links, and verifying clicks from top stories included the referrer but
clicks from highlights and top sites did not.

[1]: https://www.whatismybrowser.com/detect/what-http-headers-is-my-browser-sending

MozReview-Commit-ID: CcOxkvNgOHY
2017-08-30 15:33:56 -07:00
Michael Comella 5951a541e5 Bug 1393699: Rm unused BrowserApp.openUrlAndStopEditing method. r=liuche
MozReview-Commit-ID: AtrGRwtkiAT
2017-08-29 17:56:25 -07:00
Sebastian Hengst 4f8a616715 merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-08-29 20:36:12 +02:00
James Willcox 6e74f29748 Bug 1353868 - Split out web app manifest handling and fix scope handling r=esawin
MozReview-Commit-ID: 7MpeqitYRW8
2017-08-29 10:31:41 -05: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
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
Nevin Chen 7f40d4ed8d Bug 1366664t - Update color and layout. Hide splash screen if first seen. r=walkingice
MozReview-Commit-ID: EP6hQIGcdyo
2017-08-09 18:13:55 +08:00
Nevin Chen 87a27b3a0c Bug 1366664 - Remove onboarding experiments after phonton 57. r=walkingice
MozReview-Commit-ID: HbyKrw8SfGB
2017-08-07 14:46:06 +08:00
Wes Kocher 03a1984d1c Merge inbound to central, a=merge
MozReview-Commit-ID: GEfEDRZk5bo
2017-08-16 16:59:26 -07:00
Ryan VanderMeulen 205f4cafca 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 093c1eb310 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
Dylan Roeh 217763be9b Bug 1389054 - Back out patch for bug 1382637 to fix broken behavior when "Don't keep activities" is enabled. r=snorp 2017-08-16 09:38:39 -05:00
Julian_Chu e694e4ccf4 Bug 1366672 - Part3: use AnimatedProgressBar to replace ProgressView r=jwu,sebastian
MozReview-Commit-ID: KTr4ce5UvIq
2017-08-05 13:59:35 +08:00
Nevin Chen b3358011cc Bug 1366664 - Update color and layout. Hide splash screen if first seen. r=walkingice
MozReview-Commit-ID: EP6hQIGcdyo
2017-08-09 18:13:55 +08:00
Nevin Chen c182336bfb Bug 1366664 - Remove onboarding experiments after phonton 57. r=walkingice
MozReview-Commit-ID: HbyKrw8SfGB
2017-08-07 14:46:06 +08:00
Dylan Roeh 7145233ba8 Bug 1382637 - Zombify all tabs in BrowserApp.onDestroy() to stop video/audio recording when Fennec is swipe-to-killed. r=snorp 2017-08-07 12:14:35 -05:00
Luca Greco 45e4348a78 Bug 1387026 - Fix Android browserAction corrupting legacy Addon menu items on overlapping menu item id. r=sebastian
MozReview-Commit-ID: FWkJdAWu5Td
2017-08-02 21:29:18 +02:00
Jing-wei Wu 23132f424a Bug 1376995 - Update status bar color while switching between normal mode and private mode. r=walkingice
MozReview-Commit-ID: 4t0QKTktpSN
2017-08-04 17:21:11 +08:00
Jing-wei Wu 8ead9e3544 Bug 1366668 - Part 4: Apply tint color for bookmark icon on toolbar. r=nechen,walkingice
MozReview-Commit-ID: 6gQp8yX5iSE
2017-08-01 17:02:48 +08:00
Nevin Chen 6cf395ca95 Bug 1384480 - Move MMA event to UI code. r=sebastian
MozReview-Commit-ID: FzrLqWVFWO0
2017-07-26 17:49:58 +08:00
Luca Greco 687d8e6bb0 Bug 1375857 - Fix browserAction Android menu items corrupting addon menu items cache. r=sebastian
MozReview-Commit-ID: C3uVEY6mnJM
2017-07-27 20:27:36 +02:00
maliu c72bb6f3d9 Bug 1316462 - Increase minsdk to 16 and remove EOL notification. r=sebastian, r=snorp, r=rnewman
MozReview-Commit-ID: 7o1xqIqVWC6
2017-07-27 08:27:08 -04:00
Wes Kocher 8b4ccdffcf Merge m-c to autoland, a=merge
MozReview-Commit-ID: F1X8wKqbkg
2017-07-25 19:16:09 -07:00
cnevinc bb19e0422d Bug 1383762 - Change the event timing for adding a new normal tab. r=maliu
MozReview-Commit-ID: Lyf7yeTFpzq
2017-07-26 00:30:22 +08:00
Eugen Sawin d90ff0329c Bug 1381983 - [3.0] Add context menu support for media elements. r=snorp 2017-07-25 14:41:49 +02:00
Eugen Sawin ea4b3798dc Bug 1381983 - [2.1] Add default/stub implementations of the context menu handlers. r=snorp 2017-07-25 14:41:49 +02:00
maliu 10a5307893 Bug 1382081 - Notify ICS user EOL, r=sebastian
MozReview-Commit-ID: 36clTSg6qKY
2017-07-18 19:00:00 +02:00
Nevin Chen e390aa9b2a Bug 1378688 - Scale the image to save APK size, respect channel, and hide splash screen when the user interact with url bar. r=maliu
MozReview-Commit-ID: 6VEEbVKY5oA
2017-07-12 16:52:24 +08:00