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

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

Issue 2450353004: Move ViewHostMsg_CreateWidget to mojom (Closed)
Patch Set: Addressed jam's comments + sync Created 4 years, 1 month 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 47a01cf799d34b52c5734b00629633fbab487eba..c004274489785fa0b711502a4e5e64b5a0eb752c 100644
--- a/content/public/test/mock_render_thread.h
+++ b/content/public/test/mock_render_thread.h
@@ -120,16 +120,15 @@ class MockRenderThread : public RenderThread {
void OnCreateWindow(const mojom::CreateNewWindowParams& params,
mojom::CreateNewWindowReply* reply);
+ // The Widget expects to be returned a valid route_id.
+ void OnCreateWidget(int opener_id,
+ blink::WebPopupType popup_type,
+ int* route_id);
protected:
// This function operates as a regular IPC listener. Subclasses
// overriding this should first delegate to this implementation.
virtual bool OnMessageReceived(const IPC::Message& msg);
- // The Widget expects to be returned valid route_id.
- void OnCreateWidget(int opener_id,
- blink::WebPopupType popup_type,
- int* route_id);
-
// The Frame expects to be returned a valid route_id different from its own.
void OnCreateChildFrame(const FrameHostMsg_CreateChildFrame_Params& params,
int* new_render_frame_id);

Powered by Google App Engine
This is Rietveld 408576698