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

Unified Diff: chrome/common/plugin_messages_internal.h

Issue 18082: Improve scrolling performance when there are many windowed plugins in a page.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Call DestroyWindow on the right thread & ensure NPP_SetWindow is called right away Created 11 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/render_widget_host.cc ('k') | chrome/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/plugin_messages_internal.h
===================================================================
--- chrome/common/plugin_messages_internal.h (revision 8043)
+++ chrome/common/plugin_messages_internal.h (working copy)
@@ -81,6 +81,15 @@
int /* network error */,
std::string /* proxy list */)
+ // Creates a child window of the given parent window on the UI thread.
+ IPC_SYNC_MESSAGE_CONTROL1_1(PluginProcessHostMsg_CreateWindow,
+ HWND /* parent */,
+ HWND /* child */)
+
+ // Destroys the given window on the UI thread.
+ IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_DestroyWindow,
+ HWND /* window */)
darin (slow to review) 2009/01/16 22:08:39 nit: indentation
+
IPC_END_MESSAGES(PluginProcessHost)
@@ -131,11 +140,9 @@
// contains a buffer that the plugin draws into. background_buffer is used
// for transparent windowless plugins, and holds the background of the plugin
// rectangle.
- IPC_MESSAGE_ROUTED6(PluginMsg_UpdateGeometry,
+ IPC_MESSAGE_ROUTED4(PluginMsg_UpdateGeometry,
gfx::Rect /* window_rect */,
gfx::Rect /* clip_rect */,
- std::vector<gfx::Rect> /* cutout_rects */,
- bool /* visible */,
base::SharedMemoryHandle /* windowless_buffer */,
base::SharedMemoryHandle /* background_buffer */)
« no previous file with comments | « chrome/browser/render_widget_host.cc ('k') | chrome/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698