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

Unified Diff: content/common/browser_plugin/browser_plugin_messages.h

Issue 1169983006: Convert BrowserPlugin to render using cc::Surfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update test to always call UpdateGuestSizeIfNecessary(). Created 5 years, 6 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: content/common/browser_plugin/browser_plugin_messages.h
diff --git a/content/common/browser_plugin/browser_plugin_messages.h b/content/common/browser_plugin/browser_plugin_messages.h
index 1a5a5f7be490c55c59aa8a8f68827708910ae679..4b4c4c2dfecba70de6ae9e8367cf3fffbcc5d121 100644
--- a/content/common/browser_plugin/browser_plugin_messages.h
+++ b/content/common/browser_plugin/browser_plugin_messages.h
@@ -8,6 +8,7 @@
#include "base/basictypes.h"
#include "base/process/process.h"
+#include "cc/surfaces/surface.h"
#include "content/common/content_export.h"
#include "content/common/content_param_traits.h"
#include "content/common/cursors/webcursor.h"
@@ -152,6 +153,15 @@ IPC_MESSAGE_CONTROL2(BrowserPluginHostMsg_UpdateGeometry,
int /* browser_plugin_instance_id */,
gfx::Rect /* view_rect */)
+IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SatisfySequence,
+ int /* browser_plugin_instance_id */,
+ cc::SurfaceSequence /* sequence */)
+
+IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_RequireSequence,
+ int /* browser_plugin_instance_id */,
+ cc::SurfaceId /* surface_id */,
+ cc::SurfaceSequence /* sequence */)
+
// -----------------------------------------------------------------------------
// These messages are from the browser process to the embedder.
@@ -186,6 +196,13 @@ IPC_MESSAGE_CONTROL2(BrowserPluginMsg_CompositorFrameSwapped,
int /* browser_plugin_instance_id */,
FrameMsg_CompositorFrameSwapped_Params /* params */)
+IPC_MESSAGE_CONTROL5(BrowserPluginMsg_SetChildFrameSurface,
+ int /* browser_plugin_instance_id */,
+ cc::SurfaceId /* surface_id */,
+ gfx::Size /* frame_size */,
+ float /* scale_factor */,
+ cc::SurfaceSequence /* sequence */)
+
// Forwards a PointerLock Unlock request to the BrowserPlugin.
IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SetMouseLock,
int /* browser_plugin_instance_id */,
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest_unittest.cc ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698