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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsCategory.java

Issue 2196273002: Zine: support multiple sections in the ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/snippets/SuggestionsCategory.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsCategory.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsCategory.java
new file mode 100644
index 0000000000000000000000000000000000000000..a805307eea11ec8c9a2e84eb23a221cbf0701397
--- /dev/null
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SuggestionsCategory.java
@@ -0,0 +1,15 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.ntp.snippets;
+
+import android.support.annotation.IntDef;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+@IntDef({ContentSuggestionsCategory.ARTICLES,
+ ContentSuggestionsCategory.OFFLINE_PAGES})
+@Retention(RetentionPolicy.SOURCE)
+public @interface SuggestionsCategory {}
PEConn 2016/08/01 16:26:51 My CL has now landed, so we should be able to remo
Bernhard Bauer 2016/08/02 13:03:27 Indeed! Done.

Powered by Google App Engine
This is Rietveld 408576698