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

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

Issue 972313002: Make <webview> use out-of-process iframe architecture. (Closed) Base URL: ssh://saopaulo.wat/mnt/dev/shared/src@testoopif2z-better-chrome
Patch Set: some review comments addressed Created 5 years, 8 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 <string> 8 #include <string>
9 9
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 int /* render_frame_id */, 52 int /* render_frame_id */,
53 std::string /* view_id */, 53 std::string /* view_id */,
54 int /* element_instance_id */, 54 int /* element_instance_id */,
55 gfx::Size /* element_size */) 55 gfx::Size /* element_size */)
56 56
57 // A renderer sends this message when it wants to resize a guest. 57 // A renderer sends this message when it wants to resize a guest.
58 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_ResizeGuest, 58 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_ResizeGuest,
59 int /* routing_id */, 59 int /* routing_id */,
60 int /* element_instance_id*/, 60 int /* element_instance_id*/,
61 gfx::Size /* new_size */) 61 gfx::Size /* new_size */)
62
63 // Tells a <webview> that its contentWindow is ready to be exposed.
64 // The contentWindow should point to the RenderFrameProxy with routing
65 // ID of |guest_proxy_routing_id|.
66 IPC_MESSAGE_CONTROL2(GuestViewMsg_ContentWindowReady,
67 int /* element_instance_id */,
68 int /* guest_proxy_routing_id */)
69
70 // We have a RenderFrame with routing id of |embedder_local_frame_routing_id|.
71 // We want this local frame to be replaced with a remote frame that points
72 // to a <webview>. This message will attach the local frame to the <webview>
73 // guest. The <webview> is identified by its ID: |guest_instance_id|.
74 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_AttachLocalFrameToGuest,
75 int /* embedder_local_frame_routing_id */,
76 int /* element_instance_id */,
77 int /* guest_instance_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698