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

Unified Diff: content/renderer/render_view_impl.h

Issue 2381493003: Move ViewMsg_New 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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 79fe98e9e7c3c3cd07db770b128aadafedac916a..4944cab99ba04a6c4dcfdd26486d58f875513069 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -75,7 +75,6 @@
class SkBitmap;
struct PP_NetAddress_Private;
-struct ViewMsg_New_Params;
struct ViewMsg_StopFinding_Params;
namespace base {
@@ -132,6 +131,10 @@ struct FileChooserFileInfo;
struct RenderViewImplParams;
struct ResizeParams;
+namespace mojom {
+class CreateViewParams;
+}
+
#if defined(OS_ANDROID)
class WebMediaPlayerProxyAndroid;
#endif
@@ -159,14 +162,14 @@ class CONTENT_EXPORT RenderViewImpl
// |proxy_routing_id| is specified, so a RenderFrameProxy can be created for
// this RenderView's main RenderFrame.
static RenderViewImpl* Create(CompositorDependencies* compositor_deps,
- const ViewMsg_New_Params& params,
+ const mojom::CreateViewParams& params,
bool was_created_by_renderer);
// Used by content_layouttest_support to hook into the creation of
// RenderViewImpls.
static void InstallCreateHook(RenderViewImpl* (*create_render_view_impl)(
CompositorDependencies* compositor_deps,
- const ViewMsg_New_Params&));
+ const mojom::CreateViewParams&));
// Returns the RenderViewImpl containing the given WebView.
static RenderViewImpl* FromWebView(blink::WebView* webview);
@@ -434,9 +437,9 @@ class CONTENT_EXPORT RenderViewImpl
void ResizeWebWidget() override;
RenderViewImpl(CompositorDependencies* compositor_deps,
- const ViewMsg_New_Params& params);
+ const mojom::CreateViewParams& params);
- void Initialize(const ViewMsg_New_Params& params,
+ void Initialize(const mojom::CreateViewParams& params,
bool was_created_by_renderer);
void SetScreenMetricsEmulationParameters(
bool enabled,
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698