Commit Graph

457 Commits

Author SHA1 Message Date
Brian Nicholson
cef299ed00 Bug 869411 - Part 2: Replace getPadding() with getTopPadding() in AboutHome. r=lucasr 2013-05-23 11:29:43 -07:00
Brian Nicholson
9ab8919656 Bug 869411 - Part 1: Move toolbar to gecko_app layout. r=sriram 2013-05-23 11:29:43 -07:00
Sriram Ramasubramanian
bbe96d9b8b Bug 869123: Make a "menu" package for menu related stuff. [r=wesj]
--HG--
rename : mobile/android/base/GeckoMenu.java => mobile/android/base/menu/GeckoMenu.java
rename : mobile/android/base/GeckoMenuInflater.java => mobile/android/base/menu/GeckoMenuInflater.java
rename : mobile/android/base/GeckoMenuItem.java => mobile/android/base/menu/GeckoMenuItem.java
rename : mobile/android/base/GeckoSubMenu.java => mobile/android/base/menu/GeckoSubMenu.java
rename : mobile/android/base/MenuItemActionBar.java => mobile/android/base/menu/MenuItemActionBar.java
rename : mobile/android/base/MenuItemDefault.java => mobile/android/base/menu/MenuItemDefault.java
rename : mobile/android/base/MenuPanel.java => mobile/android/base/menu/MenuPanel.java
rename : mobile/android/base/MenuPopup.java => mobile/android/base/menu/MenuPopup.java
rename : mobile/android/base/Divider.java => mobile/android/base/widget/Divider.java
rename : mobile/android/base/GeckoPopupMenu.java => mobile/android/base/widget/GeckoPopupMenu.java
extra : rebase_source : 3b51b8af8318e346fe41b3ab7c18421d67b1359b
2013-05-15 10:41:25 -07:00
Lucas Rocha
ef46b333eb Bug 872834 - Move awesomescreen search into the about:home fragment (r=mfinkle) 2013-05-13 18:20:49 +01:00
Margaret Leibovic
51ccb482d6 merge m-c into fig 2013-05-16 10:19:40 -07:00
Sriram Ramasubramanian
a280726e90 Bug 872762: Page title strip for the HomePager. [r=margaret] 2013-05-15 16:41:08 -07:00
Margaret Leibovic
97c84b18b0 Bug 867354 - Don't prompt for feedback in distribution builds. r=mfinkle 2013-06-03 08:37:29 -07:00
Lucas Rocha
9610fd4fab Bug 877140 - Fade in toolbar buttons while hiding tabs tray (r=mfinkle) 2013-05-30 19:47:44 +01:00
Chenxia Liu
f6c36a890a Bug 888553 - Remote Debugging Part 2: Bring browser app to front on remote connection. r=lucasr 2013-07-31 15:38:48 -07:00
Wes Johnston
ed478e2678 Bug 895709 - Kill guest mode profile when we start in non-guest mode. r=blassey 2013-07-30 09:05:25 -07:00
Mark Capella
1fa65593c1 Bug 896764 - Initially populate Find in Page string with current text selection, r=margaret 2013-07-28 16:36:47 -04:00
Sriram Ramasubramanian
525e075167 Bug 890671: Addon icon is missing when the menu item adds a submenu. [r=mfinkle]
--HG--
extra : rebase_source : 9d27cd4ffd03c59c27d9eb9830f897efa09800c6
2013-07-09 00:19:46 -07:00
Wes Johnston
9d4f63d509 Bug 884075 - Add a javascript api for button toasts. r=margaret 2013-07-16 01:33:06 -07:00
Wes Johnston
a6c5575a38 Bug 884075 - Include a reason when hiding a toast. r=margaret 2013-07-16 01:33:06 -07:00
Wes Johnston
36fd6269a5 Bug 884075 - Use new getDrawable method in ButtonToasts. r=margaret 2013-07-16 01:33:06 -07:00
Wes Johnston
df030b6d15 Bug 884075 - Add a method to get drawables from urls in BitmapUtils. r=margaret 2013-07-16 01:33:05 -07:00
Wes Johnston
57ecfb5bd8 Bug 884075 - Make button toast listeners per toast. r=margaret 2013-07-16 01:33:05 -07:00
Brian Nicholson
bbc674d032 Bug 868553 - Implement HomePager for about:home views. r=lucasr 2013-05-13 14:06:34 -07:00
Sriram Ramasubramanian
a5f01ee613 Bug 887020: Remove mLayout from BrowserToolbar. [r=mfinkle] 2013-06-25 16:10:52 -07:00
Ed Morley
0e4a7d3bc7 Backed out changeset 59ef0d1d8616 (bug 884075) for Android 2.2 robocop-2 exceptions 2013-07-16 12:00:26 +01:00
Ed Morley
500079686f Backed out changeset 2f2634b1f695 (bug 884075) 2013-07-16 12:00:04 +01:00
Ed Morley
f085c5db80 Backed out changeset 59a25222200e (bug 884075) 2013-07-16 12:00:01 +01:00
Ed Morley
4bb2a6f1f8 Backed out changeset 46f75b2f314c (bug 884075) 2013-07-16 11:59:58 +01:00
Ed Morley
3fe542508d Backed out changeset f1d3ac351fdd (bug 884075) 2013-07-16 11:59:55 +01:00
Chris Lord
6d53b0b827 Bug 886576 - Fix screen-sized pages not revealing the toolbar. r=kats
If a page changed size to be the exact size of the screen, the toolbar would
not be revealed.
2013-07-15 17:03:22 +01:00
Wes Johnston
019836db33 Bug 884075 - Add a javascript api for button toasts. r=margaret 2013-07-16 01:33:06 -07:00
Wes Johnston
afd90691f6 Bug 884075 - Include a reason when hiding a toast. r=margaret 2013-07-16 01:33:06 -07:00
Wes Johnston
065d61ecdc Bug 884075 - Use new getDrawable method in ButtonToasts. r=margaret 2013-07-16 01:33:06 -07:00
Wes Johnston
626c6ce9a7 Bug 884075 - Add a method to get drawables from urls in BitmapUtils. r=margaret 2013-07-16 01:33:05 -07:00
Wes Johnston
45baf2ff07 Bug 884075 - Make button toast listeners per toast. r=margaret 2013-07-16 01:33:05 -07:00
Wes Johnston
3fe2ee6075 Bug 853986 - Remove dynamic toolbar margins in fullscreen. r=cwiiis 2013-07-11 09:21:25 -07:00
Chris Kitching
da593a33f2 Bug 887820 - Close cursors in LocalBrowserDB and its users. r=mleibovic 2013-07-11 10:43:36 -04:00
Sriram Ramasubramanian
207035c31f Bug 884340: Allow addons to add menu items to tools. r=mfinkle, f=sriram 2013-07-08 22:47:10 -07:00
Chenxia Liu
cbc6bcfb21 Bug 833625 - Part 2: Android notifications for data reporting. r=rnewman 2013-05-10 21:29:09 -07:00
Nick Alexander
9c723704a3 Bug 870371 - Add Javascript interface to Android OrderedBroadcast. r=rnewman 2013-05-10 19:47:40 -07:00
Nick Alexander
ce3ffa5462 Bug 866271 - Add Javascript interface to Android SharedPreferences. r=rnewman
This provides an nsIPrefBranch-like Javascript module backed by
Android SharedPreferences.
2013-05-10 19:46:25 -07:00
Brian Nicholson
9a5e7bd409 Backout 6ee620315ad4 for causing test timeouts on a CLOSED TREE 2013-05-08 15:47:23 -07:00
Brian Nicholson
ebaf0765a5 Bug 849847 - Make about:home scrollable with the analog stick. r=Cwiiis
--HG--
extra : rebase_source : 32147bda7c1c49a7f018a2972941ae3f4286abca
2013-05-08 11:44:37 -07:00
Lucas Rocha
7d4e32bf65 Bug 869022 - Fade tabs button and menu away when tabs panel is open (r=mfinkle) 2013-05-07 18:19:19 +01:00
Lucas Rocha
8f492a6463 Bug 868460 - Move all animation-related classes to the animation directory (r=mfinkle)
--HG--
rename : mobile/android/base/AnimatorProxy.java => mobile/android/base/animation/AnimatorProxy.java
rename : mobile/android/base/HeightChangeAnimation.java => mobile/android/base/animation/HeightChangeAnimation.java
rename : mobile/android/base/PropertyAnimator.java => mobile/android/base/animation/PropertyAnimator.java
rename : mobile/android/base/Rotate3DAnimation.java => mobile/android/base/animation/Rotate3DAnimation.java
rename : mobile/android/base/ViewHelper.java => mobile/android/base/animation/ViewHelper.java
2013-05-07 18:04:11 +01:00
Sriram Ramasubramanian
7c76626138 Bug 857808: NativeWindow.menu should support parsing more attributes when adding a new entry. [r=mfinkle] 2013-04-03 15:10:06 -07:00
Lucas Rocha
bd86b805b2 Bug 867554/860121 - New Fennec sidebar animation (r=mfinkle) 2013-05-03 14:16:57 +01:00
Brian Nicholson
8151f15cd3 Bug 865005 - Part 1: Refactor initialization and create loadStartupTab() for initial tab. r=mfinkle 2013-05-16 15:07:43 -07:00
Lucas Rocha
6b7f0d2a12 Bug 869494 - Cleanup about:home handling in BrowserApp (r=mfinkle) 2013-05-13 17:40:38 +01:00
Lucas Rocha
e00017857e Bug 869494 - Move browser-specific methods from GeckoApp to BrowserApp (r=mfinkle) 2013-05-13 17:27:53 +01:00
Ryan VanderMeulen
dc9e4bb7ab Backed out 5 changesets (bug 872388) for Android 2.2 bustage on a CLOSED TREE.
Backed out changeset f2fbb5c6cfc7 (bug 872388)
Backed out changeset 416f9cdde0f7 (bug 872388)
Backed out changeset 684ba082942b (bug 872388)
Backed out changeset 7acb6c63fdf4 (bug 872388)
Backed out changeset 2076903c21fa (bug 872388)
2013-05-30 22:11:26 -04:00
Nick Alexander
23648dc3f2 Bug 876473 - Provide Java-generated Firefox Health Report to about:healthreport. r=rnewman 2013-05-30 17:42:57 -07:00
Wes Johnston
bf4fc9d9a6 Bug 872388 - Cleanup review nits. r=bnicholson 2013-05-30 17:14:37 -07:00
Wes Johnston
8cb64d8271 Bug 872388 - Show a button toast when bookmarks are created. r=bnicholson 2013-05-30 17:03:20 -07:00
Wes Johnston
892361095e Bug 872388 - Style button toasts. r=bnicholson 2013-05-30 17:03:17 -07:00
Phil Ringnalda
58fc837293 Back out e9593bf12a59:f9c1d3eb3ce6 (bug 869123) for very frequent robocop1 testAllPagesTab failures
CLOSED TREE
2013-05-30 00:02:29 -07:00
Sriram Ramasubramanian
b5d2f39b0b Bug 869123: Quick share action for android menu. [r=wesj] 2013-05-15 10:55:06 -07:00
Ryan VanderMeulen
72f8a6f0ea Backed out changeset d27425f46c14 (bug 869123) for robocop-2 failures. 2013-05-28 21:33:53 -04:00
Sriram Ramasubramanian
834455b9d8 Bug 869123: Quick share action for android menu. [r=wesj]
--HG--
extra : rebase_source : f5a3e15ab2de83a37c807a0c9ecf076bfe402524
2013-05-15 10:55:06 -07:00
Brian Nicholson
e74572c8bc Bug 849847 - Make about:home scrollable with the analog stick. r=Cwiiis 2013-06-24 21:44:07 -07:00
Richard Newman
4183555b92 Merge m-c to s-c. 2013-06-22 11:58:51 -07:00
Nick Alexander
fa2746cfd2 Bug 882745 - Add LaunchUpdater message to Android about:healthreport wrapper. r=rnewman 2013-06-21 14:00:40 -07:00
Nick Alexander
790f330ec7 Bug 879555 - Add ShowSettings message to Android about:healthreport wrapper. r=rnewman 2013-06-21 14:00:40 -07:00
Margaret Leibovic
ff3db4d072 Bug 751205 - (Part 2) Un-singleton-ify SiteIdentityPopup. r=wesj 2013-06-20 08:06:15 -07:00
Margaret Leibovic
ce877469a9 Bug 877782 - Reposition form autocomplete popup if dynamic toolbar changes visibility. r=kats 2013-06-19 08:35:44 -07:00
Wes Johnston
8e6e3b324e Bug 872388 - Show a button toast when bookmarks are created. r=bnicholson 2013-05-30 17:03:20 -07:00
Wes Johnston
5f85a25cda Bug 872388 - Create a buttonToast class. r=bnicholson
* * *
Bug 872388 - Style button toasts. r=bnicholson
2013-05-30 17:02:30 -07:00
Mark Capella
57652d7851 Bug 802093 - Reader Mode:Update reading list button state if the list is empty, r=lucasr
--HG--
rename : mobile/android/themes/core/images/reader-list-icon-hdpi.png => mobile/android/themes/core/images/reader-list-on-icon-hdpi.png
rename : mobile/android/themes/core/images/reader-list-icon-mdpi.png => mobile/android/themes/core/images/reader-list-on-icon-mdpi.png
rename : mobile/android/themes/core/images/reader-list-icon-xhdpi.png => mobile/android/themes/core/images/reader-list-on-icon-xhdpi.png
2013-06-10 12:25:35 -04:00
Federico Paolinelli
19199dbcd1 Bug 876485 - Moved clipboard code from GeckoAppShell to a separate Clipboard class. Changed jni calls to new methods. r=cpeterson 2013-06-07 13:39:37 -07:00
Brian Nicholson
06fc54c01e Bug 878491 - Save about:home top padding in BrowserApp instead of AboutHome fragment. r=lucasr 2013-06-07 12:27:21 -07:00
Sriram Ramasubramanian
453940d813 Bug 876938: MenuItem should handle closing the menu of share action. [r=wesj]
--HG--
extra : rebase_source : ca005ac974e3efbf858edac3fd360a3cfddc21b9
2013-05-29 21:54:57 -07:00
Sriram Ramasubramanian
546e95fd31 Bug 869123: Fix setIntent() call in ActionProvider. [r=mfinkle]
--HG--
extra : rebase_source : 413831c09b3df15383ba07671468af999e89134d
2013-06-04 14:07:42 -07:00
Sriram Ramasubramanian
a0b9679d98 Bug 869123: Quick share action for android menu. [r=wesj]
--HG--
extra : rebase_source : bf6885fb80770efef32d91bd984871db67b78f2b
2013-05-15 10:55:06 -07:00
Lucas Rocha
35de1c0fe8 Bug 865228 - Only animate tabs counter once tabs button is on screen (r=mfinkle) 2013-05-01 17:32:01 +01:00
Lucas Rocha
444f5019ba Bug 864960 - Parallax transition to open/close the tabs tray (r=mfinkle) 2013-04-26 14:12:08 +01:00
Lucas Rocha
8d74176613 Bug 858687 - Rename browser_toolbar_menu.xml to browser_toolbar.xml (r=mfinkle)
--HG--
rename : mobile/android/base/resources/layout-large-v11/browser_toolbar_menu.xml => mobile/android/base/resources/layout-large-v11/browser_toolbar.xml
rename : mobile/android/base/resources/layout/browser_toolbar_menu.xml => mobile/android/base/resources/layout/browser_toolbar.xml
2013-04-24 21:19:26 +01:00
Lucas Rocha
7afe6b5d16 Bug 858687/862755/860308 - Major simplification of browser toolbar layout (r=mfinkle)
* * *
Bug fi
2013-03-14 15:35:38 -07:00
Lucas Rocha
5a8f348b66 Fix broken build caused by 0a7e98a3c3eb (bug 858969) (r=mbrubeck) 2013-04-26 01:00:07 +01:00
Chris Lord
cb9c55afb6 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-25 18:47:08 +01:00
Ryan VanderMeulen
4b7c54d033 Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
CLOSED TREE
2013-04-25 10:56:54 -04:00
Ryan VanderMeulen
40126da44f Backed out changesets 039a1de069ed and e0f70c5a5f09 (bug 858687) for trobocheck2 failures.
CLOSED TREE

--HG--
rename : mobile/android/base/resources/layout-large-v11/browser_toolbar.xml => mobile/android/base/resources/layout-large-v11/browser_toolbar_menu.xml
rename : mobile/android/base/resources/layout/browser_toolbar.xml => mobile/android/base/resources/layout/browser_toolbar_menu.xml
2013-04-25 09:54:42 -04:00
Lucas Rocha
aa5a9bb687 Bug 858687 - Rename browser_toolbar_menu.xml to browser_toolbar.xml (r=mfinkle)
--HG--
rename : mobile/android/base/resources/layout-large-v11/browser_toolbar_menu.xml => mobile/android/base/resources/layout-large-v11/browser_toolbar.xml
rename : mobile/android/base/resources/layout/browser_toolbar_menu.xml => mobile/android/base/resources/layout/browser_toolbar.xml
2013-04-24 21:19:26 +01:00
Lucas Rocha
2dbac5f358 Bug 858687/862755/860308 - Major simplification of browser toolbar layout (r=mfinkle)
* * *
Bug fi
2013-03-14 15:35:38 -07:00
Lucas Rocha
2c84e2db6e cked out changesets 10bdfbe0195b and 06b0f332039d (bug 858687) because of Robocop failures (r=backout) 2013-04-24 22:53:31 +01:00
Lucas Rocha
348bbcb521 Backed out changesets 10bdfbe0195b and 06b0f332039d (bug 858687) because of Robocop failures (r=backout) 2013-04-24 22:48:39 +01:00
Lucas Rocha
725002e36e Bug 858687 - Rename browser_toolbar_menu.xml to browser_toolbar.xml (r=mfinkle)
--HG--
rename : mobile/android/base/resources/layout-large-v11/browser_toolbar_menu.xml => mobile/android/base/resources/layout-large-v11/browser_toolbar.xml
rename : mobile/android/base/resources/layout/browser_toolbar_menu.xml => mobile/android/base/resources/layout/browser_toolbar.xml
2013-04-24 21:19:26 +01:00
Lucas Rocha
b39eb2b70a Bug 858687/862755/860308 - Major simplification of browser toolbar layout (r=mfinkle) 2013-03-14 15:35:38 -07:00
Brian Nicholson
e179fce30b Bug 863803 - Part 2: Remove unneccesary call to hideAboutHome(). r=lucasr 2013-04-24 11:03:51 -07:00
Brian Nicholson
0464db2da4 Bug 863803 - Part 1: Prevent multiple AboutHome fragments from being created after restore. r=lucasr 2013-04-24 11:03:51 -07:00
Sriram Ramasubramanian
b1fb07137b Bug 861138: Remove landscape resources for browser-toolbar. [r=mfinkle] 2013-04-17 14:59:04 -07:00
Chris Lord
5671b1d883 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
Margaret Leibovic
833418a304 Bug 847834 - Avoid NPEs in BrowserApp.onActivityResult(). r=wesj 2013-04-23 14:21:34 -07:00
Benoit Girard
5eb7ffca68 Bug 863375 - Remove 'Toggle Profiling' menu. r=ehsan
--HG--
extra : rebase_source : c8e70c998ede7986e2583f3fba4d23fcdb37b540
2013-04-19 15:37:50 -04:00
Kartikaya Gupta
6294aa50b5 Bug 859962 - Guard against LayerView.getPanZoomController() returning null in BrowserApp. r=Cwiiis 2013-04-17 17:39:11 -04:00
Kartikaya Gupta
f32710dcdf Bug 847898 - Put Android Beam support behind a confvar variable. r=mfinkle 2013-04-17 16:08:11 -04:00
Lucas Rocha
88b40306f6 Bug 784387 - Handle duplicate reading list item case (r=bnicholson) 2013-04-17 11:43:22 +01:00
Margaret Leibovic
af8c451de1 Bug 860326 - Don't update BrowserToolbar after editing a top site on about:home. r=wesj 2013-04-16 17:39:47 -07:00
Brian Nicholson
830f0c9453 Bug 838793 - Part 1: Convert AboutHomeContent to a Fragment. r=lucasr 2013-04-16 14:34:46 -07:00
Ryan VanderMeulen
9205e033e1 Backed out changeset 1d41c64ab235 (bug 860326) for robocop crashes. 2013-04-16 15:38:50 -04:00
Margaret Leibovic
82e8d55330 Bug 860326 - Don't update BrowserToolbar after editing a top site on about:home. r=wesj 2013-04-16 10:39:16 -07:00
Chris Lord
3fddc7fa63 Bug 852955 - Disable dynamic toolbar when accessibility features are enabled. r=kats
The dynamic toolbar is just not a useful feature when it comes to accessibility.
2013-04-12 16:51:56 +01:00
Chris Lord
d64d53483e Bug 859031 - Fix NullPointerException in dynamic toolbar prefs getter. r=lucasr
mAboutHomeContent can be null, make sure to check before accessing it.
2013-04-11 17:33:59 +01:00
Sriram Ramasubramanian
b1ec0470e7 Bug 726716: Keyboard shortcuts for Fennec. [r=mfinkle]
--HG--
extra : rebase_source : fa0d362face86e9b7d28d2a3e079edf5fd43d283
2013-04-08 14:28:56 -07:00
Brian Nicholson
ed0ffd2ff8 Bug 856163 - Part 2: Move preprocessed code to AppConstants. r=kats,mfinkle,rnewman
--HG--
rename : mobile/android/base/CrashReporter.java.in => mobile/android/base/CrashReporter.java
rename : mobile/android/base/GeckoActivity.java.in => mobile/android/base/GeckoActivity.java
rename : mobile/android/base/Restarter.java.in => mobile/android/base/Restarter.java
rename : mobile/android/base/SmsManager.java.in => mobile/android/base/SmsManager.java
rename : mobile/android/base/UpdateServiceHelper.java.in => mobile/android/base/UpdateServiceHelper.java
rename : mobile/android/base/resources/menu-large-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-large-v11/browser_app_menu.xml
rename : mobile/android/base/resources/menu-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-v11/browser_app_menu.xml
rename : mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml
rename : mobile/android/base/resources/menu/browser_app_menu.xml.in => mobile/android/base/resources/menu/browser_app_menu.xml
rename : mobile/android/base/resources/xml/preferences.xml.in => mobile/android/base/resources/xml/preferences.xml
2013-04-09 17:10:47 -07:00
Chris Peterson
e2995e53e3 Bug 859229 - Part 3: Fix order of Java imports. r=kats 2013-04-08 00:51:56 -07:00
Chris Lord
a0307d1e46 Bug 856497 - Fix dynamic viewport sizing for margin changes. r=kats
The viewport wasn't being recalculated when the viewport margins changed, and
was also subject to some rounding errors. Round off the values before
comparing them (as they're screen pixels), and make sure to update the viewport
when the margins change. Margins were also not correctly being altered when
in overscroll, which could cause bottom-aligned fixed position content to be
incorrectly offset.
2013-04-08 16:35:00 +01:00
Ryan VanderMeulen
2c330d34a3 Merge m-c to inbound. 2013-04-03 18:16:48 -04:00
Kartikaya Gupta
f41d028a0f Bug 857217 - Put focus in about:home if it is visible instead of always sending it to the layerview. r=Cwiiis 2013-04-03 11:59:22 -04:00
Mark Finkle
c22720d7c0 Bug 852828 - Add basic support for subscribing to feeds (RSS/Atom) r=margaret 2013-04-03 15:34:51 -04:00
Kartikaya Gupta
80ffc0bff1 Bug 856756 - Move GeckoApp.hasPermanentMenuKey to HardwareUtils.hasMenuButton. r=mfinkle 2013-04-02 10:04:21 -04:00
Kartikaya Gupta
15911ce12f Bug 856756 - Extract a HardwareUtils class. r=mfinkle 2013-04-02 10:03:39 -04:00
Eitan Isaacson
f1d1fcab9d Bug 856252 - Explicitly set next focused view when arrowing down from BrowserToolBar. r=kats r=sriram 2013-04-01 10:55:24 -07:00
Sriram Ramasubramanian
68b37c80c5 Bug 852312: Split views in about:home [r=bnicholson]
--HG--
rename : mobile/android/base/AboutHomeContent.java => mobile/android/base/widget/AboutHomeContent.java
rename : mobile/android/base/AboutHomeSection.java => mobile/android/base/widget/AboutHomeSection.java
rename : mobile/android/base/AboutHomePromoBox.java => mobile/android/base/widget/PromoBox.java
extra : rebase_source : 0db7d60aa0c57eb9aeb9cad3e1f297b0ec0ddd0f
2013-03-25 15:45:33 -07:00
Sriram Ramasubramanian
e78fbba920 Bug 852312: Move the custom views in about:home to widget directory. [r=bnicholson]
--HG--
rename : mobile/android/base/AboutHomeContent.java => mobile/android/base/widget/AboutHomeContent.java
rename : mobile/android/base/AboutHomePromoBox.java => mobile/android/base/widget/AboutHomePromoBox.java
rename : mobile/android/base/AboutHomeSection.java => mobile/android/base/widget/AboutHomeSection.java
rename : mobile/android/base/LinkTextView.java => mobile/android/base/widget/LinkTextView.java
extra : rebase_source : b13d18d3b2c56e8fec364265fe46ee88771f7ed2
2013-03-25 15:44:45 -07:00
Sriram Ramasubramanian
77ec34f5d6 Bug 844816: Add open new tab/private tab to long press menu of about:home thumbnails. [r=mfinkle]
--HG--
extra : rebase_source : 2b93b32c22d41c3670bc67b4762baa81525256d4
2013-03-26 10:23:45 -07:00
Kartikaya Gupta
66275a333e Bug 855471 - Transfer focus to the LayerView when receiving a gamepad panning-related event. r=mfinkle 2013-03-28 12:40:06 -04:00
Kartikaya Gupta
dc20788173 Bug 855471 - Rename OnInterceptTouchListener to TouchEventInterceptor. r=mfinkle
--HG--
rename : mobile/android/base/OnInterceptTouchListener.java => mobile/android/base/TouchEventInterceptor.java
2013-03-28 12:40:06 -04:00
Lucas Rocha
561a22891f Bug 853300 - Show toolbar when hw menu button is pressed (r=cwiiis) 2013-03-22 10:26:32 +00:00
Lucas Rocha
4c0b89b72e Bug 853497 - Remove spacer view from gecko_app.xml (r=cwiiis) 2013-03-22 10:26:26 +00:00
Brian Nicholson
f880b41bf8 Bug 850693 - Create a NotificationHandler for each Fennec instance. r=kats
--HG--
rename : mobile/android/base/NotificationServiceClient.java => mobile/android/base/NotificationClient.java
rename : mobile/android/base/NotificationService.java => mobile/android/base/NotificationHandler.java
extra : rebase_source : 861bb500d9f1cd7cbc98a0c3628ddf7894e1e976
2013-03-21 13:32:11 -07:00
Chris Lord
fae357a331 Bug 852565 - Don't expand the viewport for small pages. r=kats
Only expand the CSS viewport when a page reaches the screen size. If it's
smaller than the screen size, lock the dynamic toolbar and keep the same,
smaller CSS viewport. This 'fixes' sites that try to size themselves to the
size of the screen and get it wrong.
2013-03-21 11:23:49 +00:00
Chris Lord
fefea759ce Bug 849573 - Handle interrupted tabs tray animation. r=sriram
If the tabs tray animation is interrupted to run in the opposite direction,
run the animation from the point the tray currently is, rather than snapping
it to the open or closed position first.
2013-03-20 23:43:47 +00:00
Brian Nicholson
3136d26edf Bug 851056 - Remove NotificationHandler. r=kats 2013-03-19 14:09:44 -07:00
Kartikaya Gupta
45793fac7f 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
08a93e05ce 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
88537cc4f4 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
ebd5b377b7 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
e0e4690d71 Bug 802130 - Move GeckoAppShell.getHandler() to ThreadUtils.getBackgroundHandler(). r=mfinkle 2013-03-15 11:52:53 +01:00
Kartikaya Gupta
baeed09fed Bug 802130 - Move mMainHandler into ThreadUtils. r=mfinkle 2013-03-15 11:52:53 +01:00
Kartikaya Gupta
6b33d2a704 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
1223d0af9b Bug 849845 - Map Gamepad L1/R1 to back/forward on Android. r=kats 2013-03-13 02:58:41 +00:00
Chris Lord
7e36d3f8d7 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
9e55e63817 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
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
Sriram Ramasubramanian
ba696f2d76 Bug 839887: Sync tabs should close the tabs ui on phones. [r=mfinkle] 2013-02-14 09:50:11 -08:00
Christian Vielma
48d2cd2ec5 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
Margaret Leibovic
ce0533c704 Bug 834681 - Add support for basic distribution modifications. r=mfinkle 2013-02-01 15:45:33 -08:00
Mark Capella
2cf2817d4f Bug 836689 - The security notification pop-up is still displayed, r=mfinkle 2013-02-01 17:19:47 -05:00
Ryan VanderMeulen
6c7aa941d0 Backed out changesets 9aadf7e35e70 (bug 836517) and 493805ba1c85 (bug 834681) for Android test hangs. 2013-01-31 15:15:50 -05:00
Margaret Leibovic
f69a887e4e Bug 834681 - Add support for basic distribution modifications. r=mfinkle 2013-01-31 10:28:00 -08:00
Wes Johnston
1486e2407a Bug 833942 - Add 'remove' to about:home topsites r=mfinkle 2013-01-30 10:20:35 -05:00
Matt Brubeck
2ba5b077c3 Bug 834399 - Tab sidebar should switch views to show newly selected tab [r=sriram] 2013-01-29 10:58:09 -08:00
Kartikaya Gupta
55c9daf9d1 Bug 834414 - Fix leaks caused by missing tab change listener unregistrations. r=sriram 2013-01-25 13:51:41 -05:00
Phil Ringnalda
ecc6770ff4 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
60d72254be Bug 834414 - Fix leaks caused by missing tab change listener unregistrations. r=sriram 2013-01-25 13:51:41 -05:00
Kartikaya Gupta
ba3fb4c9f0 Bug 832987 - Make sure the launch state is updated on Gecko:Ready even if GeckoApp isn't around at the time. r=cpeterson 2013-01-23 09:38:57 -05:00
Wes Johnston
2c64c83b35 Bug 832559 - Remove unpin all options from menus. r=mfinkle 2013-01-22 10:37:22 -08:00
Wes Johnston
88e69171fe backout 322f7440f281 to fix commit bug number 2013-01-22 10:37:20 -08:00
Wes Johnston
e676ef203b Bug 823559 - Remove unpinall from topsites menus. r=mfinkle a=nonlibxul 2013-01-22 09:34:19 -08:00
Chris Peterson
f4b4b15d0e Bug 828594 - Part 2: Remove unused Java imports. r=kats 2013-01-09 10:32:50 -08:00
Brian Nicholson
5393681ccf Bug 818065 - Part 2: Implement about:privatebrowsing. r=mfinkle 2013-01-07 15:29:45 -08:00
Wes Johnston
518f686d00 Bug 826074 - Use Pinning terminology for customizing about:home. r=mfinkle 2013-01-04 11:18:38 -08:00
Phil Ringnalda
47e472a386 Back out b7f50cfa3fe1 (bug 801739) for Android build bustage 2013-01-03 16:33:38 -08:00
Shriram Kunchanapalli
3fd4ef99fe Bug 801739 - Initialize mDoorHangerPopup in WebApp rather than GeckoApp. r=mleibovic 2012-12-26 20:15:47 +05:30
Wes Johnston
de0f6a8bf2 Bug 826106 - Allow GeckoApp to handle context menus. r=mfinkle 2013-01-02 17:11:14 -08:00
Sriram Ramasubramanian
5a04a793b0 Bug 824469: New tab button based on the tabs-section. [r=mfinkle] 2013-01-02 13:43:01 -08:00