| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common/content_notification_types.h" | 9 #include "content/common/content_notification_types.h" |
| 10 | 10 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 // details unused. | 136 // details unused. |
| 137 NOTIFICATION_BOOKMARK_BUBBLE_HIDDEN, | 137 NOTIFICATION_BOOKMARK_BUBBLE_HIDDEN, |
| 138 | 138 |
| 139 // This notification is sent when the result of a find-in-page search is | 139 // This notification is sent when the result of a find-in-page search is |
| 140 // available with the browser process. The source is a Source<TabContents> | 140 // available with the browser process. The source is a Source<TabContents> |
| 141 // with a pointer to the TabContents. Details encompass a | 141 // with a pointer to the TabContents. Details encompass a |
| 142 // FindNotificationDetail object that tells whether the match was found or | 142 // FindNotificationDetail object that tells whether the match was found or |
| 143 // not found. | 143 // not found. |
| 144 NOTIFICATION_FIND_RESULT_AVAILABLE, | 144 NOTIFICATION_FIND_RESULT_AVAILABLE, |
| 145 | 145 |
| 146 // This is sent when the users preference for when the bookmark bar should | |
| 147 // be shown changes. The source is the profile, and the details are | |
| 148 // NoDetails. | |
| 149 NOTIFICATION_BOOKMARK_BAR_VISIBILITY_PREF_CHANGED, | |
| 150 | |
| 151 // Sent just before the installation confirm dialog is shown. The source | 146 // Sent just before the installation confirm dialog is shown. The source |
| 152 // is the ExtensionInstallUI, the details are NoDetails. | 147 // is the ExtensionInstallUI, the details are NoDetails. |
| 153 NOTIFICATION_EXTENSION_WILL_SHOW_CONFIRM_DIALOG, | 148 NOTIFICATION_EXTENSION_WILL_SHOW_CONFIRM_DIALOG, |
| 154 | 149 |
| 155 // BackgroundContents ------------------------------------------------------ | 150 // BackgroundContents ------------------------------------------------------ |
| 156 | 151 |
| 157 // A new background contents was opened by script. The source is the parent | 152 // A new background contents was opened by script. The source is the parent |
| 158 // profile and the details are BackgroundContentsOpenedDetails. | 153 // profile and the details are BackgroundContentsOpenedDetails. |
| 159 NOTIFICATION_BACKGROUND_CONTENTS_OPENED, | 154 NOTIFICATION_BACKGROUND_CONTENTS_OPENED, |
| 160 | 155 |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 // Currently only Content and Chrome define and use notifications. | 933 // Currently only Content and Chrome define and use notifications. |
| 939 // Custom notifications not belonging to Content and Chrome should start | 934 // Custom notifications not belonging to Content and Chrome should start |
| 940 // from here. | 935 // from here. |
| 941 NOTIFICATION_CHROME_END, | 936 NOTIFICATION_CHROME_END, |
| 942 }; | 937 }; |
| 943 | 938 |
| 944 } // namespace chrome | 939 } // namespace chrome |
| 945 | 940 |
| 946 | 941 |
| 947 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 942 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |