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

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

Issue 702433002: Refactor GuestViewContainer to split out WebView related logic and MimeHandlerView related logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
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. 515 // The ACK for ExtensionHostMsg_CreateMimeHandlerViewGuest.
516 IPC_MESSAGE_CONTROL1(ExtensionMsg_CreateMimeHandlerViewGuestACK, 516 IPC_MESSAGE_CONTROL1(ExtensionMsg_CreateMimeHandlerViewGuestACK,
517 int /* element_instance_id */) 517 int /* element_instance_id */)
518 518
519 // Once a RenderView proxy has been created for the guest in the embedder render 519 // Once a RenderView proxy has been created for the guest in the embedder render
520 // process, this IPC informs the embedder of the proxy's routing ID. 520 // process, this IPC informs the embedder of the proxy's routing ID.
521 IPC_MESSAGE_ROUTED2(ExtensionMsg_GuestAttached, 521 IPC_MESSAGE_ROUTED1(ExtensionMsg_GuestAttached,
522 int /* element_instance_id */,
523 int /* source_routing_id */) 522 int /* source_routing_id */)
524 523
525 // Messages sent from the renderer to the browser. 524 // Messages sent from the renderer to the browser.
526 525
527 // 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
528 // request. The browser will always respond with a ExtensionMsg_Response. 527 // request. The browser will always respond with a ExtensionMsg_Response.
529 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request, 528 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request,
530 ExtensionHostMsg_Request_Params) 529 ExtensionHostMsg_Request_Params)
531 530
532 // A renderer sends this message when an extension process starts an API 531 // A renderer sends this message when an extension process starts an API
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 int /* element_instance_id */, 742 int /* element_instance_id */,
744 int /* guest_instance_id */, 743 int /* guest_instance_id */,
745 base::DictionaryValue /* attach_params */) 744 base::DictionaryValue /* attach_params */)
746 745
747 // Tells the browser to create a mime handler guest view for a plugin. 746 // Tells the browser to create a mime handler guest view for a plugin.
748 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_CreateMimeHandlerViewGuest, 747 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_CreateMimeHandlerViewGuest,
749 int /* render_frame_id */, 748 int /* render_frame_id */,
750 std::string /* embedder_url */, 749 std::string /* embedder_url */,
751 std::string /* mime_type */, 750 std::string /* mime_type */,
752 int /* element_instance_id */) 751 int /* element_instance_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698