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

Side by Side Diff: components/guest_view/common/guest_view_messages.h

Issue 2417693002: Allow MimeHandlerViewGuest be embedded inside OOPIFs (Closed)
Patch Set: Added a NOTREACHED Created 4 years, 2 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 GuestViews. 5 // IPC messages for GuestViews.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 10
(...skipping 15 matching lines...) Expand all
26 // |element_instance_id| from a GuestViewBase if it is attached to one. 26 // |element_instance_id| from a GuestViewBase if it is attached to one.
27 // In other words, routing of input and graphics will no longer flow through 27 // In other words, routing of input and graphics will no longer flow through
28 // the container associated with the provided ID. 28 // the container associated with the provided ID.
29 IPC_MESSAGE_CONTROL1(GuestViewMsg_GuestDetached, 29 IPC_MESSAGE_CONTROL1(GuestViewMsg_GuestDetached,
30 int /* element_instance_id*/) 30 int /* element_instance_id*/)
31 31
32 // Messages sent from the renderer to the browser. 32 // Messages sent from the renderer to the browser.
33 33
34 // Sent by the renderer to set initialization parameters of a Browser Plugin 34 // Sent by the renderer to set initialization parameters of a Browser Plugin
35 // that is identified by |element_instance_id|. 35 // that is identified by |element_instance_id|.
36 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_AttachGuest, 36 IPC_MESSAGE_CONTROL4(GuestViewHostMsg_AttachGuest,
37 int /* element_instance_id */, 37 int /* element_instance_id */,
38 int /* guest_instance_id */, 38 int /* guest_instance_id */,
39 int /* embedder_routing_id */,
39 base::DictionaryValue /* attach_params */) 40 base::DictionaryValue /* attach_params */)
40 41
41 // We have a RenderFrame with routing id of |embedder_local_frame_routing_id|. 42 // We have a RenderFrame with routing id of |embedder_local_frame_routing_id|.
42 // We want this local frame to be replaced with a remote frame that points 43 // We want this local frame to be replaced with a remote frame that points
43 // to a GuestView. This message will attach the local frame to the guest. 44 // to a GuestView. This message will attach the local frame to the guest.
44 // The GuestView is identified by its ID: |guest_instance_id|. 45 // The GuestView is identified by its ID: |guest_instance_id|.
45 IPC_MESSAGE_CONTROL4(GuestViewHostMsg_AttachToEmbedderFrame, 46 IPC_MESSAGE_CONTROL4(GuestViewHostMsg_AttachToEmbedderFrame,
46 int /* embedder_local_frame_routing_id */, 47 int /* embedder_local_frame_routing_id */,
47 int /* element_instance_id */, 48 int /* element_instance_id */,
48 int /* guest_instance_id */, 49 int /* guest_instance_id */,
49 base::DictionaryValue /* params */) 50 base::DictionaryValue /* params */)
50 51
51 // Sent by the renderer when a GuestView (identified by |view_instance_id|) has 52 // Sent by the renderer when a GuestView (identified by |view_instance_id|) has
52 // been created in JavaScript. 53 // been created in JavaScript.
53 IPC_MESSAGE_CONTROL2(GuestViewHostMsg_ViewCreated, 54 IPC_MESSAGE_CONTROL2(GuestViewHostMsg_ViewCreated,
54 int /* view_instance_id */, 55 int /* view_instance_id */,
55 std::string /* view_type */) 56 std::string /* view_type */)
56 57
57 // Sent by the renderer when a GuestView (identified by |view_instance_id|) has 58 // Sent by the renderer when a GuestView (identified by |view_instance_id|) has
58 // been garbage collected in JavaScript. 59 // been garbage collected in JavaScript.
59 IPC_MESSAGE_CONTROL1(GuestViewHostMsg_ViewGarbageCollected, 60 IPC_MESSAGE_CONTROL1(GuestViewHostMsg_ViewGarbageCollected,
60 int /* view_instance_id */) 61 int /* view_instance_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698