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

Unified Diff: content/common/view_messages.h

Issue 9194005: gpu: reference target surfaces through a globally unique surface id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix more tests Created 8 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 | « content/common/gpu/image_transport_surface_win.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 576a2aede98b957a8b263d8846d1ed65e97f3907..b5230779714b34ffa1404b1c1a8a69bf02abc0d8 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -639,6 +639,9 @@ IPC_STRUCT_BEGIN(ViewMsg_New_Params)
// The ID of the view to be created.
IPC_STRUCT_MEMBER(int32, view_id)
+ // The ID of the rendering surface.
+ IPC_STRUCT_MEMBER(int32, surface_id)
+
// The session storage namespace ID this view should use.
IPC_STRUCT_MEMBER(int64, session_storage_namespace_id)
@@ -1191,24 +1194,27 @@ IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData,
// Sent by the renderer when it is creating a new window. The browser creates
// a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
// MSG_ROUTING_NONE, the view couldn't be created.
-IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow,
+IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow,
ViewHostMsg_CreateWindow_Params,
int /* route_id */,
+ int32 /* surface_id */,
int64 /* cloned_session_storage_namespace_id */)
// Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like
// <select> dropdowns. This message is sent to the TabContents that
// contains the widget being created.
-IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_CreateWidget,
+IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_CreateWidget,
int /* opener_id */,
WebKit::WebPopupType /* popup type */,
- int /* route_id */)
+ int /* route_id */,
+ int32 /* surface_id */)
// Similar to ViewHostMsg_CreateWidget except the widget is a full screen
// window.
-IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateFullscreenWidget,
+IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateFullscreenWidget,
int /* opener_id */,
- int /* route_id */)
+ int /* route_id */,
+ int32 /* surface_id */)
// Get all savable resource links from current webpage, include main
// frame and sub-frame.
« no previous file with comments | « content/common/gpu/image_transport_surface_win.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698