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

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

Issue 2353003004: 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_widget_helper.h
diff --git a/content/browser/renderer_host/render_widget_helper.h b/content/browser/renderer_host/render_widget_helper.h
index 43878c707a5cf18a6791c3ada551da9cfe149710..668ed3a8f433f9c0ed53c52ae1ce97b43d21d43f 100644
--- a/content/browser/renderer_host/render_widget_helper.h
+++ b/content/browser/renderer_host/render_widget_helper.h
@@ -14,6 +14,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/process/process.h"
+#include "content/common/render_message_filter.mojom.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/global_request_id.h"
@@ -29,8 +30,6 @@ namespace base {
class TimeDelta;
}
-struct ViewHostMsg_CreateWindow_Params;
-
namespace content {
class GpuProcessHost;
class ResourceDispatcherHostImpl;
@@ -98,7 +97,7 @@ class RenderWidgetHelper
// IO THREAD ONLY -----------------------------------------------------------
- void CreateNewWindow(const ViewHostMsg_CreateWindow_Params& params,
+ void CreateNewWindow(mojom::CreateWindowParamsPtr params,
bool no_javascript_access,
base::ProcessHandle render_process,
int32_t* route_id,
@@ -118,7 +117,7 @@ class RenderWidgetHelper
~RenderWidgetHelper();
// Called on the UI thread to finish creating a window.
- void OnCreateWindowOnUI(const ViewHostMsg_CreateWindow_Params& params,
+ void OnCreateWindowOnUI(mojom::CreateWindowParamsPtr params,
int32_t route_id,
int32_t main_frame_route_id,
int32_t main_frame_widget_route_id,
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/renderer_host/render_widget_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698