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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 | 462 |
463 // Tell the render view what its tab ID is. | 463 // Tell the render view what its tab ID is. |
464 IPC_MESSAGE_ROUTED1(ExtensionMsg_SetTabId, | 464 IPC_MESSAGE_ROUTED1(ExtensionMsg_SetTabId, |
465 int /* id of tab */) | 465 int /* id of tab */) |
466 | 466 |
467 // Tell the renderer to update an extension's permission set. | 467 // Tell the renderer to update an extension's permission set. |
468 IPC_MESSAGE_CONTROL1(ExtensionMsg_UpdatePermissions, | 468 IPC_MESSAGE_CONTROL1(ExtensionMsg_UpdatePermissions, |
469 ExtensionMsg_UpdatePermissions_Params) | 469 ExtensionMsg_UpdatePermissions_Params) |
470 | 470 |
471 // Tell the render view about new tab-specific permissions for an extension. | 471 // Tell the render view about new tab-specific permissions for an extension. |
472 IPC_MESSAGE_ROUTED3(ExtensionMsg_UpdateTabSpecificPermissions, | 472 IPC_MESSAGE_CONTROL4(ExtensionMsg_UpdateTabSpecificPermissions, |
473 GURL /* url */, | 473 GURL /* url */, |
474 std::string /* extension_id */, | 474 std::string /* extension_id */, |
475 extensions::URLPatternSet /* hosts */) | 475 extensions::URLPatternSet /* hosts */, |
| 476 int /* tab_id */) |
476 | 477 |
477 // Tell the render view to clear tab-specific permissions for some extensions. | 478 // Tell the render view to clear tab-specific permissions for some extensions. |
478 IPC_MESSAGE_ROUTED1(ExtensionMsg_ClearTabSpecificPermissions, | 479 IPC_MESSAGE_CONTROL2(ExtensionMsg_ClearTabSpecificPermissions, |
479 std::vector<std::string> /* extension_ids */) | 480 std::vector<std::string> /* extension_ids */, |
| 481 int /* tab_id */) |
480 | 482 |
481 // Tell the renderer which type this view is. | 483 // Tell the renderer which type this view is. |
482 IPC_MESSAGE_ROUTED1(ExtensionMsg_NotifyRenderViewType, | 484 IPC_MESSAGE_ROUTED1(ExtensionMsg_NotifyRenderViewType, |
483 extensions::ViewType /* view_type */) | 485 extensions::ViewType /* view_type */) |
484 | 486 |
485 // Deliver a message sent with ExtensionHostMsg_PostMessage. | 487 // Deliver a message sent with ExtensionHostMsg_PostMessage. |
486 IPC_MESSAGE_CONTROL1(ExtensionMsg_UsingWebRequestAPI, | 488 IPC_MESSAGE_CONTROL1(ExtensionMsg_UsingWebRequestAPI, |
487 bool /* webrequest_used */) | 489 bool /* webrequest_used */) |
488 | 490 |
489 // Ask the lazy background page if it is ready to be suspended. This is sent | 491 // Ask the lazy background page if it is ready to be suspended. This is sent |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 int /* acc_obj_id */, | 813 int /* acc_obj_id */, |
812 base::string16 /* selector */) | 814 base::string16 /* selector */) |
813 | 815 |
814 // Result of a query selector request. | 816 // Result of a query selector request. |
815 // result_acc_obj_id is the accessibility tree ID of the result element; 0 | 817 // result_acc_obj_id is the accessibility tree ID of the result element; 0 |
816 // indicates no result. | 818 // indicates no result. |
817 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, | 819 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, |
818 int /* request_id */, | 820 int /* request_id */, |
819 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, | 821 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, |
820 int /* result_acc_obj_id */) | 822 int /* result_acc_obj_id */) |
OLD | NEW |