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

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: Revert unused changes from previous attempt + more cleanup. Created 5 years, 9 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 int /* element_instance_id */, 46 int /* element_instance_id */,
47 int /* guest_instance_id */, 47 int /* guest_instance_id */,
48 base::DictionaryValue /* attach_params */) 48 base::DictionaryValue /* attach_params */)
49 49
50 // Tells the browser to create a mime handler guest view for a plugin. 50 // Tells the browser to create a mime handler guest view for a plugin.
51 IPC_MESSAGE_CONTROL4(GuestViewHostMsg_CreateMimeHandlerViewGuest, 51 IPC_MESSAGE_CONTROL4(GuestViewHostMsg_CreateMimeHandlerViewGuest,
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
57 // Tells a <webview> that its contentWindow is ready to be exposed.
58 // The contentWindow should point to the RenderFrameProxy with routing
59 // ID of |guest_proxy_routing_id|.
60 IPC_MESSAGE_CONTROL2(GuestViewMsg_ContentWindowReady,
61 int /* element_instance_id */,
62 int /* guest_proxy_routing_id */)
63
64 // We have a RenderFrame with routing id of |embedder_local_frame_routing_id|.
65 // We want this local frame to be replaced with a remote frame that points
66 // to a <webview>. This message will attach the local frame to the <webview>
67 // guest. The <webview> is identified by its ID: |guest_instance_id|.
68 IPC_MESSAGE_CONTROL3(GuestViewHostMsg_AttachLocalFrameToGuest,
69 int /* embedder_local_frame_routing_id */,
70 int /* element_instance_id */,
71 int /* guest_instance_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698