Commit Graph

189 Commits

Author SHA1 Message Date
Kartikaya Gupta
9dd74b5ee4 Bug 852163 - Unregister pref observer on activity destroy so that it doesn't leak the activity. r=Cwiiis 2013-03-18 17:41:36 +01:00
Chris Lord
2a4e661b53 Bug 850889 - Fix jank when animating dynamic toolbar. r=kats
Only update the Gecko-side fixed layer margins when the view is fully visible
or hidden to avoid jank.
2013-03-18 15:43:03 +00:00
Chris Lord
15c14b3e12 Bug 850789 - Pin the dynamic toolbar on screen when the tabs tray is open. r=kats 2013-03-17 01:53:41 +00:00
Chris Lord
2ea639cdcb Bug 850724 - Don't hide toolbar on load, or pin while loading. r=kats
UX decisions have been made to not hide the toolbar after the page has finished
loading, and not to pin the toolbar during page loading. These decisions fix
this bug.
2013-03-17 01:53:40 +00:00
Kartikaya Gupta
0c17a97577 Bug 802130 - Move GeckoAppShell.getHandler() to ThreadUtils.getBackgroundHandler(). r=mfinkle 2013-03-15 11:52:53 +01:00
Kartikaya Gupta
1424e8b030 Bug 802130 - Move mMainHandler into ThreadUtils. r=mfinkle 2013-03-15 11:52:53 +01:00
Kartikaya Gupta
66b7b3210b Bug 849955 - Put the quit menu item back for non-touchscreen devices on ICS and up. r=sriram 2013-03-13 11:41:56 +00:00
Chris Lord
c1584efd49 Bug 849845 - Map Gamepad L1/R1 to back/forward on Android. r=kats 2013-03-13 02:58:41 +00:00
Chris Lord
a9a1bc27f5 Bug 846772 - Observe dynamic toolbar pref on Android. r=kats
Respond to this pref changing instantly instead of requiring a restart.
2013-03-12 18:32:26 +00:00
Chris Lord
b035b5234a Bug 849958 - Add primitive axis-locking code to dynamic toolbar. r=kats
Add some axis-locking code that adds a scroll threshold to toolbar appearance,
and stops the toolbar from appearing when scrolling down then up when the
toolbar isn't visible, or when scrolling side to side.
2013-03-12 17:58:13 +00:00
Ryan VanderMeulen
ee09504083 Backed out 5 changesets (bug 846772) for Android reftest-3 orange on a CLOSED TREE. 2013-03-12 17:37:16 -04:00
Ryan VanderMeulen
fe3bb9e3a9 Backed out changeset 71d1bd406c7e (bug 849845) and changeset af753b784e28 (bug 849958) to see if it fixes robocop timeouts on a CLOSED TREE. 2013-03-12 17:34:29 -04:00
Chris Lord
34f36a04cf Bug 846772 - Observe dynamic toolbar pref on Android. r=kats
Respond to this pref changing instantly instead of requiring a restart.
2013-03-12 18:32:26 +00:00
Chris Lord
cee569cde8 Bug 849845 - Map Gamepad L1/R1 to back/forward on Android. r=kats 2013-03-12 17:58:23 +00:00
Chris Lord
d9c4c6a244 Bug 849958 - Add primitive axis-locking code to dynamic toolbar. r=kats
Add some axis-locking code that adds a scroll threshold to toolbar appearance,
and stops the toolbar from appearing when scrolling down then up when the
toolbar isn't visible, or when scrolling side to side.
2013-03-12 17:58:13 +00:00
Chris Lord
cc56255a8c Bug 849246 - Follow the scroll velocity for the dynamic toolbar. r=kats
In the rare situation that you cause a fast fling with a very short motion,
it's possible that the toolbar won't hide/show as you expect. Fix this by
saying that any swipe that's faster than the default animation speed
dictates the direction in which the toolbar moves.
2013-03-12 17:38:24 +00:00
Chris Lord
5db4185dde Bug 849845 - Map Gamepad-Y to toggle chrome on Firefox/Android. r=kats 2013-03-12 13:22:01 +00:00
Kartikaya Gupta
9e6ad2a79e Back out ecc5ce4b7632 (bug 849955) for missing Android API level checks. r=me DONTBUILD 2013-03-12 10:15:46 +00:00
Kartikaya Gupta
da8d23cf8b Bug 849955 - Put the quit menu item back for non-touchscreen devices on ICS and up. r=sriram 2013-03-12 10:09:09 +00:00
Brian Nicholson
e24f1978b9 Bug 835022 - Switch to correct tab when a tab is closed. r=mfinkle 2013-03-11 16:09:14 -07:00
Chris Lord
c2e09db365 Bug 849254 - Fix NullPointerException in BrowserApp.setToolbarHeight. r=kats 2013-03-11 16:04:55 +00:00
Kartikaya Gupta
439ebebadc Bug 849281 - Use the NdefMessage constructor that is in API 9 instead of the one that is 16+. r=mfinkle 2013-03-09 22:52:43 +00:00
Wes Johnston
3a37d846ee Bug 838440 - Refresh about:home twhen the activity is resumed. r=lucasr 2013-03-08 13:01:51 -08:00
Kartikaya Gupta
9df9fdeadc Bug 848901 - NFC transmission APIs on android only exist on API 14 and up. r=sriram 2013-03-08 00:15:54 +00:00
Chris Lord
25a04ac367 Bug 716403 - Hide dynamic toolbar hiding behind a pref. r=kats
Disable dynamic toolbar hiding on Android by default, with pref
browser.chrome.dynamictoolbar available to enable it.
2013-03-07 10:17:34 +00:00
Chris Lord
05ac180452 Bug 716403 - Make the top of the page accessible with the toolbar visible. r=kats
This makes it possible to scroll to the top of the page with the toolbar visible
in Firefox for Android. It also causes JavaScript scrolling to position 0 to
expose the toolbar.
2013-03-07 10:17:33 +00:00
Chris Lord
a20f8323fe Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-07 10:17:33 +00:00
Wes Johnston
13e101bb22 Bug 716403 - Dynamically hide the location bar when scrolling. r=kats
Intercept touch events and use them to pan the location bar on and off the
screen, depending on its current location. Also dynamically show/hide the
location bar when loading pages.
2013-03-07 10:17:32 +00:00
Ryan VanderMeulen
8cf664a621 Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE. 2013-03-06 16:11:05 -05:00
Chris Lord
ef9893ac25 Bug 716403 - Hide dynamic toolbar hiding behind a pref. r=kats
Disable dynamic toolbar hiding on Android by default, with pref
browser.chrome.dynamictoolbar available to enable it.
2013-03-06 16:56:00 +00:00
Chris Lord
d60728c861 Bug 716403 - Make the top of the page accessible with the toolbar visible. r=kats
This makes it possible to scroll to the top of the page with the toolbar visible
in Firefox for Android. It also causes JavaScript scrolling to position 0 to
expose the toolbar.
2013-03-06 16:55:59 +00:00
Chris Lord
695bae5cc3 Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-06 16:55:59 +00:00
Wes Johnston
48d7d182cd Bug 716403 - Dynamically hide the location bar when scrolling. r=kats
Intercept touch events and use them to pan the location bar on and off the
screen, depending on its current location. Also dynamically show/hide the
location bar when loading pages.
2013-03-06 16:55:59 +00:00
Kartikaya Gupta
48d938d094 Bug 726335 - Add support for sharing the current tab's URL over Android Beam. r=mfinkle 2013-03-05 13:06:09 +00:00
Kartikaya Gupta
281ff270bc Bug 726335 - Add support for receiving URLs via Android Beam. r=mfinkle 2013-03-05 13:05:52 +00:00
Ryan VanderMeulen
75acd49b0e Backed out 8 changesets (bug 716403) for frequent Android mochitest-8 failures on a CLOSED TREE. 2013-03-01 16:09:59 -05:00
Chris Lord
4f03c350fb Bug 716403 - Hide dynamic toolbar hiding behind a pref. r=kats
Disable dynamic toolbar hiding on Android by default, with pref
browser.chrome.dynamictoolbar available to enable it.
2013-03-01 15:46:35 +00:00
Chris Lord
1461d5cf81 Bug 716403 - Make the top of the page accessible with the toolbar visible. r=kats
This makes it possible to scroll to the top of the page with the toolbar visible
in Firefox for Android. It also causes JavaScript scrolling to position 0 to
expose the toolbar.
2013-03-01 15:46:34 +00:00
Chris Lord
077631a00a Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-01 15:46:33 +00:00
Wes Johnston
f8fe6e5a6c Bug 716403 - Dynamically hide the location bar when scrolling. r=kats
Intercept touch events and use them to pan the location bar on and off the
screen, depending on its current location. Also dynamically show/hide the
location bar when loading pages.
2013-03-01 15:46:33 +00:00
Margaret Leibovic
60ecbc5a2d Bug 839602 - Immediately update browser toolbar after awesomescreen closes. r=bnicholson 2013-02-11 16:51:02 -08:00
Brian Nicholson
09bb93a1e8 Bug 845612 - Add @Override annotations for implemented interfaces. r=kats 2013-02-26 21:48:00 -08:00
Brian Nicholson
ecbec88fd7 Bug 845612 - Add missing @Override annotations. r=kats 2013-02-26 21:48:00 -08:00
Margaret Leibovic
a90a3ba663 Bug 845051 - (Part 2) Handle tab events directly in BrowserToolbar, instead of going through BrowserApp. r=mfinkle 2013-02-26 14:38:38 -08:00
Margaret Leibovic
a1bc54b729 Bug 845051 - (Part 1) Don't post Runnables to the main thread from onTabChanged, since it's always called on the main thread. r=mfinkle 2013-02-26 14:38:10 -08:00
Brian Nicholson
93d01ba33b Bug 844590 - Use Looper.getMainLooper() for UiAsyncTask. r=kats
--HG--
extra : rebase_source : 4e5c919cd98b30faee9d0c1e3b429e27fe7d1ea2
2013-02-25 15:15:49 -08:00
Margaret Leibovic
87d6ac0b5a Bug 842883 - (Part 3) Move Content:* events from GeckoApp to Tabs. r=bnicholson 2013-02-24 20:51:05 -08:00
Margaret Leibovic
505dc94fb3 Bug 842883 - (Part 2) Move the Reader:* event handlers out of Tabs that don't need to be there. r=bnicholson 2013-02-24 20:51:04 -08:00
Margaret Leibovic
d82959f60f Bug 842883 - (Part 1) Start moving some tab-specific event listeners to Tabs. r=bnicholson 2013-02-24 20:51:04 -08:00
Lucas Rocha
6aeacee650 Bug 817721/817735/817732 - New tabs tray layout with horizontal scrolling (r=mfinkle) (needs-clobber)
--HG--
rename : mobile/android/base/resources/drawable-xlarge-hdpi-v11/menu.png => mobile/android/base/resources/drawable-large-hdpi-v11/menu.png
rename : mobile/android/base/resources/drawable-xlarge-hdpi-v11/tabs_carat_contracted.png => mobile/android/base/resources/drawable-large-hdpi-v11/tabs_carat_contracted.png
rename : mobile/android/base/resources/drawable-xlarge-hdpi-v11/tabs_carat_expanded.png => mobile/android/base/resources/drawable-large-hdpi-v11/tabs_carat_expanded.png
rename : mobile/android/base/resources/drawable-xlarge-hdpi-v11/tabs_menu.png => mobile/android/base/resources/drawable-large-hdpi-v11/tabs_menu.png
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_button.xml => mobile/android/base/resources/drawable-large-land-v11/tabs_button.xml
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_level.xml => mobile/android/base/resources/drawable-large-land-v11/tabs_level.xml
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/menu.png => mobile/android/base/resources/drawable-large-mdpi-v11/menu.png
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_carat_contracted.png => mobile/android/base/resources/drawable-large-mdpi-v11/tabs_carat_contracted.png
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_carat_expanded.png => mobile/android/base/resources/drawable-large-mdpi-v11/tabs_carat_expanded.png
rename : mobile/android/base/resources/drawable-xlarge-mdpi-v11/tabs_menu.png => mobile/android/base/resources/drawable-large-mdpi-v11/tabs_menu.png
rename : mobile/android/base/resources/drawable-xlarge-xhdpi-v11/menu.png => mobile/android/base/resources/drawable-large-xhdpi-v11/menu.png
rename : mobile/android/base/resources/drawable-xlarge-xhdpi-v11/tabs_carat_contracted.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tabs_carat_contracted.png
rename : mobile/android/base/resources/drawable-xlarge-xhdpi-v11/tabs_carat_expanded.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tabs_carat_expanded.png
rename : mobile/android/base/resources/drawable-xlarge-xhdpi-v11/tabs_menu.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tabs_menu.png
rename : mobile/android/base/resources/layout-xlarge-v11/tabs_panel.xml.in => mobile/android/base/resources/layout-large-land-v11/tabs_panel.xml.in
rename : mobile/android/base/resources/layout-xlarge-v11/tabs_panel_footer.xml => mobile/android/base/resources/layout-large-land-v11/tabs_panel_footer.xml
rename : mobile/android/base/resources/layout-xlarge-v11/tabs_panel_header.xml => mobile/android/base/resources/layout-large-land-v11/tabs_panel_header.xml
2013-02-22 07:23:16 +00:00