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

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

Issue 376033002: Adding MimeHandlerView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pending-zork-patch2
Patch Set: Address comment from kenrb@ Created 6 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
« no previous file with comments | « extensions/common/api/schemas.gypi ('k') | extensions/common/feature_switch.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 std::vector<std::string> /* CSS selectors */) 505 std::vector<std::string> /* CSS selectors */)
506 506
507 // Send by the browser to indicate a Blob handle has been transferred to the 507 // Send by the browser to indicate a Blob handle has been transferred to the
508 // renderer. This is sent after the actual extension response, and depends on 508 // renderer. This is sent after the actual extension response, and depends on
509 // the sequential nature of IPCs so that the blob has already been caught. 509 // the sequential nature of IPCs so that the blob has already been caught.
510 // This is a separate control message, so that the renderer process will send 510 // This is a separate control message, so that the renderer process will send
511 // an acknowledgement even if the RenderView has closed or navigated away. 511 // an acknowledgement even if the RenderView has closed or navigated away.
512 IPC_MESSAGE_CONTROL1(ExtensionMsg_TransferBlobs, 512 IPC_MESSAGE_CONTROL1(ExtensionMsg_TransferBlobs,
513 std::vector<std::string> /* blob_uuids */) 513 std::vector<std::string> /* blob_uuids */)
514 514
515 // The ACK for ExtensionHostMsg_CreateMimeHandlerViewGuest.
516 IPC_MESSAGE_CONTROL1(ExtensionMsg_CreateMimeHandlerViewGuestACK,
517 int /* element_instance_id */)
518
515 // Messages sent from the renderer to the browser. 519 // Messages sent from the renderer to the browser.
516 520
517 // A renderer sends this message when an extension process starts an API 521 // A renderer sends this message when an extension process starts an API
518 // request. The browser will always respond with a ExtensionMsg_Response. 522 // request. The browser will always respond with a ExtensionMsg_Response.
519 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request, 523 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request,
520 ExtensionHostMsg_Request_Params) 524 ExtensionHostMsg_Request_Params)
521 525
522 // A renderer sends this message when an extension process starts an API 526 // A renderer sends this message when an extension process starts an API
523 // request. The browser will always respond with a ExtensionMsg_Response. 527 // request. The browser will always respond with a ExtensionMsg_Response.
524 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RequestForIOThread, 528 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RequestForIOThread,
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 extensions::StackTrace /* stack trace */, 730 extensions::StackTrace /* stack trace */,
727 int32 /* severity level */) 731 int32 /* severity level */)
728 732
729 // Sent by the renderer to set initialization parameters of a Browser Plugin 733 // Sent by the renderer to set initialization parameters of a Browser Plugin
730 // that is identified by |element_instance_id|. 734 // that is identified by |element_instance_id|.
731 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_AttachGuest, 735 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_AttachGuest,
732 int /* routing_id */, 736 int /* routing_id */,
733 int /* element_instance_id */, 737 int /* element_instance_id */,
734 int /* guest_instance_id */, 738 int /* guest_instance_id */,
735 base::DictionaryValue /* attach_params */) 739 base::DictionaryValue /* attach_params */)
740
741 // Tells the browser to create a mime handler guest view for a plugin.
742 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_CreateMimeHandlerViewGuest,
743 int /* render_frame_id */,
744 std::string /* embedder_url */,
745 std::string /* mime_type */,
746 int /* element_instance_id */)
OLDNEW
« no previous file with comments | « extensions/common/api/schemas.gypi ('k') | extensions/common/feature_switch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698