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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationConstants.java

Issue 2699253003: Abstracting over Notification.Builder + NotificationCompat.Builder (Closed)
Patch Set: Abstracting over Notification.Builder + NotificationCompat.Builder Created 3 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.notifications; 5 package org.chromium.chrome.browser.notifications;
6 6
7 import android.content.Intent; 7 import android.content.Intent;
8 8
9 /** 9 /**
10 * Constants used in more than a single Notification class, e.g. intents and ext ra names. 10 * Constants used in more than a single Notification class, e.g. intents and ext ra names.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 public static final String GROUP_DOWNLOADS = "Downloads"; 70 public static final String GROUP_DOWNLOADS = "Downloads";
71 public static final String GROUP_INCOGNITO = "Incognito"; 71 public static final String GROUP_INCOGNITO = "Incognito";
72 public static final String GROUP_MEDIA_PLAYBACK = "MediaPlayback"; 72 public static final String GROUP_MEDIA_PLAYBACK = "MediaPlayback";
73 public static final String GROUP_MEDIA_PRESENTATION = "MediaPresentation"; 73 public static final String GROUP_MEDIA_PRESENTATION = "MediaPresentation";
74 public static final String GROUP_MEDIA_REMOTE = "MediaRemote"; 74 public static final String GROUP_MEDIA_REMOTE = "MediaRemote";
75 public static final String GROUP_SYNC = "Sync"; 75 public static final String GROUP_SYNC = "Sync";
76 76
77 // Web notification group names are set dynamically as this prefix + notific ation origin. 77 // Web notification group names are set dynamically as this prefix + notific ation origin.
78 // For example, 'Web:chromium.org' for a notification from chromium.org. 78 // For example, 'Web:chromium.org' for a notification from chromium.org.
79 static final String GROUP_WEB_PREFIX = "Web:"; 79 static final String GROUP_WEB_PREFIX = "Web:";
80
81 public static final String TYPE_ID_GENERAL = "general";
82 public static final String TYPE_NAME_GENERAL = "General"; // TODO Define thi s in GRD not here
83
84 public static final String TYPE_ID_INCOGNITO = "incognito";
85 public static final String TYPE_NAME_INCOGNITO =
86 "Incognito"; // TODO Define this in GRD not here
Peter Beverloo 2017/02/20 01:06:45 We should fulfil these TODOs in this CL.
awdf 2017/02/24 00:38:47 Done. (Added 'General' string to grd file, removed
80 } 87 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698