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

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

Issue 2876863002: [Android] Show notification for opening new tab in background of Browser Actions (Closed)
Patch Set: Fix trybots errors. Created 3 years, 6 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 * Unique identifier for the "Signed in to Chrome" notification. 49 * Unique identifier for the "Signed in to Chrome" notification.
50 */ 50 */
51 @SuppressWarnings("unused") 51 @SuppressWarnings("unused")
52 public static final int NOTIFICATION_ID_SIGNED_IN = 2; 52 public static final int NOTIFICATION_ID_SIGNED_IN = 2;
53 /** 53 /**
54 * Unique identifier for the Physical Web notification. 54 * Unique identifier for the Physical Web notification.
55 */ 55 */
56 public static final int NOTIFICATION_ID_PHYSICAL_WEB = 3; 56 public static final int NOTIFICATION_ID_PHYSICAL_WEB = 3;
57 57
58 /** 58 /**
59 * Unique identifier for Browser Actions notification.
60 */
61 public static final int NOTIFICATION_ID_BROWSER_ACTIONS = 4;
62
63 /**
59 * Unique identifier for the summary notification for downloads. Using the ID this summary was 64 * Unique identifier for the summary notification for downloads. Using the ID this summary was
60 * going to have before it was migrated here. 65 * going to have before it was migrated here.
61 * TODO(dtrainor): Clean up this ID and make sure it's in line with existing id counters without 66 * TODO(dtrainor): Clean up this ID and make sure it's in line with existing id counters without
62 * tags. 67 * tags.
63 */ 68 */
64 public static final int NOTIFICATION_ID_DOWNLOAD_SUMMARY = 999999; 69 public static final int NOTIFICATION_ID_DOWNLOAD_SUMMARY = 999999;
65 70
66 /** 71 /**
67 * Separator used to separate the notification origin from additional data s uch as the 72 * Separator used to separate the notification origin from additional data s uch as the
68 * developer specified tag. 73 * developer specified tag.
(...skipping 12 matching lines...) Expand all
81 public static final String GROUP_MEDIA_PRESENTATION = "MediaPresentation"; 86 public static final String GROUP_MEDIA_PRESENTATION = "MediaPresentation";
82 public static final String GROUP_MEDIA_REMOTE = "MediaRemote"; 87 public static final String GROUP_MEDIA_REMOTE = "MediaRemote";
83 public static final String GROUP_SYNC = "Sync"; 88 public static final String GROUP_SYNC = "Sync";
84 public static final String GROUP_WEBAPK = "WebApk"; 89 public static final String GROUP_WEBAPK = "WebApk";
85 90
86 // Web notification group names are set dynamically as this prefix + notific ation origin. 91 // Web notification group names are set dynamically as this prefix + notific ation origin.
87 // For example, 'Web:chromium.org' for a notification from chromium.org. 92 // For example, 'Web:chromium.org' for a notification from chromium.org.
88 static final String GROUP_WEB_PREFIX = "Web:"; 93 static final String GROUP_WEB_PREFIX = "Web:";
89 94
90 } 95 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698