| 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 | 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 // RenderViewHost and the details are not used. | 160 // RenderViewHost and the details are not used. |
| 161 NOTIFICATION_FOCUSED_EDITABLE_NODE_TOUCHED, | 161 NOTIFICATION_FOCUSED_EDITABLE_NODE_TOUCHED, |
| 162 | 162 |
| 163 // Tabs -------------------------------------------------------------------- | 163 // Tabs -------------------------------------------------------------------- |
| 164 | 164 |
| 165 // Sent when a tab is added to a WebContentsDelegate. The source is the | 165 // Sent when a tab is added to a WebContentsDelegate. The source is the |
| 166 // WebContentsDelegate and the details is the added WebContents. | 166 // WebContentsDelegate and the details is the added WebContents. |
| 167 NOTIFICATION_TAB_ADDED, | 167 NOTIFICATION_TAB_ADDED, |
| 168 | 168 |
| 169 // This notification is sent after a tab has been appended to the tab_strip. | 169 // This notification is sent after a tab has been appended to the tab_strip. |
| 170 // The source is a Source<TabContents> of the tab being added. There | 170 // The source is a Source<WebContents> of the tab being added. There |
| 171 // are no details. | 171 // are no details. |
| 172 NOTIFICATION_TAB_PARENTED, | 172 NOTIFICATION_TAB_PARENTED, |
| 173 | 173 |
| 174 // This message is sent before a tab has been closed. The source is a | 174 // This message is sent before a tab has been closed. The source is a |
| 175 // Source<NavigationController> with a pointer to the controller for the | 175 // Source<NavigationController> with a pointer to the controller for the |
| 176 // closed tab. No details are expected. | 176 // closed tab. No details are expected. |
| 177 // | 177 // |
| 178 // See also NOTIFICATION_TAB_CONTENTS_DESTROYED, which is sent when the | 178 // See also NOTIFICATION_TAB_CONTENTS_DESTROYED, which is sent when the |
| 179 // TabContents is destroyed, and content::NOTIFICATION_WEB_CONTENTS_DESTROYED, | 179 // TabContents is destroyed, and content::NOTIFICATION_WEB_CONTENTS_DESTROYED, |
| 180 // which is sent when the WebContents containing the NavigationController is | 180 // which is sent when the WebContents containing the NavigationController is |
| (...skipping 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1261 // Currently only Content and Chrome define and use notifications. | 1261 // Currently only Content and Chrome define and use notifications. |
| 1262 // Custom notifications not belonging to Content and Chrome should start | 1262 // Custom notifications not belonging to Content and Chrome should start |
| 1263 // from here. | 1263 // from here. |
| 1264 NOTIFICATION_CHROME_END, | 1264 NOTIFICATION_CHROME_END, |
| 1265 }; | 1265 }; |
| 1266 | 1266 |
| 1267 } // namespace chrome | 1267 } // namespace chrome |
| 1268 | 1268 |
| 1269 | 1269 |
| 1270 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1270 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |