OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 NOTIFICATION_TAB_PARENTED, | 160 NOTIFICATION_TAB_PARENTED, |
161 | 161 |
162 // This message is sent before a tab has been closed. The source is a | 162 // This message is sent before a tab has been closed. The source is a |
163 // Source<NavigationController> with a pointer to the controller for the | 163 // Source<NavigationController> with a pointer to the controller for the |
164 // closed tab. No details are expected. | 164 // closed tab. No details are expected. |
165 // | 165 // |
166 // See also content::NOTIFICATION_WEB_CONTENTS_DESTROYED, which is sent when | 166 // See also content::NOTIFICATION_WEB_CONTENTS_DESTROYED, which is sent when |
167 // the WebContents containing the NavigationController is destroyed. | 167 // the WebContents containing the NavigationController is destroyed. |
168 NOTIFICATION_TAB_CLOSING, | 168 NOTIFICATION_TAB_CLOSING, |
169 | 169 |
| 170 // Sent when ZoomController receives an update that the zoom change for a tab |
| 171 // has completed. The source is a source<ZoomController>. The details contains |
| 172 // the |zoom_id| of the zoom change. |
| 173 NOTIFICATION_TAB_ZOOM_CHANGE_COMPLETE, |
| 174 |
170 // Stuff inside the tabs --------------------------------------------------- | 175 // Stuff inside the tabs --------------------------------------------------- |
171 | 176 |
172 // This notification is sent when the result of a find-in-page search is | 177 // 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>. | 178 // available with the browser process. The source is a Source<WebContents>. |
174 // Details encompass a FindNotificationDetail object that tells whether the | 179 // Details encompass a FindNotificationDetail object that tells whether the |
175 // match was found or not found. | 180 // match was found or not found. |
176 NOTIFICATION_FIND_RESULT_AVAILABLE, | 181 NOTIFICATION_FIND_RESULT_AVAILABLE, |
177 | 182 |
178 // BackgroundContents ------------------------------------------------------ | 183 // BackgroundContents ------------------------------------------------------ |
179 | 184 |
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
957 // Note:- | 962 // Note:- |
958 // Currently only Content and Chrome define and use notifications. | 963 // Currently only Content and Chrome define and use notifications. |
959 // Custom notifications not belonging to Content and Chrome should start | 964 // Custom notifications not belonging to Content and Chrome should start |
960 // from here. | 965 // from here. |
961 NOTIFICATION_CHROME_END, | 966 NOTIFICATION_CHROME_END, |
962 }; | 967 }; |
963 | 968 |
964 } // namespace chrome | 969 } // namespace chrome |
965 | 970 |
966 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 971 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |