| OLD | NEW |
| 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 Loading... |
| 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 11 matching lines...) Expand all Loading... |
| 80 public static final String GROUP_MEDIA_PLAYBACK = "MediaPlayback"; | 85 public static final String GROUP_MEDIA_PLAYBACK = "MediaPlayback"; |
| 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 | 89 |
| 85 // Web notification group names are set dynamically as this prefix + notific
ation origin. | 90 // Web notification group names are set dynamically as this prefix + notific
ation origin. |
| 86 // For example, 'Web:chromium.org' for a notification from chromium.org. | 91 // For example, 'Web:chromium.org' for a notification from chromium.org. |
| 87 static final String GROUP_WEB_PREFIX = "Web:"; | 92 static final String GROUP_WEB_PREFIX = "Web:"; |
| 88 | 93 |
| 89 } | 94 } |
| OLD | NEW |