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); |