| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 // Sent when the bookmark bubble hides. The source is the profile, the | 168 // Sent when the bookmark bubble hides. The source is the profile, the |
| 169 // details unused. | 169 // details unused. |
| 170 NOTIFICATION_BOOKMARK_BUBBLE_HIDDEN, | 170 NOTIFICATION_BOOKMARK_BUBBLE_HIDDEN, |
| 171 | 171 |
| 172 // This notification is sent when the result of a find-in-page search is | 172 // This notification is sent when the result of a find-in-page search is |
| 173 // available with the browser process. The source is a Source<WebContents>. | 173 // available with the browser process. The source is a Source<WebContents>. |
| 174 // Details encompass a FindNotificationDetail object that tells whether the | 174 // Details encompass a FindNotificationDetail object that tells whether the |
| 175 // match was found or not found. | 175 // match was found or not found. |
| 176 NOTIFICATION_FIND_RESULT_AVAILABLE, | 176 NOTIFICATION_FIND_RESULT_AVAILABLE, |
| 177 | 177 |
| 178 // Sent just before the installation confirm dialog is shown. The source | |
| 179 // is the ExtensionInstallUI, the details are NoDetails. | |
| 180 NOTIFICATION_EXTENSION_WILL_SHOW_CONFIRM_DIALOG, | |
| 181 | |
| 182 // BackgroundContents ------------------------------------------------------ | 178 // BackgroundContents ------------------------------------------------------ |
| 183 | 179 |
| 184 // A new background contents was opened by script. The source is the parent | 180 // A new background contents was opened by script. The source is the parent |
| 185 // profile and the details are BackgroundContentsOpenedDetails. | 181 // profile and the details are BackgroundContentsOpenedDetails. |
| 186 NOTIFICATION_BACKGROUND_CONTENTS_OPENED, | 182 NOTIFICATION_BACKGROUND_CONTENTS_OPENED, |
| 187 | 183 |
| 188 // The background contents navigated to a new location. The source is the | 184 // The background contents navigated to a new location. The source is the |
| 189 // parent Profile, and the details are the BackgroundContents that was | 185 // parent Profile, and the details are the BackgroundContents that was |
| 190 // navigated. | 186 // navigated. |
| 191 NOTIFICATION_BACKGROUND_CONTENTS_NAVIGATED, | 187 NOTIFICATION_BACKGROUND_CONTENTS_NAVIGATED, |
| (...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1090 // Currently only Content and Chrome define and use notifications. | 1086 // Currently only Content and Chrome define and use notifications. |
| 1091 // Custom notifications not belonging to Content and Chrome should start | 1087 // Custom notifications not belonging to Content and Chrome should start |
| 1092 // from here. | 1088 // from here. |
| 1093 NOTIFICATION_CHROME_END, | 1089 NOTIFICATION_CHROME_END, |
| 1094 }; | 1090 }; |
| 1095 | 1091 |
| 1096 } // namespace chrome | 1092 } // namespace chrome |
| 1097 | 1093 |
| 1098 | 1094 |
| 1099 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1095 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |