Commit Graph

864 Commits

Author SHA1 Message Date
Sebastian Kaspari
a78da1eb1e Bug 1202052 - Bypass cache on reload button long press. r=margaret 2015-09-24 15:27:56 +02:00
Mark Finkle
696c6c54af Bug 1208240 - Move the Adjust initialization to BrowserApp and observe FHR opt-out r=nalexander 2015-09-26 15:12:22 -04:00
Margaret Leibovic
3a80d97370 Bug 1204995 - Add telemetry histogram probe to know what % of people have "open external links in private tabs" enabled. r=mcomella r=bsmedberg 2015-09-16 09:51:42 -04:00
Prabhjyot Sodhi
a046c3444b Bug 1167382 - Reset scroll state of SearchEngineBar in BrowserSearch Fragment before it is shown everytime. r=mcomella 2015-09-05 05:06:00 +02:00
Chenxia Liu
e0ba9509c9 Bug 1199859 - Use local switchboard. r=mfinkle 2015-09-16 09:43:38 -07:00
Chenxia Liu
ce0e7eae4a Bug 1199859 - Add "Next" sliding. r=mfinkle 2015-09-09 17:24:18 -07:00
Chenxia Liu
4b0a9975f3 Bug 1199859 - Add two A/B testing options for Firstrun. r=mfinkle 2015-09-16 17:16:56 -07:00
Prabhjyot Singh Sodhi
b515625206 bug 1186683 - *show* and *hide* BrowserSearch Fragment instead of creating each time to save memory. r=mcomella 2015-09-05 01:16:00 +02:00
Nick Alexander
f69b667c6d Bug 1204937 - Part 2: Extract Accounts: messages to AccountsHelper. r=sebastian
There are enough Accounts: messages to separate them from BrowserApp,
and the list is only growing.

This has also the small advantage of removing some non-native event
listeners.
2015-08-20 10:03:20 -07:00
Nick Alexander
ce2c5f82b5 Bug 1204937 - Part 1: Redirect native account UI launches through action intent filters. r=sebastian
This patch stops referring to package/class objects to identify
Android components directly and instead launches through action intent
filters.  The intent filters are scoped to the package, but not marked
as private or as requiring a permission.  A malicious package could
inject itself into an account flow, but I don't think there's much
advantage: the only time a secret is passed between activities is when
the native sign up (CreateAccount) and sign in (SignIn) activities
link between themselves, and in this instance I didn't route through
the action intent filters.  (This is entirely native -- there's no web
analog -- so I didn't use the indirection.)
2015-09-15 14:18:46 -04:00
Martyn Haigh
22349a42c7 Bug 1195721 - Set a home page; r=mfinkle 2015-09-14 14:21:14 +01:00
Martyn Haigh
13304800a5 Bug 1203036 - Put tab tray improvements behind nightly flag; r=mcomella
This patch reintroduced changes behind a nightly flag removed by:

    1161638: Remove the chrome at the bottom of the screen in the Tabs Tray
    1164723: Inherit from Tablet UI on Mobile UI (aka compact tabs)
    1193745: Implement the tablet tabs tray grid view on mobile

I've also done a bit of work to allow the chrome to sit at the correct Y location in landscape on mobile devices when the tabs panel is shown to account for bug 1193374 which adjusts the aspect ratio of the tabs panel thumnbnails and didn't need to be hidden behind a nightly flag. Tablets remain unaffected by this change.
2015-09-10 10:51:54 +01:00
Martyn Haigh
b70f57dc96 Bug 1193745 - Implement the tablet tabs tray grid view on mobile r=mcomella 2015-09-01 13:57:44 +01:00
Mark Finkle
e3ddd7eb79 Bug 1078432 - Use Android print service to enable cloud printing r=sebastian 2015-08-31 17:54:23 -04:00
Kartikaya Gupta
f01f76c98f Bug 1197811 - Turn the LayerView into a ScrollView that scrolls to shift the surface rather than using setTranslation. r=rbarker
On Gingerbread devices (Android API 9 or 10) the ViewHelper.setTranslationY code
doesn't work to move the SurfaceView. In order to acheive that effect I turned
LayerView into a ScrollView with a dummy element at the top, and allow it to
scroll. This allows the SurfaceView to move as desired. A few places in the code
were assuming that the LayerView and SurfaceView were always at the same screen
location (which was true before but not any more) and so those sites needed
some updating as well.
2015-08-28 17:22:17 -04:00
Kartikaya Gupta
1cab41b6dd Bug 1197811 - Extract a wrapper for getting/setting the translation on the LayerView. r=rbarker 2015-08-28 17:22:17 -04:00
Mark Finkle
851c2b97de Bug 1196897 - Switch to async config loading for Switchboard r=rnewman 2015-08-27 23:57:53 -04:00
Mark Finkle
fe73786ec2 Bug 1196897 - Initialize Switchboard in BrowserApp.onCreate r=liuche 2015-08-27 13:50:03 -04:00
Allison Naaktgeboren
c845a2c43a Bug 1197979 - Tools > Logins menu item is not visible.r=mfinkle 2015-08-27 15:19:50 -07:00
Michael Comella
928e69ddd1 Bug 1195517 - Remove unused ic_menu_addons_filler. r=liuche
This also removes code to set an icon from an addon, which is unused because,
afaik, addons' icons are also hidden. iirc, there was a bug open on whether we
want addons to be able to show icons (e.g. could be used to show status), but
we can reimplement this if that bug is ever decided.

I was not able to test this with an addon that sets an icon but I did test that
the application did not crash with no addons installed.
2015-08-17 15:29:52 -07:00
Michael Comella
193d43da3c Bug 1195517 - Remove unused desktop_mode menu icons. r=liuche 2015-08-17 15:11:13 -07:00
Wes Kocher
66196dc0cb Merge m-c to inbound, a=merge 2015-08-21 10:06:54 -07:00
Michael Comella
fce11f7d7a Bug 1193974 - Remove new from tablet_tab_strip id. r=mhaigh 2015-08-19 16:15:30 -07:00
Kartikaya Gupta
735b824142 Bug 1180295 - Fix layerview positioning when dynamic toolbar is turned off. r=rbarker 2015-08-18 14:27:20 -04:00
Kartikaya Gupta
fc4c53fd11 Bug 1180295 - Update the FormAssistPopup to account for the new dynamic toolbar model. r=rbarker 2015-08-18 14:27:20 -04:00
Kartikaya Gupta
f5ed3a019f Bug 1180295 - Implement seamless snapping to the stable state. r=rbarker 2015-08-18 14:27:20 -04:00
Kartikaya Gupta
67894e890b Bug 1180295 - Ensure short pages are dealt with appropriately, so that the toolbar can be made visible but not hidden. r=rbarker 2015-08-18 14:27:19 -04:00
Kartikaya Gupta
846e22771c Bug 1180295 - Update actionbar show/hide code to use the new dynamic toolbar code. r=rbarker 2015-08-18 14:27:19 -04:00
Kartikaya Gupta
91f41e7039 Bug 1180295 - Update fullscreen code to just pin the toolbar in the hidden state. r=rbarker 2015-08-18 14:27:19 -04:00
Kartikaya Gupta
ad9c5fec28 Bug 1180295 - Store the viewport width and height as integers instead of floats in ImmutableViewportMetrics. r=rbarker 2015-08-18 14:27:19 -04:00
Kartikaya Gupta
ed9de4a558 Bug 1180295 - Hook up toolbar show/hide animations to the DynamicToolbarAnimator. r=rbarker 2015-08-18 14:27:18 -04:00
Kartikaya Gupta
ac8f1f7bb7 Bug 1180295 - Start plumbing the outputs of DynamicToolbarAnimator into BrowserApp. r=rbarker 2015-08-18 14:27:18 -04:00
Kartikaya Gupta
bccb149d3f Bug 1180295 - Start plumbing inputs to the DynamicToolbarAnimator. r=rbarker 2015-08-18 14:27:18 -04:00
Kartikaya Gupta
3986c09141 Bug 1196593 - Account for some rounding error when determining if we've reached the bottom of the page. r=rbarker 2015-08-20 16:29:05 -04:00
Kartikaya Gupta
66cdf2fe9c Bug 1196594 - Complete the toolbar transition as soon as the finger is lifted rather than waiting for the pan/zoom animation to stop. r=rbarker 2015-08-20 16:29:01 -04:00
Allison Naaktgeboren
af3ed4f8ab Bug 1114821 - Remove nightly-only flag for about logins.r=liuche 2015-08-17 23:22:24 -07:00
Martyn Haigh
4e4057079f Bug 1194199 - Enable Tab Queue on Aurora; r=sebastian 2015-08-13 14:31:10 +01:00
Jim Chen
cea34e4151 Bug 1191083 - Rename and expand GeckoThread.LaunchState; r=snorp
GeckoThread.LaunchState now covers the entire GeckoThread lifetime and
not just launch, so it's renamed to GeckoThread.State. More utility
methods are added to check for the current state.
2015-08-13 00:53:38 -04:00
Mark Capella
7800d0949d Bug 1191872 - Move annotations to org.mozilla.gecko.annotation package, r=jchen 2015-08-10 19:19:51 -04:00
Sebastian Kaspari
c713c67928 Bug 1184190 - Send RESTRICTED startup action when restricted profile is used. r=mfinkle 2015-08-09 19:58:43 +02:00
Martyn Haigh
f2746361b8 Bug 1177612 - Contextual hint first time we show the tracking protection shield. r=margaret 2015-08-05 15:15:46 +01:00
Sebastian Kaspari
b863bc1c95 Bug 1191208 - Custom first-run screen for restricted profiles. r=margaret 2015-08-07 21:01:00 +02:00
Nick Alexander
efd891b196 Bug 1175457 - Only dismiss super toasts at the start of tap actions. r=rnewman 2015-08-06 12:02:20 -07:00
Sebastian Kaspari
74e678fe02 Bug 1189414 - Restricted Profiles: Clean up missing and unneeded restrictions. r=ally
* Synchronize nsIParentalControlsService.idl and Restriction.java
* Do not hide 'tools' menu but menu items of disabled features
* Hiding 'Report site issue' should not be configurable
* Restricted profiles: DISALLOW_INSTALL_APPS is a system restriction and should not be configurable
* RestrictedProfileConfiguration: Use AboutPages
2015-08-06 10:51:45 +02:00
Allison Naaktgeboren
ba370f677e Bug 1180795 - KidFox: Disable first-run screen for restricted profile.r=sebastian 2015-07-30 13:02:10 -07:00
Sebastian Kaspari
758c24da59 Bug 1125309 - Restricted profiles: Hide all Location Services features and related UI. r=margaret 2015-07-30 20:18:03 +02:00
Sebastian Kaspari
482421a910 Bug 1125283 - Restricted profiles: Disable snippets (promotional banner) support. r=margaret 2015-07-30 20:12:58 +02:00
Sebastian Kaspari
a098dd9572 Bug 1125290 - Hide private browsing support and all related UI. r=margaret 2015-07-30 19:55:18 +02:00
Sebastian Kaspari
d90df4c4c0 Bug 1187260 - Simplify RestrictedProfiles class. r=ally
This patch transforms RestrictedProfiles to delegate isAllowed() and
canLoadUrl() calls to an object implementing the RestrictionConfiguration
interface.

DefaultConfiguration, GuestProfileConfiguration and
RestrictedProfileConfiguration are implementing RestrictionConfiguration
and will take care of handling the restrictions for the different types
of profiles.
2015-07-24 19:47:31 +02:00
dominique vincent
8ca04a36c7 Bug 1184912 - Close zoomed view on tab change. r=mcomella 2015-07-28 00:20:58 +02:00