Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: chrome/android/java/res/layout/new_tab_page_layout.xml

Issue 2673003003: Rename MostVisited ui bits to Tile(Grid). (Closed)
Patch Set: Rebase. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/new_tab_page_layout.xml
diff --git a/chrome/android/java/res/layout/new_tab_page_layout.xml b/chrome/android/java/res/layout/new_tab_page_layout.xml
index 0af0820714c0ddea39e14a045fa09063bde81086..aca5715d1d61539933607a149dfee5761611da52 100644
--- a/chrome/android/java/res/layout/new_tab_page_layout.xml
+++ b/chrome/android/java/res/layout/new_tab_page_layout.xml
@@ -102,26 +102,26 @@
android:layout_weight="0"
android:visibility="invisible" />
- <!-- Most visited items -->
- <org.chromium.chrome.browser.ntp.MostVisitedLayout
- android:id="@+id/most_visited_layout"
+ <!-- Site suggestion tiles -->
+ <org.chromium.chrome.browser.suggestions.TileGridLayout
+ android:id="@+id/tile_grid_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:layout_marginStart="12dp"
android:layout_marginEnd="12dp"
android:layout_gravity="center_horizontal"
- android:paddingTop="@dimen/most_visited_layout_padding_top"
+ android:paddingTop="@dimen/tile_grid_layout_padding_top"
android:paddingBottom="4dp" />
- <!-- Most visited items placeholder -->
+ <!-- Site suggestions tile grid placeholder -->
<ViewStub
- android:id="@+id/most_visited_placeholder_stub"
+ android:id="@+id/tile_grid_placeholder_stub"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:inflatedId="@+id/most_visited_placeholder"
- android:layout="@layout/most_visited_placeholder" />
+ android:inflatedId="@+id/tile_grid_placeholder"
+ android:layout="@layout/new_tab_page_tile_grid_placeholder" />
<!-- Bottom spacer -->
<View

Powered by Google App Engine
This is Rietveld 408576698