Index: content/browser/renderer_host/render_message_filter.h |
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h |
index cb059451f17a586486b22c7ee75f2f01c9a1d96c..227fedc6dbbe978a663ed0900d3a39927882d4e9 100644 |
--- a/content/browser/renderer_host/render_message_filter.h |
+++ b/content/browser/renderer_host/render_message_filter.h |
@@ -48,8 +48,6 @@ |
class GURL; |
struct FontDescriptor; |
-struct ViewHostMsg_CreateWindow_Params; |
-struct ViewHostMsg_CreateWindow_Reply; |
namespace base { |
class ProcessMetrics; |
@@ -122,8 +120,6 @@ class CONTENT_EXPORT RenderMessageFilter |
friend class base::DeleteHelper<RenderMessageFilter>; |
void OnGetProcessMemorySizes(size_t* private_bytes, size_t* shared_bytes); |
- void OnCreateWindow(const ViewHostMsg_CreateWindow_Params& params, |
- ViewHostMsg_CreateWindow_Reply* reply); |
void OnCreateWidget(int opener_id, |
blink::WebPopupType popup_type, |
int* route_id); |
@@ -137,6 +133,8 @@ class CONTENT_EXPORT RenderMessageFilter |
// mojom::RenderMessageFilter: |
void GenerateRoutingID(const GenerateRoutingIDCallback& routing_id) override; |
+ void CreateWindow(mojom::CreateWindowParamsPtr params, |
+ const CreateWindowCallback& callback) override; |
// Message handlers called on the browser IO thread: |
void OnEstablishGpuChannel(IPC::Message* reply); |