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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/suggestions/PartialUpdateId.java

Issue 2651743002: 📰 Fix card style when a neighbour is added or removed (Closed)
Patch Set: rebase Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chrome.browser.suggestions; 5 package org.chromium.chrome.browser.suggestions;
6 6
7 import android.support.annotation.IntDef; 7 import android.support.annotation.IntDef;
8 8
9 import java.lang.annotation.Retention; 9 import java.lang.annotation.Retention;
10 import java.lang.annotation.RetentionPolicy; 10 import java.lang.annotation.RetentionPolicy;
11 11
12 /** 12 /**
13 * Payloads to be passed to mark the different types of partial binds that can b e made on view 13 * Payloads to be passed to mark the different types of partial binds that can b e made on view
14 * holders 14 * holders
15 * @see org.chromium.chrome.browser.ntp.cards.InnerNode#notifyItemChanged(int, O bject) 15 * @see org.chromium.chrome.browser.ntp.cards.InnerNode#notifyItemChanged(int, O bject)
16 */ 16 */
17 @IntDef({PartialUpdateId.OFFLINE_BADGE}) 17 @IntDef({PartialUpdateId.OFFLINE_BADGE})
18 @Retention(RetentionPolicy.SOURCE) 18 @Retention(RetentionPolicy.SOURCE)
19 public @interface PartialUpdateId { 19 public @interface PartialUpdateId {
20 /** Marks a request to update a suggestion's offline badge */ 20 /** Marks a request to update a suggestion's offline badge */
21 int OFFLINE_BADGE = 1; 21 int OFFLINE_BADGE = 1;
22
23 /** Marks a request to update a card's background */
Bernhard Bauer 2017/01/24 17:20:05 Maybe add a comment that this might be dispatched
dgn 2017/01/24 20:09:53 Done.
24 int CARD_BACKGROUND = 2;
22 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698