Commit Graph

46 Commits

Author SHA1 Message Date
Martyn Haigh
d3691a08d5 Bug 1058574 - Remove package level access to class variables within the tabs package (r=lucasr) 2014-10-08 12:59:58 +01:00
Nick Alexander
1b28f32dfa Bug 1063750 - Part 2: Implement link from Remote Tabs tray to Remote Tabs home panel. r=mcomella
Deriving the correct panel UUID from the active Home Panel configuration
is challenging.  This is easy and will only exist for one release.  (The
Remote Tabs tray icon will disappear after this release; see Bug
1063753.)  This solves the problem in essentially all the situations we
expect to see.
2014-10-07 16:53:28 -07:00
Nick Alexander
c6f7cfa6aa Bug 1063750 - Part 1: Replace Remote Tabs tray with messaging to Remote Tabs home panel. r=mcomella 2014-10-07 16:53:27 -07:00
Michael Comella
3c4b4b5713 Bug 1076260 - Adjust new tablet divider size and color. r=lucasr 2014-10-03 18:00:59 -07:00
Martyn Haigh
f5f31830b5 Bug 1066546 - Part 2 - configure tabs panel to use correct layout for new tablet ui (r=lucasr)
--HG--
rename : mobile/android/base/resources/layout-large-land-v11/tabs_panel.xml => mobile/android/base/resources/layout-large-land-v11/tabs_panel_sidebar.xml
rename : mobile/android/base/resources/layout/tabs_panel.xml => mobile/android/base/resources/layout/tabs_panel_default.xml
rename : mobile/android/base/resources/values/layout.xml => mobile/android/base/resources/values-large-land-v11/layout.xml
2014-10-03 15:49:19 +01:00
Lucas Rocha
efced57b82 Bug 1073474 - Fix resource dependency issues in new tablet UI (r=rnewman)
--HG--
rename : mobile/android/base/resources/drawable-hdpi-v11/ic_menu_back.png => mobile/android/base/resources/drawable-hdpi/ic_menu_back.png
rename : mobile/android/base/resources/drawable-mdpi-v11/ic_menu_back.png => mobile/android/base/resources/drawable-mdpi/ic_menu_back.png
rename : mobile/android/base/resources/drawable-xhdpi-v11/ic_menu_back.png => mobile/android/base/resources/drawable-xhdpi/ic_menu_back.png
rename : mobile/android/base/resources/values/layout.xml => mobile/android/base/resources/drawable/new_tablet_default_favicon.xml
rename : mobile/android/base/resources/values/layout.xml => mobile/android/base/resources/drawable/new_tablet_ic_menu_forward.xml
rename : mobile/android/base/resources/values/layout.xml => mobile/android/base/resources/drawable/new_tablet_ic_menu_reload.xml
rename : mobile/android/base/resources/values/layout.xml => mobile/android/base/resources/drawable/new_tablet_tabs_count.xml
2014-10-03 11:47:45 +01:00
Martyn Haigh
9e69647074 Bug 1075576 - Change the TabsLayoutAdapter API to use TabsLayoutItemView instead of the generic View (r=lucasr) 2014-10-02 15:39:26 +01:00
Martyn Haigh
0bb450f71d Bug 1066905 - Merge TabRow and TabsLayoutItemView (r=lucasr) 2014-10-01 15:59:47 +01:00
Nick Alexander
c7eb81d119 Bug 1064177 - Part 2: Don't show Synced Tabs home panel in Guest Mode. r=wesj
We hard-code a number of default panel configuration options here, so
let's add another.

I don't care to migrate serialized Guest profile Home Panel
configurations forward.  I don't expect there are any: no Home Panel
configuration is written to SharedPreferences until the user edits the
default configuration in Settings > Customize > Home, and I expect ~0
folks to have taken these steps while in Guest Mode.

While I was here, I updated the other uses of GeckoProfile.inGuestMode
to guard Sync related things that I found.

--HG--
extra : rebase_source : 995a70fb19abbd1958e84f2517bd864ffdf75584
2014-09-26 11:44:56 -07:00
Michael Comella
937d77faf4 Bug 1071878 - Put an empty rectangle for websites without favicons on new tablet. r=lucasr
--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/favicon_none.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/favicon_none.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/favicon_none.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/favicon_none.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_default_favicon.png
2014-09-24 16:38:33 -07:00
Martyn Haigh
878ee5bf23 Bug 1046206 - Change TabsPanel to use alternative layout when isNewTablet (r=lucasr) 2014-09-24 11:55:47 +01:00
Martyn Haigh
a70326e54f Bug 1056920 - Create grid based layout for tabs (r=lucasr) 2014-09-23 15:06:36 +01:00
Michael Comella
f4a84162dd Bug 1066253 - Part 2: Put favicons in the tab strip. r=lucasr 2014-09-22 14:44:49 -07:00
Ryan VanderMeulen
15d6f5ac3e Backed out 3 changesets (bug 1056920) for Android bustage on a CLOSED TREE.
Backed out changeset 89abe3df46af (bug 1056920)
Backed out changeset 881af39f223d (bug 1056920)
Backed out changeset a21fee67d9dc (bug 1056920)
2014-09-22 12:53:16 -04:00
Martyn Haigh
0beb28bc02 Bug 1056920 - Create grid based layout for tabs (r=lucasr) 2014-09-22 17:22:13 +01:00
Martyn Haigh
8975b51d4c Backout bug 1056920 - incorrectly pushed (r=backout) 2014-09-22 16:44:45 +01:00
Martyn Haigh
c7dbdd6f98 Bug 1056920 - Create grid based layout for tabs (r=lucasr) 2014-09-22 16:29:35 +01:00
Martyn Haigh
2edb9eebdc Bug 1055539 - Rename TabsPanel internal class from TabsListContainer to PanelViewContainer (r=lucasr) 2014-09-22 15:37:34 +01:00
Martyn Haigh
ff558ffd0f Bug 1061163 - Rename tab_row to tabs_layout_item_view (r=lucasr) 2014-09-22 15:28:28 +01:00
Lucas Rocha
082dcacd46 Bug 1015447 - Top-level container for tab strip with 'new tab' button (r=mcomella) 2014-09-12 11:45:58 +01:00
Lucas Rocha
87cb2645c5 Bug 1014987 - Gracefully handle out-of-bounds positions in TabsStripAdapter (r=mcomella) 2014-09-11 00:27:01 +01:00
Lucas Rocha
4abd73bbfb Bug 1014987 - Introduce the new tab strip views (r=mcomella) 2014-09-10 21:28:58 +01:00
Lucas Rocha
d10e53c8ae Merge m-c to larch 2014-09-09 17:46:44 +01:00
Lucas Rocha
15fcefeec7 Backout bug 1014987, reftest failures (r=backout) 2014-09-09 17:17:03 +01:00
Lucas Rocha
f557f1e603 Bug 1014987 - Introduce the new tab strip views (r=mcomella) 2014-09-09 13:45:18 +01:00
Richard Newman
11cf0d9be0 Bug 1044334 - Part 3: fix access to tabs_panel_footer in TabsPanel. r=lucasr 2014-09-08 21:32:47 -07:00
Martyn Haigh
c5c80e62bc Bug 1060345: Create a way of dynamically inflating the correct tab layout (r=lucasr) 2014-09-05 16:52:44 +01:00
Lucas Rocha
1588fe4cbe Merge m-c to larch 2014-09-05 14:37:02 +01:00
Martyn Haigh
37c2fc80f4 Bug 1055595 - Part 4: rename and extract adapter, make abstract and create concrete implementation within the list view (r=lucasr) 2014-09-05 09:28:25 +01:00
Martyn Haigh
a9590e0b46 Bug 1055595 - Part 3: introduce newView/bindView constructs in to adapter (r=lucasr) 2014-09-05 09:28:24 +01:00
Martyn Haigh
816adf39e3 Bug 1055595 - Part 2: move code from layout to item view (r=lucasr) 2014-09-05 09:28:24 +01:00
Martyn Haigh
ff2dd14741 Bug 1055595 - Part 1: Simplify adapter (r=lucasr) 2014-09-05 09:28:24 +01:00
Lucas Rocha
a51bc86e57 Backout bug 1055595, build failures (r=backout) 2014-09-04 18:29:19 +01:00
Martyn Haigh
f62424839a Bug 1055595 - Part 4: rename and extract adapter, make abstract and create concrete implementation within the list view (r=lucasr) 2014-09-04 16:54:01 +01:00
Martyn Haigh
d8b38fd683 Bug 1055595 - Part 3: introduce newView/bindView constructs in to adapter (r=lucasr) 2014-09-04 16:54:01 +01:00
Martyn Haigh
569276ea5c Bug 1055595 - Part 2: move code from layout to item view (r=lucasr) 2014-09-04 16:54:01 +01:00
Martyn Haigh
ccf1d16193 Bug 1055595 - Part 1: Simplify Adapter (r=lucasr) 2014-09-04 16:54:00 +01:00
Martyn Haigh
87b0f0e0f9 Bug 1056169 - Factor out TabRow and rename it to TabsLayoutItemView (r=lucasr) 2014-08-27 17:11:56 +01:00
Martyn Haigh
56d3538ac3 Bug 1046209 - Part 2: Extract TabsLayout interface (r=lucasr) 2014-08-27 16:17:59 +01:00
Martyn Haigh
e04d34ef33 Bug 1046209 - Part 1: Rename TabsTray to TabsListLayout (r=lucasr)
--HG--
rename : mobile/android/base/tabs/TabsTray.java => mobile/android/base/tabs/TabsListLayout.java
2014-08-27 15:45:23 +01:00
Federico Paolinelli
3c67de244d Bug 1056315 - Animate tab panel header on first tabs panel open. r=nalexander 2014-08-21 11:31:00 -04:00
Lucas Rocha
e847d2234b Bug 1055576 - Factor out code to draw tab curves (r=mcomella) 2014-08-21 17:14:28 +01:00
Ed Morley
247efa516c Backed out changeset efe3c7a0091c (bug 1016613) for causing bug 1054623 again 2014-08-18 08:19:39 +01:00
Ethan Pransky
eef44151b3 Bug 1016613 - Replace RemoteTabsPanel view with ViewStub in tabs_panel.xml and create new layout file to inflate the ViewStub when user clicks on 3rd button in TabsPanel. r=mcomella
This was done in order to save on resources and not create the RemoteTabsPanel until needed
2014-08-13 10:39:32 -07:00
Lucas Rocha
fba8701548 Bug 1046212 - Rename tabspanel package to simply tabs (r=mcomella)
--HG--
rename : mobile/android/base/tabspanel/PrivateTabsPanel.java => mobile/android/base/tabs/PrivateTabsPanel.java
rename : mobile/android/base/tabspanel/RemoteTabsContainerPanel.java => mobile/android/base/tabs/RemoteTabsContainerPanel.java
rename : mobile/android/base/tabspanel/RemoteTabsList.java => mobile/android/base/tabs/RemoteTabsList.java
rename : mobile/android/base/tabspanel/RemoteTabsPanel.java => mobile/android/base/tabs/RemoteTabsPanel.java
rename : mobile/android/base/tabspanel/RemoteTabsSetupPanel.java => mobile/android/base/tabs/RemoteTabsSetupPanel.java
rename : mobile/android/base/tabspanel/RemoteTabsVerificationPanel.java => mobile/android/base/tabs/RemoteTabsVerificationPanel.java
rename : mobile/android/base/tabspanel/TabsPanel.java => mobile/android/base/tabs/TabsPanel.java
rename : mobile/android/base/tabspanel/TabsTray.java => mobile/android/base/tabs/TabsTray.java
2014-08-06 15:59:41 +01:00
Nick Alexander
d69784074f Bug 1057637 - Extract a re-usable ExpandableListAdapter out of RemoteTabsList. r=mcomella
This patch does a few other small things as well:

* It exposes the client device type.  This will be used later, as part of
  the visual refresh.
* Aligns the field names in remote_tabs_child with the names used by
  TwoLinePageRow.  This will be used later, when we finally use said
  standard view class.

--HG--
extra : rebase_source : 291f69a5f9b68801dd9154c5d291c6795d218ff6
2014-08-29 11:56:41 -07:00