Chromium Code Reviews| 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 // 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 421 std::string /* font_family */, | 421 std::string /* font_family */, |
| 422 std::string /* font_size */) | 422 std::string /* font_size */) |
| 423 | 423 |
| 424 // Marks an extension as 'active' in an extension process. 'Active' extensions | 424 // Marks an extension as 'active' in an extension process. 'Active' extensions |
| 425 // have more privileges than other extension content that might end up running | 425 // have more privileges than other extension content that might end up running |
| 426 // in the process (e.g. because of iframes or content scripts). | 426 // in the process (e.g. because of iframes or content scripts). |
| 427 IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateExtension, | 427 IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateExtension, |
| 428 std::string /* extension_id */) | 428 std::string /* extension_id */) |
| 429 | 429 |
| 430 // Notifies the renderer that extensions were loaded in the browser. | 430 // Notifies the renderer that extensions were loaded in the browser. |
| 431 IPC_MESSAGE_CONTROL1(ExtensionMsg_Loaded, | 431 IPC_MESSAGE_CONTROL2(ExtensionMsg_Loaded, |
| 432 std::vector<ExtensionMsg_Loaded_Params>) | 432 std::vector<ExtensionMsg_Loaded_Params>, |
| 433 std::string /* webview_partition_id */) | |
|
not at google - send to devlin
2015/08/27 20:01:25
This seems like an arbitrary IPC to add this to. I
paulmeyer
2015/08/31 15:32:55
Done.
| |
| 433 | 434 |
| 434 // Notifies the renderer that an extension was unloaded in the browser. | 435 // Notifies the renderer that an extension was unloaded in the browser. |
| 435 IPC_MESSAGE_CONTROL1(ExtensionMsg_Unloaded, | 436 IPC_MESSAGE_CONTROL1(ExtensionMsg_Unloaded, |
| 436 std::string) | 437 std::string) |
| 437 | 438 |
| 438 // Updates the scripting whitelist for extensions in the render process. This is | 439 // Updates the scripting whitelist for extensions in the render process. This is |
| 439 // only used for testing. | 440 // only used for testing. |
| 440 IPC_MESSAGE_CONTROL1(ExtensionMsg_SetScriptingWhitelist, | 441 IPC_MESSAGE_CONTROL1(ExtensionMsg_SetScriptingWhitelist, |
| 441 // extension ids | 442 // extension ids |
| 442 extensions::ExtensionsClient::ScriptingWhitelist) | 443 extensions::ExtensionsClient::ScriptingWhitelist) |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 795 int /* acc_obj_id */, | 796 int /* acc_obj_id */, |
| 796 base::string16 /* selector */) | 797 base::string16 /* selector */) |
| 797 | 798 |
| 798 // Result of a query selector request. | 799 // Result of a query selector request. |
| 799 // result_acc_obj_id is the accessibility tree ID of the result element; 0 | 800 // result_acc_obj_id is the accessibility tree ID of the result element; 0 |
| 800 // indicates no result. | 801 // indicates no result. |
| 801 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 802 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
| 802 int /* request_id */, | 803 int /* request_id */, |
| 803 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 804 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
| 804 int /* result_acc_obj_id */) | 805 int /* result_acc_obj_id */) |
| OLD | NEW |