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

Side by Side Diff: content/common/browser_plugin_messages.h

Issue 10968015: Revert 157773 - This is followup from Charlie's comments on Fady's cl: http://chromiumcodereview.ap… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Deleted: svn:eol-style
- LF
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/process.h" 10 #include "base/process.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_UpdateRect_ACK, 47 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_UpdateRect_ACK,
48 int /* instance_id */, 48 int /* instance_id */,
49 int /* message_id */, 49 int /* message_id */,
50 gfx::Size /* repaint_view_size */) 50 gfx::Size /* repaint_view_size */)
51 51
52 // A BrowserPlugin sends this to the browser process when it wants to navigate 52 // A BrowserPlugin sends this to the browser process when it wants to navigate
53 // to a given src URL. If a guest WebContents already exists, it will navigate 53 // to a given src URL. If a guest WebContents already exists, it will navigate
54 // that WebContents. If not, it will create the WebContents, associate it with 54 // that WebContents. If not, it will create the WebContents, associate it with
55 // the BrowserPlugin's browser-side BrowserPluginHost as a guest, and navigate 55 // the BrowserPlugin's browser-side BrowserPluginHost as a guest, and navigate
56 // it to the requested URL. 56 // it to the requested URL.
57 IPC_MESSAGE_ROUTED4(BrowserPluginHostMsg_NavigateGuest, 57 IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_NavigateOrCreateGuest,
58 int /* instance_id*/, 58 int /* instance_id*/,
59 int64 /* frame_id */, 59 long long /* frame_id */,
60 std::string /* src */, 60 std::string /* src */)
61 gfx::Size /* size */)
62 61
63 // When a BrowserPlugin has been removed from the embedder's DOM, it informs 62 // When a BrowserPlugin has been removed from the embedder's DOM, it informs
64 // the browser process to cleanup the guest. 63 // the browser process to cleanup the guest.
65 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_PluginDestroyed, 64 IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_PluginDestroyed,
66 int /* instance_id */) 65 int /* instance_id */)
67 66
68 // ----------------------------------------------------------------------------- 67 // -----------------------------------------------------------------------------
69 // These messages are from the guest renderer to the browser process 68 // These messages are from the guest renderer to the browser process
70 69
71 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_ResizeGuest_Params) 70 IPC_STRUCT_BEGIN(BrowserPluginHostMsg_ResizeGuest_Params)
72 // A handle to the new buffer to use to transport damage to the 71 // A handle to the new buffer to use to transport damage to the
73 // embedder renderer process. 72 // embedder renderer process.
74 IPC_STRUCT_MEMBER(TransportDIB::Id, damage_buffer_id) 73 IPC_STRUCT_MEMBER(TransportDIB::Id, damage_buffer_id)
75 #if defined(OS_WIN)
76 // The size of the damage buffer because this information is not available
77 // on Windows.
78 IPC_STRUCT_MEMBER(int, damage_buffer_size)
79 #endif
80 // The new width of the plugin container. 74 // The new width of the plugin container.
81 IPC_STRUCT_MEMBER(int, width) 75 IPC_STRUCT_MEMBER(int, width)
82 // The new height of the plugin container. 76 // The new height of the plugin container.
83 IPC_STRUCT_MEMBER(int, height) 77 IPC_STRUCT_MEMBER(int, height)
84 // Indicates whether the embedder is currently waiting on a ACK from the 78 // Indicates whether the embedder is currently waiting on a ACK from the
85 // guest for a previous resize request. 79 // guest for a previous resize request.
86 IPC_STRUCT_MEMBER(bool, resize_pending) 80 IPC_STRUCT_MEMBER(bool, resize_pending)
87 // Indicates the scale factor of the embedder WebView. 81 // Indicates the scale factor of the embedder WebView.
88 IPC_STRUCT_MEMBER(float, scale_factor) 82 IPC_STRUCT_MEMBER(float, scale_factor)
89 IPC_STRUCT_END() 83 IPC_STRUCT_END()
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus, 143 IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus,
150 int /* instance_id */, 144 int /* instance_id */,
151 bool /* reverse */) 145 bool /* reverse */)
152 146
153 // The guest has damage it wants to convey to the embedder so that it can 147 // The guest has damage it wants to convey to the embedder so that it can
154 // update its backing store. 148 // update its backing store.
155 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect, 149 IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect,
156 int /* instance_id */, 150 int /* instance_id */,
157 int /* message_id */, 151 int /* message_id */,
158 BrowserPluginMsg_UpdateRect_Params) 152 BrowserPluginMsg_UpdateRect_Params)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698