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

Unified Diff: content/common/view_messages.h

Issue 9980016: Delete background tab IOSurfaces on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed auto-resize and fullscreen toggle Created 8 years, 8 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/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index add965417bef0ec01be05712006ac0836d7d0de0..5fc4f1cd42d1bd95995d8b28ccd9545992b9080e 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -499,7 +499,8 @@ IPC_STRUCT_BEGIN(ViewHostMsg_UpdateRect_Params)
// The size of the RenderView when this message was generated. This is
// included so the host knows how large the view is from the perspective of
// the renderer process. This is necessary in case a resize operation is in
- // progress.
+ // progress. If auto-resize is enabled, this should update the corresponding
+ // view size.
IPC_STRUCT_MEMBER(gfx::Size, view_size)
// New window locations for plugin child windows.
@@ -1912,6 +1913,15 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_AcceleratedSurfaceBuffersSwapped,
uint64 /* surface_handle */)
#endif
+// This message is synthesized by GpuProcessHost to pass through a swap message
+// to the RenderWidgetHelper. This allows GetBackingStore to block for either a
+// software or GPU frame.
+IPC_MESSAGE_ROUTED4(ViewHostMsg_CompositorSurfaceBuffersSwapped,
+ int32 /* surface id */,
+ uint64 /* surface_handle */,
+ int32 /* route_id */,
+ int32 /* gpu_process_host_id */)
+
// Opens a file asynchronously. The response returns a file descriptor
// and an error code from base/platform_file.h.
IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile,
« no previous file with comments | « content/common/gpu/image_transport_surface_mac.cc ('k') | content/port/browser/render_widget_host_view_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698