| Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageListItem.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/NewTabPageListItem.java
|
| index b3aec14836e2f54e128d6952b67ed92264d953bf..9a73f1377c98dd71970f3b0b8e0b930ff0331754 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/NewTabPageListItem.java
|
| @@ -18,7 +18,7 @@
|
| * @see NewTabPageListItem#getType()
|
| */
|
| @IntDef({VIEW_TYPE_ABOVE_THE_FOLD, VIEW_TYPE_HEADER, VIEW_TYPE_SNIPPET, VIEW_TYPE_SPACING,
|
| - VIEW_TYPE_STATUS})
|
| + VIEW_TYPE_STATUS, VIEW_TYPE_PROGRESS})
|
| @Retention(RetentionPolicy.SOURCE)
|
| public @interface ViewType {}
|
|
|
| @@ -53,6 +53,12 @@
|
| public static final int VIEW_TYPE_STATUS = 5;
|
|
|
| /**
|
| + * View type for a {@link ProgressListItem}, the progress indicator.
|
| + * @see Adapter#getItemViewType(int)
|
| + */
|
| + public static final int VIEW_TYPE_PROGRESS = 6;
|
| +
|
| + /**
|
| * Returns the type ({@link ViewType}) of this list item. This is so we can
|
| * distinguish between different elements that are held in a single RecyclerView holder.
|
| *
|
|
|