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 CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| 7 | 7 |
| 8 // This file describes various types used to describe and filter notifications | 8 // This file describes various types used to describe and filter notifications |
| 9 // that pass through the NotificationService. | 9 // that pass through the NotificationService. |
| 10 // | 10 // |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 156 | 156 |
| 157 // This message is sent when the application is terminating (the last | 157 // This message is sent when the application is terminating (the last |
| 158 // browser window has shutdown as part of an explicit user-initiated exit, | 158 // browser window has shutdown as part of an explicit user-initiated exit, |
| 159 // or the user closed the last browser window on Windows/Linux and there are | 159 // or the user closed the last browser window on Windows/Linux and there are |
| 160 // no BackgroundContents keeping the browser running). No source or details | 160 // no BackgroundContents keeping the browser running). No source or details |
| 161 // are passed. | 161 // are passed. |
| 162 NOTIFICATION_APP_TERMINATING, | 162 NOTIFICATION_APP_TERMINATING, |
| 163 | 163 |
| 164 // Devtools ------------------------------------------------------------------ | 164 // Devtools ------------------------------------------------------------------ |
| 165 | 165 |
| 166 // Indicates that a devtools window is opening. The source is the | 166 // Indicates that a devtools window is opening. The source is the |
|
yurys
2012/08/21 19:52:55
Please update the comment. At least type of the de
yurys
2012/08/21 20:08:55
I was wrong, it's still RVH. Ignore this comment.
Matt Perry
2012/08/21 20:13:46
Updated comment. But the details are still the RVH
| |
| 167 // BrowserContext* and the details is the inspected RenderViewHost*. | 167 // BrowserContext* and the details is the inspected RenderViewHost*. |
| 168 NOTIFICATION_DEVTOOLS_WINDOW_OPENING, | 168 NOTIFICATION_DEVTOOLS_AGENT_ATTACHED, |
| 169 | 169 |
| 170 // Indicates that a devtools window is closing. The source is the | 170 // Indicates that a devtools window is closing. The source is the |
| 171 // BrowserContext* and the details is the inspected RenderViewHost*. | 171 // BrowserContext* and the details is the inspected RenderViewHost*. |
| 172 NOTIFICATION_DEVTOOLS_WINDOW_CLOSING, | 172 NOTIFICATION_DEVTOOLS_AGENT_DETACHED, |
| 173 | 173 |
| 174 // WebContents --------------------------------------------------------------- | 174 // WebContents --------------------------------------------------------------- |
| 175 | 175 |
| 176 // This notification is sent when a render view host has connected to a | 176 // This notification is sent when a render view host has connected to a |
| 177 // renderer process. The source is a Source<WebContents> with a pointer to | 177 // renderer process. The source is a Source<WebContents> with a pointer to |
| 178 // the WebContents. A WEB_CONTENTS_DISCONNECTED notification is | 178 // the WebContents. A WEB_CONTENTS_DISCONNECTED notification is |
| 179 // guaranteed before the source pointer becomes junk. No details are | 179 // guaranteed before the source pointer becomes junk. No details are |
| 180 // expected. | 180 // expected. |
| 181 NOTIFICATION_WEB_CONTENTS_CONNECTED, | 181 NOTIFICATION_WEB_CONTENTS_CONNECTED, |
| 182 | 182 |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 368 // of a temporary zoom level change, the details is an empty string. | 368 // of a temporary zoom level change, the details is an empty string. |
| 369 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 369 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
| 370 | 370 |
| 371 // Custom notifications used by the embedder should start from here. | 371 // Custom notifications used by the embedder should start from here. |
| 372 NOTIFICATION_CONTENT_END, | 372 NOTIFICATION_CONTENT_END, |
| 373 }; | 373 }; |
| 374 | 374 |
| 375 } // namespace content | 375 } // namespace content |
| 376 | 376 |
| 377 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 377 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| OLD | NEW |