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

Unified Diff: content/public/test/mock_render_thread.h

Issue 1359163005: Remove surface_id from RenderWidget/RenderWidgetHost and friends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@channel_creation_preempt
Patch Set: fix more tests Created 5 years, 3 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/view_messages.h ('k') | content/public/test/mock_render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_render_thread.h
diff --git a/content/public/test/mock_render_thread.h b/content/public/test/mock_render_thread.h
index efcbf759a176fb6ed1afdec1dd0dab7246e86e8c..945dc6732a43bf289bc6467b4838abf2ea6d1d6d 100644
--- a/content/public/test/mock_render_thread.h
+++ b/content/public/test/mock_render_thread.h
@@ -85,10 +85,6 @@ class MockRenderThread : public RenderThread {
routing_id_ = id;
}
- void set_surface_id(int32 id) {
- surface_id_ = id;
- }
-
int32 opener_id() const {
return opener_id_;
}
@@ -119,8 +115,7 @@ class MockRenderThread : public RenderThread {
// The Widget expects to be returned valid route_id.
void OnCreateWidget(int opener_id,
blink::WebPopupType popup_type,
- int* route_id,
- int* surface_id);
+ int* route_id);
// The View expects to be returned a valid route_id different from its own.
// We do not keep track of the newly created widget in MockRenderThread,
@@ -129,7 +124,6 @@ class MockRenderThread : public RenderThread {
const ViewHostMsg_CreateWindow_Params& params,
int* route_id,
int* main_frame_route_id,
- int* surface_id,
int64* cloned_session_storage_namespace_id);
// The Frame expects to be returned a valid route_id different from its own.
@@ -149,9 +143,6 @@ class MockRenderThread : public RenderThread {
// Routing id what will be assigned to the Widget.
int32 routing_id_;
- // Surface id what will be assigned to the Widget.
- int32 surface_id_;
-
// Opener id reported by the Widget.
int32 opener_id_;
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/test/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698