| 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 // IPC messages for extensions. | 5 // IPC messages for extensions. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 ~ExtensionMsg_Loaded_Params(); | 156 ~ExtensionMsg_Loaded_Params(); |
| 157 explicit ExtensionMsg_Loaded_Params(const extensions::Extension* extension); | 157 explicit ExtensionMsg_Loaded_Params(const extensions::Extension* extension); |
| 158 | 158 |
| 159 // Creates a new extension from the data in this object. | 159 // Creates a new extension from the data in this object. |
| 160 scoped_refptr<extensions::Extension> ConvertToExtension() const; | 160 scoped_refptr<extensions::Extension> ConvertToExtension() const; |
| 161 | 161 |
| 162 // The subset of the extension manifest data we send to renderers. | 162 // The subset of the extension manifest data we send to renderers. |
| 163 linked_ptr<DictionaryValue> manifest; | 163 linked_ptr<DictionaryValue> manifest; |
| 164 | 164 |
| 165 // The location the extension was installed from. | 165 // The location the extension was installed from. |
| 166 extensions::Extension::Location location; | 166 extensions::Manifest::Location location; |
| 167 | 167 |
| 168 // The path the extension was loaded from. This is used in the renderer only | 168 // The path the extension was loaded from. This is used in the renderer only |
| 169 // to generate the extension ID for extensions that are loaded unpacked. | 169 // to generate the extension ID for extensions that are loaded unpacked. |
| 170 FilePath path; | 170 FilePath path; |
| 171 | 171 |
| 172 // The extension's active permissions. | 172 // The extension's active permissions. |
| 173 extensions::APIPermissionSet apis; | 173 extensions::APIPermissionSet apis; |
| 174 extensions::URLPatternSet explicit_hosts; | 174 extensions::URLPatternSet explicit_hosts; |
| 175 extensions::URLPatternSet scriptable_hosts; | 175 extensions::URLPatternSet scriptable_hosts; |
| 176 | 176 |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 // Notifies the browser process that a tab has started or stopped matching | 591 // Notifies the browser process that a tab has started or stopped matching |
| 592 // certain conditions. This message is sent in response to several events: | 592 // certain conditions. This message is sent in response to several events: |
| 593 // | 593 // |
| 594 // * ExtensionMsg_WatchPages was received, updating the set of conditions. | 594 // * ExtensionMsg_WatchPages was received, updating the set of conditions. |
| 595 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. | 595 // * A new page is loaded. This will be sent after ViewHostMsg_FrameNavigate. |
| 596 // Currently this only fires for the main frame. | 596 // Currently this only fires for the main frame. |
| 597 // * Something changed on an existing frame causing the set of matching searches | 597 // * Something changed on an existing frame causing the set of matching searches |
| 598 // to change. | 598 // to change. |
| 599 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, | 599 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, |
| 600 std::vector<std::string> /* Matching CSS selectors */) | 600 std::vector<std::string> /* Matching CSS selectors */) |
| OLD | NEW |