Commit Graph

180 Commits

Author SHA1 Message Date
Chris Lord
4852ece00b Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-24 17:06:23 +01:00
Aditya Bhardwaj
503f5b7d0f Bug 784387 - Long press on reader button to add to reading list (r=lucasr) 2013-04-17 11:43:30 +01:00
Chris Lord
55d7387192 Bug 859100 - Fix NullPointerException in BrowserToolbar.canToolbarHide. r=kats
If this is called before initializeChrome is called, GeckoApp.getLayerView
can be null.
2013-04-11 17:33:40 +01:00
Chris Peterson
53d9e01fcd Bug 859229 - Part 3: Fix order of Java imports. r=kats 2013-04-08 00:51:56 -07:00
Chris Peterson
e4af8426a5 Bug 859229 - Part 1: Remove unused Java imports. r=kats 2013-04-08 00:20:49 -07:00
Sriram Ramasubramanian
8d7238370b Bug 848719: TabsButton will have curve only one side. [r=mfinkle] [needs-clobber]
--HG--
extra : rebase_source : 815c210eb08dbe17801fd951822a0b3908ed96a6
2013-03-14 15:26:25 -07:00
Sriram Ramasubramanian
34c05933dd am Ramasubramanian <sriram@mozilla.com>
# Date 1363299281 25200
# Node ID 8a1125546d125b3fd42a0603146856194bfb74e3
# Parent  6bbd7ce8308e4aeaeca73b2540f557bab3905681
Bug 848719: No Tail delegation needed for Menu button. [r=mfinkle]

--HG--
extra : rebase_source : ac72b0d0412f956f1327433b86f48e6404943163
2013-04-04 23:03:48 -07:00
Mark Finkle
4c066036fa Bug 852828 - Add basic support for subscribing to feeds (RSS/Atom) r=margaret 2013-04-03 15:34:51 -04:00
Sriram Ramasubramanian
356296c9c4 Bug 857342: Don't animate the tab counter if the BrowserToolbar isn't visible. [r=mfinkle] 2013-04-02 15:55:09 -07:00
Kartikaya Gupta
438c6343f0 Bug 856756 - Move GeckoApp.hasPermanentMenuKey to HardwareUtils.hasMenuButton. r=mfinkle 2013-04-02 10:04:21 -04:00
Kartikaya Gupta
c1a8f0547f Bug 856756 - Extract a HardwareUtils class. r=mfinkle 2013-04-02 10:03:39 -04:00
Eitan Isaacson
eda035881b Bug 856252 - Explicitly set next focused view when arrowing down from BrowserToolBar. r=kats r=sriram 2013-04-01 10:55:24 -07:00
Lucas Rocha
f67f898536 Bug 850936 - Actually update toolbar layout state on rotation (r=mfinkle) 2013-03-19 15:25:46 +00:00
Lucas Rocha
d56658ff47 Bug 843641 - Ensure tabs button images are refreshed on device rotation (r=mfinkle) 2013-03-19 15:25:46 +00:00
Chris Lord
a27262bcbf 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
Brian Nicholson
2d98f0cf71 Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats
--HG--
extra : rebase_source : 376574e0c41b91c16a6be335584a4a61768bb4a9
2013-03-13 13:20:57 -07:00
Lucas Rocha
ebd9e05a72 Bug 818079 - Don't allow entering awesomescreen while animating (r=mfinkle) 2013-03-13 19:57:00 +00:00
Sriram Ramasubramanian
4ae861c1fa Bug 846949: Cleanup browser toolbar animation. [r=lucasr]
--HG--
extra : rebase_source : ba77407efe264e20a8dfb013ee77def241042a6a
2013-02-27 14:18:28 -08:00
Chris Lord
aac83ddc5a 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
5627c0a3be Bug 849845 - Map Gamepad-Y to toggle chrome on Firefox/Android. r=kats 2013-03-12 13:22:01 +00:00
Brian Nicholson
ca84939aa6 Bug 835022 - Switch to correct tab when a tab is closed. r=mfinkle 2013-03-11 16:09:14 -07:00
Chris Lord
65f2a90d9f Bug 716403 - Resize viewport dynamically on Android. r=kats,mfinkle
This causes the viewport size to differ, depending on the length of the page.
This has the effect of pages that size themselves to the size of the window
always having the toolbar visible, making sites like Google Maps more usable.
2013-03-07 10:17:33 +00:00
Wes Johnston
6fd755c540 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
893d8d351a 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
3666e38db8 Bug 716403 - Resize viewport dynamically on Android. r=kats,mfinkle
This causes the viewport size to differ, depending on the length of the page.
This has the effect of pages that size themselves to the size of the window
always having the toolbar visible, making sites like Google Maps more usable.
2013-03-06 16:56:00 +00:00
Wes Johnston
3ed0219da1 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
Lucas Rocha
3f4feeb7b3 Bug 817828 - Don't use hardware layers on toolbar animations (r=sriram) 2013-03-01 21:30:07 +00:00
Mark Capella
48ab4d0e49 Bug 784331 - No indication if a page is in reader mode, r=lucasr 2013-03-01 19:01:11 -05:00
Ryan VanderMeulen
5d849d0751 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
0f2474d98f Bug 716403 - Resize viewport dynamically on Android. r=kats,mfinkle
This causes the viewport size to differ, depending on the length of the page.
This has the effect of pages that size themselves to the size of the window
always having the toolbar visible, making sites like Google Maps more usable.
2013-03-01 15:46:34 +00:00
Wes Johnston
39b56db07c 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
Sriram Ramasubramanian
be096c58f8 Bug 827208: TouchDelegate for tabs button. [r=bnicholson] 2013-02-27 15:05:28 -08:00
Sriram Ramasubramanian
ed5f9aedd1 Bug 845572: GeckoView should listen for LWTheme messages. [r=wesj]
--HG--
rename : mobile/android/base/resources/layout/awesomebar_tab_indicator.xml => mobile/android/base/resources/layout/awesomebar_tab_indicator.xml.in
2013-02-26 15:32:53 -08:00
Margaret Leibovic
faaf25eef4 Bug 839602 - Immediately update browser toolbar after awesomescreen closes. r=bnicholson 2013-02-11 16:51:02 -08:00
Brian Nicholson
0bc444d6e2 Bug 845612 - Add @Override annotations for implemented interfaces. r=kats 2013-02-26 21:48:00 -08:00
Margaret Leibovic
98b1919162 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
Lucas Rocha
6e93f5db82 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
a09a4ed0f0 Bug 817721/817735/817732 - Change sidebar state to be dynamic (r=mfinkle) 2013-02-22 07:22:37 +00:00
Ms2ger
bfc7bd8836 Backout bug 828349, bug 835022 for robocop orange and exception from Tabs.getDisplayCount. 2013-02-16 10:36:05 +01:00
Brian Nicholson
ebde756222 Bug 828349 - Return the tab count of the current private state. r=mfinkle 2013-02-15 22:42:12 -08:00
Sriram Ramasubramanian
809df9c68e Bug 840346: Flat URL bar. [r=mfinkle]
--HG--
extra : rebase_source : 25e8b78e6ef97e3bb1e0ccb701bd98d9d1b24e4c
2013-02-13 08:50:56 -08:00
Sriram Ramasubramanian
ce865bb2c6 Bug 818072: Back/Forward looks disabled. [r=mfinkle] [needs-clobber] 2013-02-07 14:23:33 -08:00
Christian Vielma
656fabe516 Bug 454880 - Allow access to recent history through back/forward buttons. r=bnicholson
--HG--
extra : rebase_source : c871a1f0b464db10b5bd22a27f7783ba1c53c213
2013-02-06 22:53:01 -05:00
Sriram Ramasubramanian
825b7f352d Bug 833812: BrowserToolbar should consume events, that aren't consumed by its children. [r=mfinkle]
--HG--
extra : rebase_source : e412c542cc218a9df17a4786f5e5b41269b3a068
2013-01-28 15:22:35 -08:00
Kartikaya Gupta
fbeedc6265 Bug 834414 - Fix leaks caused by missing tab change listener unregistrations. r=sriram 2013-01-25 13:51:41 -05:00
Phil Ringnalda
7dee6cb50e Back out 5a56a56a6481:a5969a01955b (bug 834414) to investigate whether it caused reftest-4 failures
CLOSED TREE
2013-01-25 20:03:50 -08:00
Kartikaya Gupta
2748102adc Bug 834414 - Fix leaks caused by missing tab change listener unregistrations. r=sriram 2013-01-25 13:51:41 -05:00
Shriram Kunchanapalli
0d95ceea51 Bug 810342 - Show toolbar shadow on about:blank (r=lucasr) 2013-01-10 01:34:13 +05:30
Chris Peterson
d62d1ced11 Bug 828594 - Part 2: Remove unused Java imports. r=kats 2013-01-09 10:32:50 -08:00
Brian Nicholson
e8fef31382 Bug 818065 - Part 2: Implement about:privatebrowsing. r=mfinkle 2013-01-07 15:29:45 -08:00