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

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

Issue 2520443002: Make AllDismissedItem and Footer optional leaves. (Closed)
Patch Set: comments Created 4 years, 1 month 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/Footer.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AllDismissedItem.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AllDismissedItem.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AllDismissedItem.java
index d9a0895d4e4a82dc1b33830f0030b40ff5b1c846..08404c3fb95a8ded578aac116ca63e405fe955d6 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AllDismissedItem.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/AllDismissedItem.java
@@ -22,7 +22,14 @@ import java.util.Calendar;
* Displayed when all suggested content and their sections have been dismissed. Provides a button
* to restore the dismissed sections and load new suggestions from the server.
*/
-public class AllDismissedItem extends Leaf {
+public class AllDismissedItem extends OptionalLeaf {
+ /**
+ * @param parent The item's parent node.
+ */
+ public AllDismissedItem(NodeParent parent) {
+ super(parent);
+ }
+
@Override
@ItemViewType
public int getItemViewType() {
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/Footer.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698