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

Unified Diff: content/common/gpu/gpu_messages.h

Issue 6880218: Removed "compositor" child window that was created by the GPU process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | gpu/command_buffer/service/gpu_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_messages.h
===================================================================
--- content/common/gpu/gpu_messages.h (revision 83213)
+++ content/common/gpu/gpu_messages.h (working copy)
@@ -161,7 +161,13 @@
// information.
IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo)
-#if defined(OS_MACOSX)
+#if defined(OS_LINUX) && !defined(TOUCH_UI) || defined(OS_WIN)
+// Tells the GPU process that the browser process has finished resizing the
+// view.
+IPC_MESSAGE_CONTROL2(GpuMsg_ResizeViewACK,
+ int32 /* renderer_id */,
+ int32 /* command_buffer_id */)
+#elif defined(OS_MACOSX)
// Tells the GPU process that the browser process handled the swap
// buffers request with the given number. Note that it is possible
// for the browser process to coalesce frames; it is not guaranteed
@@ -244,13 +250,14 @@
// Response from GPU to a GpuMsg_Synchronize message.
IPC_MESSAGE_CONTROL0(GpuHostMsg_SynchronizeReply)
-#if defined(OS_LINUX) && !defined(TOUCH_UI)
+#if defined(OS_LINUX) && !defined(TOUCH_UI) || defined(OS_WIN)
// Resize the window that is being drawn into. It's important that this
// resize be synchronized with the swapping of the front and back buffers.
-IPC_SYNC_MESSAGE_CONTROL2_1(GpuHostMsg_ResizeXID,
- unsigned long, /* xid */
- gfx::Size, /* size */
- bool /* success */)
+IPC_MESSAGE_CONTROL4(GpuHostMsg_ResizeView,
+ int32 /* renderer_id */,
+ int32 /* render_view_id */,
+ int32 /* command_buffer_route_id */,
+ gfx::Size /* size */)
#elif defined(OS_MACOSX)
// This message, used on Mac OS X 10.6 and later (where IOSurface is
// supported), is sent from the GPU process to the browser to indicate that a
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | gpu/command_buffer/service/gpu_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698