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

Unified Diff: chrome/common/plugin_messages_internal.h

Issue 4142004: Let every "accelerated IO surface swapped" message have an identifier of the surface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/plugin_messages_internal.h
diff --git a/chrome/common/plugin_messages_internal.h b/chrome/common/plugin_messages_internal.h
index a83b41a482840c7359beeec16a577ef933974ea7..6cee7045a5fa5bb033ab78bdb08e9ee3e9ccc907 100644
--- a/chrome/common/plugin_messages_internal.h
+++ b/chrome/common/plugin_messages_internal.h
@@ -438,7 +438,7 @@ IPC_BEGIN_MESSAGES(PluginHost)
gfx::PluginWindowHandle /* window */,
int32 /* width */,
int32 /* height */,
- uint64 /* identifier for IOSurface */)
+ uint64 /* surface_id */)
// On the Mac, shared memory can't be allocated in the sandbox, so
@@ -458,8 +458,9 @@ IPC_BEGIN_MESSAGES(PluginHost)
// browser process) that the plug-in swapped the buffers associated
// with the given "window", which should cause the browser to redraw
// the various plug-ins' contents.
- IPC_MESSAGE_ROUTED1(PluginHostMsg_AcceleratedSurfaceBuffersSwapped,
- gfx::PluginWindowHandle /* window */)
+ IPC_MESSAGE_ROUTED2(PluginHostMsg_AcceleratedSurfaceBuffersSwapped,
+ gfx::PluginWindowHandle /* window */,
+ uint64 /* surface_id */)
#endif
IPC_END_MESSAGES(PluginHost)

Powered by Google App Engine
This is Rietveld 408576698