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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AboveTheFoldItem.java

Issue 2245013003: Remove "list item" from Android NTP class names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: x Created 4 years, 4 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/src/org/chromium/chrome/browser/ntp/cards/AboveTheFoldItem.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AboveTheFoldListItem.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AboveTheFoldItem.java
similarity index 75%
rename from chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AboveTheFoldListItem.java
rename to chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AboveTheFoldItem.java
index 98604a1dc81fb341426ad1a7c42619778c628af8..3fd293abc4f8e49cf0931e9a5f0d2d27d3faeedd 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AboveTheFoldListItem.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AboveTheFoldItem.java
@@ -9,13 +9,13 @@ package org.chromium.chrome.browser.ntp.cards;
* logo, tiles and search bar that are initially visible when opening the NTP.
*
* When using the new NTP UI, that is based on a RecyclerView, the view containing the entire
- * content of the old UI is put in the AboveTheFoldListItem, and inserted in the RecyclerView.
+ * content of the old UI is put in the AboveTheFoldItem, and inserted in the RecyclerView.
* Other elements coming after it and initially off-screen are just added to the RecyclerView after
* that.
*/
-class AboveTheFoldListItem extends SingleItemGroup {
+class AboveTheFoldItem extends SingleItemGroup {
@Override
public int getType() {
- return NewTabPageListItem.VIEW_TYPE_ABOVE_THE_FOLD;
+ return NewTabPageItem.VIEW_TYPE_ABOVE_THE_FOLD;
}
}

Powered by Google App Engine
This is Rietveld 408576698