Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 141 // details unused. | 141 // details unused. |
| 142 NOTIFICATION_BOOKMARK_BUBBLE_HIDDEN, | 142 NOTIFICATION_BOOKMARK_BUBBLE_HIDDEN, |
| 143 | 143 |
| 144 // This notification is sent when the result of a find-in-page search is | 144 // This notification is sent when the result of a find-in-page search is |
| 145 // available with the browser process. The source is a Source<TabContents> | 145 // available with the browser process. The source is a Source<TabContents> |
| 146 // with a pointer to the TabContents. Details encompass a | 146 // with a pointer to the TabContents. Details encompass a |
| 147 // FindNotificationDetail object that tells whether the match was found or | 147 // FindNotificationDetail object that tells whether the match was found or |
| 148 // not found. | 148 // not found. |
| 149 NOTIFICATION_FIND_RESULT_AVAILABLE, | 149 NOTIFICATION_FIND_RESULT_AVAILABLE, |
| 150 | 150 |
| 151 // Sent just before the installation confirm dialog is shown. The source | |
| 152 // is the ExtensionInstallUI, the details are NoDetails. | |
| 153 NOTIFICATION_EXTENSION_WILL_SHOW_CONFIRM_DIALOG, | |
|
jstritar
2012/04/16 20:53:37
This wasn't being used by anyone... I can leave it
| |
| 154 | |
| 155 // BackgroundContents ------------------------------------------------------ | 151 // BackgroundContents ------------------------------------------------------ |
| 156 | 152 |
| 157 // A new background contents was opened by script. The source is the parent | 153 // A new background contents was opened by script. The source is the parent |
| 158 // profile and the details are BackgroundContentsOpenedDetails. | 154 // profile and the details are BackgroundContentsOpenedDetails. |
| 159 NOTIFICATION_BACKGROUND_CONTENTS_OPENED, | 155 NOTIFICATION_BACKGROUND_CONTENTS_OPENED, |
| 160 | 156 |
| 161 // The background contents navigated to a new location. The source is the | 157 // The background contents navigated to a new location. The source is the |
| 162 // parent Profile, and the details are the BackgroundContents that was | 158 // parent Profile, and the details are the BackgroundContents that was |
| 163 // navigated. | 159 // navigated. |
| 164 NOTIFICATION_BACKGROUND_CONTENTS_NAVIGATED, | 160 NOTIFICATION_BACKGROUND_CONTENTS_NAVIGATED, |
| (...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1056 // Currently only Content and Chrome define and use notifications. | 1052 // Currently only Content and Chrome define and use notifications. |
| 1057 // Custom notifications not belonging to Content and Chrome should start | 1053 // Custom notifications not belonging to Content and Chrome should start |
| 1058 // from here. | 1054 // from here. |
| 1059 NOTIFICATION_CHROME_END, | 1055 NOTIFICATION_CHROME_END, |
| 1060 }; | 1056 }; |
| 1061 | 1057 |
| 1062 } // namespace chrome | 1058 } // namespace chrome |
| 1063 | 1059 |
| 1064 | 1060 |
| 1065 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1061 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |