| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ | 5 #ifndef EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ |
| 6 #define EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ | 6 #define EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "content/public/browser/notification_types.h" | 10 #include "content/public/browser/notification_types.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // an ExtensionHost* and the source is a BrowserContext*. | 101 // an ExtensionHost* and the source is a BrowserContext*. |
| 102 NOTIFICATION_EXTENSION_HOST_CREATED, | 102 NOTIFICATION_EXTENSION_HOST_CREATED, |
| 103 | 103 |
| 104 // Sent before an ExtensionHost* is destroyed. The details are | 104 // Sent before an ExtensionHost* is destroyed. The details are |
| 105 // an ExtensionHost* and the source is a BrowserContext*. | 105 // an ExtensionHost* and the source is a BrowserContext*. |
| 106 NOTIFICATION_EXTENSION_HOST_DESTROYED, | 106 NOTIFICATION_EXTENSION_HOST_DESTROYED, |
| 107 | 107 |
| 108 // Sent by an ExtensionHost* when it has finished its initial page load, | 108 // Sent by an ExtensionHost* when it has finished its initial page load, |
| 109 // including any external resources. | 109 // including any external resources. |
| 110 // The details are an ExtensionHost* and the source is a BrowserContext*. | 110 // The details are an ExtensionHost* and the source is a BrowserContext*. |
| 111 NOTIFICATION_EXTENSION_HOST_DID_STOP_LOADING, | 111 NOTIFICATION_EXTENSION_HOST_DID_STOP_FIRST_LOAD, |
| 112 | 112 |
| 113 // Sent by an ExtensionHost* when its render view requests closing through | 113 // Sent by an ExtensionHost* when its render view requests closing through |
| 114 // window.close(). The details are an ExtensionHost* and the source is a | 114 // window.close(). The details are an ExtensionHost* and the source is a |
| 115 // BrowserContext*. | 115 // BrowserContext*. |
| 116 NOTIFICATION_EXTENSION_HOST_VIEW_SHOULD_CLOSE, | 116 NOTIFICATION_EXTENSION_HOST_VIEW_SHOULD_CLOSE, |
| 117 | 117 |
| 118 // Sent when extension render process ends (whether it crashes or closes). The | 118 // Sent when extension render process ends (whether it crashes or closes). The |
| 119 // details are an ExtensionHost* and the source is a BrowserContext*. Not sent | 119 // details are an ExtensionHost* and the source is a BrowserContext*. Not sent |
| 120 // during browser shutdown. | 120 // during browser shutdown. |
| 121 NOTIFICATION_EXTENSION_PROCESS_TERMINATED, | 121 NOTIFICATION_EXTENSION_PROCESS_TERMINATED, |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 const std::string& accelerator); | 221 const std::string& accelerator); |
| 222 | 222 |
| 223 std::string extension_id; | 223 std::string extension_id; |
| 224 std::string command_name; | 224 std::string command_name; |
| 225 std::string accelerator; | 225 std::string accelerator; |
| 226 }; | 226 }; |
| 227 | 227 |
| 228 } // namespace extensions | 228 } // namespace extensions |
| 229 | 229 |
| 230 #endif // EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ | 230 #endif // EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ |
| OLD | NEW |