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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageItem.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/NewTabPageItem.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageListItem.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageItem.java
similarity index 83%
rename from chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageListItem.java
rename to chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageItem.java
index ce96a5b76e2b37dfd300622b023bb52e9cbc6c60..0cc3a179d14610e75d47690f701512261fd3cb72 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageListItem.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageItem.java
@@ -11,11 +11,11 @@ import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/** Base type for anything to add to the new tab page */
-public interface NewTabPageListItem {
+public interface NewTabPageItem {
/**
* View type values for the items that will be held by the NTP's RecyclerView.
* @see Adapter#getItemViewType(int)
- * @see NewTabPageListItem#getType()
+ * @see NewTabPageItem#getType()
*/
@IntDef({VIEW_TYPE_ABOVE_THE_FOLD, VIEW_TYPE_HEADER, VIEW_TYPE_SNIPPET, VIEW_TYPE_SPACING,
VIEW_TYPE_STATUS, VIEW_TYPE_PROGRESS, VIEW_TYPE_ACTION})
@@ -41,25 +41,25 @@ public interface NewTabPageListItem {
public static final int VIEW_TYPE_SNIPPET = 3;
/**
- * View type for a {@link SpacingListItem} used to provide spacing at the end of the list.
+ * View type for a {@link SpacingItem} used to provide spacing at the end of the list.
* @see Adapter#getItemViewType(int)
*/
public static final int VIEW_TYPE_SPACING = 4;
/**
- * View type for a {@link StatusListItem}, the card displaying status information
+ * View type for a {@link StatusItem}, the card displaying status information
* @see Adapter#getItemViewType(int)
*/
public static final int VIEW_TYPE_STATUS = 5;
/**
- * View type for a {@link ProgressListItem}, the progress indicator.
+ * View type for a {@link ProgressItem}, the progress indicator.
* @see Adapter#getItemViewType(int)
*/
public static final int VIEW_TYPE_PROGRESS = 6;
/**
- * View type for a {@link ActionListItem}, an action button.
+ * View type for a {@link ActionItem}, an action button.
* @see Adapter#getItemViewType(int)
*/
public static final int VIEW_TYPE_ACTION = 7;

Powered by Google App Engine
This is Rietveld 408576698