| 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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 IPC_MESSAGE_CONTROL2(ExtensionMsg_SetSystemFont, | 417 IPC_MESSAGE_CONTROL2(ExtensionMsg_SetSystemFont, |
| 418 std::string /* font_family */, | 418 std::string /* font_family */, |
| 419 std::string /* font_size */) | 419 std::string /* font_size */) |
| 420 | 420 |
| 421 // Marks an extension as 'active' in an extension process. 'Active' extensions | 421 // Marks an extension as 'active' in an extension process. 'Active' extensions |
| 422 // have more privileges than other extension content that might end up running | 422 // have more privileges than other extension content that might end up running |
| 423 // in the process (e.g. because of iframes or content scripts). | 423 // in the process (e.g. because of iframes or content scripts). |
| 424 IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateExtension, | 424 IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateExtension, |
| 425 std::string /* extension_id */) | 425 std::string /* extension_id */) |
| 426 | 426 |
| 427 // Notifies the renderer that the current tab is an extension page (we limit |
| 428 // what other extensions can do on these pages). |
| 429 IPC_MESSAGE_ROUTED1(ExtensionMsg_SetTabExtensionOwner, |
| 430 std::string /* extension_id */); |
| 431 |
| 427 // Notifies the renderer that extensions were loaded in the browser. | 432 // Notifies the renderer that extensions were loaded in the browser. |
| 428 IPC_MESSAGE_CONTROL1(ExtensionMsg_Loaded, | 433 IPC_MESSAGE_CONTROL1(ExtensionMsg_Loaded, |
| 429 std::vector<ExtensionMsg_Loaded_Params>) | 434 std::vector<ExtensionMsg_Loaded_Params>) |
| 430 | 435 |
| 431 // Notifies the renderer that an extension was unloaded in the browser. | 436 // Notifies the renderer that an extension was unloaded in the browser. |
| 432 IPC_MESSAGE_CONTROL1(ExtensionMsg_Unloaded, | 437 IPC_MESSAGE_CONTROL1(ExtensionMsg_Unloaded, |
| 433 std::string) | 438 std::string) |
| 434 | 439 |
| 435 // Updates the scripting whitelist for extensions in the render process. This is | 440 // Updates the scripting whitelist for extensions in the render process. This is |
| 436 // only used for testing. | 441 // only used for testing. |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 786 int /* acc_obj_id */, | 791 int /* acc_obj_id */, |
| 787 base::string16 /* selector */) | 792 base::string16 /* selector */) |
| 788 | 793 |
| 789 // Result of a query selector request. | 794 // Result of a query selector request. |
| 790 // result_acc_obj_id is the accessibility tree ID of the result element; 0 | 795 // result_acc_obj_id is the accessibility tree ID of the result element; 0 |
| 791 // indicates no result. | 796 // indicates no result. |
| 792 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 797 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
| 793 int /* request_id */, | 798 int /* request_id */, |
| 794 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 799 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
| 795 int /* result_acc_obj_id */) | 800 int /* result_acc_obj_id */) |
| OLD | NEW |