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

Unified Diff: content/browser/renderer_host/render_message_filter.h

Issue 2363573002: Move ViewHostMsg_CreateWindow to mojom (Closed)
Patch Set: . Created 4 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
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 1bec995a506ed8a32155a3767fa9b34820e79948..83afa13008c38cce16dd7a91dea691d3e4d88c44 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -49,8 +49,6 @@
class GURL;
struct FontDescriptor;
-struct ViewHostMsg_CreateWindow_Params;
-struct ViewHostMsg_CreateWindow_Reply;
namespace base {
class ProcessMetrics;
@@ -123,8 +121,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);
@@ -138,6 +134,8 @@ class CONTENT_EXPORT RenderMessageFilter
// mojom::RenderMessageFilter:
void GenerateRoutingID(const GenerateRoutingIDCallback& routing_id) override;
+ void CreateNewWindow(mojom::CreateNewWindowParamsPtr params,
+ const CreateNewWindowCallback& callback) override;
// Message handlers called on the browser IO thread:
void OnEstablishGpuChannel(IPC::Message* reply);
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698