| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 */ | 74 */ |
| 75 static final String KEY_TEXT_REPLY = "key_text_reply"; | 75 static final String KEY_TEXT_REPLY = "key_text_reply"; |
| 76 | 76 |
| 77 // Notification groups for features that show notifications to the user. | 77 // Notification groups for features that show notifications to the user. |
| 78 public static final String GROUP_DOWNLOADS = "Downloads"; | 78 public static final String GROUP_DOWNLOADS = "Downloads"; |
| 79 public static final String GROUP_INCOGNITO = "Incognito"; | 79 public static final String GROUP_INCOGNITO = "Incognito"; |
| 80 public static final String GROUP_MEDIA_PLAYBACK = "MediaPlayback"; | 80 public static final String GROUP_MEDIA_PLAYBACK = "MediaPlayback"; |
| 81 public static final String GROUP_MEDIA_PRESENTATION = "MediaPresentation"; | 81 public static final String GROUP_MEDIA_PRESENTATION = "MediaPresentation"; |
| 82 public static final String GROUP_MEDIA_REMOTE = "MediaRemote"; | 82 public static final String GROUP_MEDIA_REMOTE = "MediaRemote"; |
| 83 public static final String GROUP_SYNC = "Sync"; | 83 public static final String GROUP_SYNC = "Sync"; |
| 84 public static final String GROUP_WEBAPK = "WebApk"; |
| 84 | 85 |
| 85 // Web notification group names are set dynamically as this prefix + notific
ation origin. | 86 // 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. | 87 // For example, 'Web:chromium.org' for a notification from chromium.org. |
| 87 static final String GROUP_WEB_PREFIX = "Web:"; | 88 static final String GROUP_WEB_PREFIX = "Web:"; |
| 88 | 89 |
| 89 } | 90 } |
| OLD | NEW |