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

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

Issue 1303773002: Give the main frame a RenderWidget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 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/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 b5e1550dea5c60d9c2b337af0456ddf5dd11c8f6..f60819ea6dc501b347b868492c0d57b07c601b54 100644
--- a/content/public/test/mock_render_thread.h
+++ b/content/public/test/mock_render_thread.h
@@ -15,6 +15,7 @@
#include "third_party/WebKit/public/web/WebPopupType.h"
struct ViewHostMsg_CreateWindow_Params;
+struct ViewHostMsg_CreateWindow_Reply;
namespace IPC {
class MessageFilter;
@@ -126,12 +127,8 @@ class MockRenderThread : public RenderThread {
// The View expects to be returned a valid route_id different from its own.
ncarter (slow) 2015/08/24 20:55:35 |route_id| comment is stale.
dcheng 2015/09/03 16:33:09 Done.
// We do not keep track of the newly created widget in MockRenderThread,
// so it must be cleaned up on its own.
- void OnCreateWindow(
- const ViewHostMsg_CreateWindow_Params& params,
- int* route_id,
- int* main_frame_route_id,
- int* surface_id,
- int64* cloned_session_storage_namespace_id);
+ void OnCreateWindow(const ViewHostMsg_CreateWindow_Params& params,
+ ViewHostMsg_CreateWindow_Reply* reply);
// The Frame expects to be returned a valid route_id different from its own.
void OnCreateChildFrame(int new_frame_routing_id,

Powered by Google App Engine
This is Rietveld 408576698