Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Side by Side Diff: extensions/common/extension_messages.h

Issue 1312653003: Fix for WebView accessible resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small fix. Rebased. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 IPC_STRUCT_TRAITS_MEMBER(value) 380 IPC_STRUCT_TRAITS_MEMBER(value)
381 IPC_STRUCT_TRAITS_END() 381 IPC_STRUCT_TRAITS_END()
382 382
383 // Parameters structure for ExtensionMsg_UpdatePermissions. 383 // Parameters structure for ExtensionMsg_UpdatePermissions.
384 IPC_STRUCT_BEGIN(ExtensionMsg_UpdatePermissions_Params) 384 IPC_STRUCT_BEGIN(ExtensionMsg_UpdatePermissions_Params)
385 IPC_STRUCT_MEMBER(std::string, extension_id) 385 IPC_STRUCT_MEMBER(std::string, extension_id)
386 IPC_STRUCT_MEMBER(ExtensionMsg_PermissionSetStruct, active_permissions) 386 IPC_STRUCT_MEMBER(ExtensionMsg_PermissionSetStruct, active_permissions)
387 IPC_STRUCT_MEMBER(ExtensionMsg_PermissionSetStruct, withheld_permissions) 387 IPC_STRUCT_MEMBER(ExtensionMsg_PermissionSetStruct, withheld_permissions)
388 IPC_STRUCT_END() 388 IPC_STRUCT_END()
389 389
390 // Messages sent from the browser to the renderer. 390 // Messages sent from the browser to the renderer:
391 391
392 // The browser sends this message in response to all extension api calls. The 392 // The browser sends this message in response to all extension api calls. The
393 // response data (if any) is one of the base::Value subclasses, wrapped as the 393 // response data (if any) is one of the base::Value subclasses, wrapped as the
394 // first element in a ListValue. 394 // first element in a ListValue.
395 IPC_MESSAGE_ROUTED4(ExtensionMsg_Response, 395 IPC_MESSAGE_ROUTED4(ExtensionMsg_Response,
396 int /* request_id */, 396 int /* request_id */,
397 bool /* success */, 397 bool /* success */,
398 base::ListValue /* response wrapper (see comment above) */, 398 base::ListValue /* response wrapper (see comment above) */,
399 std::string /* error */) 399 std::string /* error */)
400 400
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 std::vector<std::string> /* CSS selectors */) 567 std::vector<std::string> /* CSS selectors */)
568 568
569 // Send by the browser to indicate a Blob handle has been transferred to the 569 // Send by the browser to indicate a Blob handle has been transferred to the
570 // renderer. This is sent after the actual extension response, and depends on 570 // renderer. This is sent after the actual extension response, and depends on
571 // the sequential nature of IPCs so that the blob has already been caught. 571 // the sequential nature of IPCs so that the blob has already been caught.
572 // This is a separate control message, so that the renderer process will send 572 // This is a separate control message, so that the renderer process will send
573 // an acknowledgement even if the RenderView has closed or navigated away. 573 // an acknowledgement even if the RenderView has closed or navigated away.
574 IPC_MESSAGE_CONTROL1(ExtensionMsg_TransferBlobs, 574 IPC_MESSAGE_CONTROL1(ExtensionMsg_TransferBlobs,
575 std::vector<std::string> /* blob_uuids */) 575 std::vector<std::string> /* blob_uuids */)
576 576
577 // Messages sent from the renderer to the browser. 577 // Report the WebView partition ID to the WebView guest renderer process.
578 IPC_MESSAGE_CONTROL1(ExtensionMsg_SetWebViewPartitionID,
579 std::string /* webview_partition_id */)
580
581 // Messages sent from the renderer to the browser:
578 582
579 // A renderer sends this message when an extension process starts an API 583 // A renderer sends this message when an extension process starts an API
580 // request. The browser will always respond with a ExtensionMsg_Response. 584 // request. The browser will always respond with a ExtensionMsg_Response.
581 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request, 585 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request,
582 ExtensionHostMsg_Request_Params) 586 ExtensionHostMsg_Request_Params)
583 587
584 // A renderer sends this message when an extension process starts an API 588 // A renderer sends this message when an extension process starts an API
585 // request. The browser will always respond with a ExtensionMsg_Response. 589 // request. The browser will always respond with a ExtensionMsg_Response.
586 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RequestForIOThread, 590 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RequestForIOThread,
587 int /* routing_id */, 591 int /* routing_id */,
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 int /* acc_obj_id */, 800 int /* acc_obj_id */,
797 base::string16 /* selector */) 801 base::string16 /* selector */)
798 802
799 // Result of a query selector request. 803 // Result of a query selector request.
800 // result_acc_obj_id is the accessibility tree ID of the result element; 0 804 // result_acc_obj_id is the accessibility tree ID of the result element; 0
801 // indicates no result. 805 // indicates no result.
802 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, 806 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result,
803 int /* request_id */, 807 int /* request_id */,
804 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, 808 ExtensionHostMsg_AutomationQuerySelector_Error /* error */,
805 int /* result_acc_obj_id */) 809 int /* result_acc_obj_id */)
OLDNEW
« no previous file with comments | « extensions/browser/url_request_util.cc ('k') | extensions/common/manifest_handlers/webview_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698