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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 int /* id of browser window */) | 434 int /* id of browser window */) |
435 | 435 |
436 // Tell the render view what its tab ID is. | 436 // Tell the render view what its tab ID is. |
437 IPC_MESSAGE_ROUTED1(ExtensionMsg_SetTabId, | 437 IPC_MESSAGE_ROUTED1(ExtensionMsg_SetTabId, |
438 int /* id of tab */) | 438 int /* id of tab */) |
439 | 439 |
440 // Tell the renderer to update an extension's permission set. | 440 // Tell the renderer to update an extension's permission set. |
441 IPC_MESSAGE_CONTROL1(ExtensionMsg_UpdatePermissions, | 441 IPC_MESSAGE_CONTROL1(ExtensionMsg_UpdatePermissions, |
442 ExtensionMsg_UpdatePermissions_Params) | 442 ExtensionMsg_UpdatePermissions_Params) |
443 | 443 |
444 // Tell the renderer about new tab-specific permissions for an extension. | 444 // Tell the render view about new tab-specific permissions for an extension. |
445 IPC_MESSAGE_CONTROL4(ExtensionMsg_UpdateTabSpecificPermissions, | 445 IPC_MESSAGE_ROUTED3(ExtensionMsg_UpdateTabSpecificPermissions, |
446 GURL /* url */, | 446 GURL /* url */, |
447 int /* tab_id */, | 447 std::string /* extension_id */, |
448 std::string /* extension_id */, | 448 extensions::URLPatternSet /* hosts */) |
449 extensions::URLPatternSet /* hosts */) | |
450 | 449 |
451 // Tell the renderer to clear tab-specific permissions for some extensions. | 450 // Tell the render view to clear tab-specific permissions for some extensions. |
452 IPC_MESSAGE_CONTROL2(ExtensionMsg_ClearTabSpecificPermissions, | 451 IPC_MESSAGE_ROUTED1(ExtensionMsg_ClearTabSpecificPermissions, |
453 int /* tab_id */, | 452 std::vector<std::string> /* extension_ids */) |
454 std::vector<std::string> /* extension_ids */) | |
455 | 453 |
456 // Tell the renderer which type this view is. | 454 // Tell the renderer which type this view is. |
457 IPC_MESSAGE_ROUTED1(ExtensionMsg_NotifyRenderViewType, | 455 IPC_MESSAGE_ROUTED1(ExtensionMsg_NotifyRenderViewType, |
458 extensions::ViewType /* view_type */) | 456 extensions::ViewType /* view_type */) |
459 | 457 |
460 // Deliver a message sent with ExtensionHostMsg_PostMessage. | 458 // Deliver a message sent with ExtensionHostMsg_PostMessage. |
461 IPC_MESSAGE_CONTROL1(ExtensionMsg_UsingWebRequestAPI, | 459 IPC_MESSAGE_CONTROL1(ExtensionMsg_UsingWebRequestAPI, |
462 bool /* webrequest_used */) | 460 bool /* webrequest_used */) |
463 | 461 |
464 // Ask the lazy background page if it is ready to be suspended. This is sent | 462 // Ask the lazy background page if it is ready to be suspended. This is sent |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
774 int /* acc_obj_id */, | 772 int /* acc_obj_id */, |
775 base::string16 /* selector */) | 773 base::string16 /* selector */) |
776 | 774 |
777 // Result of a query selector request. | 775 // Result of a query selector request. |
778 // result_acc_obj_id is the accessibility tree ID of the result element; 0 | 776 // result_acc_obj_id is the accessibility tree ID of the result element; 0 |
779 // indicates no result. | 777 // indicates no result. |
780 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 778 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
781 int /* request_id */, | 779 int /* request_id */, |
782 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 780 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
783 int /* result_acc_obj_id */) | 781 int /* result_acc_obj_id */) |
OLD | NEW |