Commit Graph

179 Commits

Author SHA1 Message Date
Ryan VanderMeulen
b16b9555c1 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
34709ea94d 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
dd471fc23a 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
1f5c5c954a Bug 849845 - Map Gamepad L1/R1 to back/forward on Android. r=kats 2013-03-12 17:58:23 +00:00
Chris Lord
9f31fca337 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
ac1e8ea7d8 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
ad176442fe Bug 849845 - Map Gamepad-Y to toggle chrome on Firefox/Android. r=kats 2013-03-12 13:22:01 +00:00
Kartikaya Gupta
f9247ac9ce Back out ecc5ce4b7632 (bug 849955) for missing Android API level checks. r=me DONTBUILD 2013-03-12 10:15:46 +00:00
Kartikaya Gupta
b713d88efa 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
549166e611 Bug 835022 - Switch to correct tab when a tab is closed. r=mfinkle 2013-03-11 16:09:14 -07:00
Chris Lord
4cff2c2f1d Bug 849254 - Fix NullPointerException in BrowserApp.setToolbarHeight. r=kats 2013-03-11 16:04:55 +00:00
Kartikaya Gupta
4625c72bb2 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
a437cc4b76 Bug 838440 - Refresh about:home twhen the activity is resumed. r=lucasr 2013-03-08 13:01:51 -08:00
Kartikaya Gupta
e3a17bf629 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
f619313793 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
9f56d361e1 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
792e39c1fd 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
c733a1eca6 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
e67ae46cb3 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
2de25383ce 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
c2165b62fc 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
824a09dd68 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
a68b821526 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
77b7b0355d 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
36d9b80bf3 Bug 726335 - Add support for receiving URLs via Android Beam. r=mfinkle 2013-03-05 13:05:52 +00:00
Ryan VanderMeulen
3fe58cf9ea 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
e1c1aa96f5 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
15c898c492 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
9dcda147b3 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
95a2b06fb3 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
c432e51885 Bug 839602 - Immediately update browser toolbar after awesomescreen closes. r=bnicholson 2013-02-11 16:51:02 -08:00
Brian Nicholson
b867b80f22 Bug 845612 - Add @Override annotations for implemented interfaces. r=kats 2013-02-26 21:48:00 -08:00
Brian Nicholson
79ce539367 Bug 845612 - Add missing @Override annotations. r=kats 2013-02-26 21:48:00 -08:00
Margaret Leibovic
cd2afb68fc 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
c34323ea56 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
314fa5eb49 Bug 844590 - Use Looper.getMainLooper() for UiAsyncTask. r=kats
--HG--
extra : rebase_source : 4e5c919cd98b30faee9d0c1e3b429e27fe7d1ea2
2013-02-25 15:15:49 -08:00
Margaret Leibovic
a318817e7d Bug 842883 - (Part 3) Move Content:* events from GeckoApp to Tabs. r=bnicholson 2013-02-24 20:51:05 -08:00
Margaret Leibovic
dbb131c728 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
be16192d59 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
6be0342915 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
Lucas Rocha
6f16b35d7f Bug 817721/817735/817732 - Always scroll on tabs tray animation (r=mfinkle) 2013-02-22 07:22:37 +00:00
Lucas Rocha
cb79738de6 Bug 817721/817735/817732 - Change sidebar state to be dynamic (r=mfinkle) 2013-02-22 07:22:37 +00:00
Brian Nicholson
d48107e2ec Bug 842797 - Rename GeckoAsyncTask to UiAsyncTask. r=mfinkle
--HG--
rename : mobile/android/base/GeckoAsyncTask.java => mobile/android/base/UiAsyncTask.java
2013-02-21 12:01:09 -08:00
Brian Nicholson
12cd68fc46 Bug 842797 - Replace GeckoAsyncTask Activity parameter with Handler. r=kats,mfinkle 2013-02-21 12:00:52 -08:00
Sriram Ramasubramanian
c9a8cb73a8 Bug 843314: Addon without icons should show a filler. [r=mfinkle] 2013-02-20 23:07:06 -08:00
Sriram Ramasubramanian
3e01e869a4 Bug 840871: TabsPanel is not needed to be shown right on startup. [r=mfinkle] 2013-02-19 12:39:05 -08:00
Margaret Leibovic
ddac3c1e0f Bug 840825 - Basic tests for distribution customization. r=gbrown,wesj 2013-02-19 10:15:55 -08:00
Ms2ger
c3d8c3db2b Backout bug 828349, bug 835022 for robocop orange and exception from Tabs.getDisplayCount. 2013-02-16 10:36:05 +01:00
Brian Nicholson
b88847ffd7 Bug 828349 - Return the tab count of the current private state. r=mfinkle 2013-02-15 22:42:12 -08:00
Kartikaya Gupta
814af238a1 Bug 841810 - Allow java addons to receive and respond to events. r=mfinkle 2013-02-15 15:21:41 -05:00