Index: components/html_viewer/html_widget.cc |
diff --git a/components/html_viewer/html_widget.cc b/components/html_viewer/html_widget.cc |
index 93b03ecba034e6cc6d9a52220de3014b31185e7e..fe3e6788fb2e9841d6c10e8eb4acb604273ad57d 100644 |
--- a/components/html_viewer/html_widget.cc |
+++ b/components/html_viewer/html_widget.cc |
@@ -30,7 +30,7 @@ |
void InitializeWebLayerTreeView(WebLayerTreeViewImpl* web_layer_tree_view, |
mojo::ApplicationImpl* app, |
- mus::View* view, |
+ mojo::View* view, |
blink::WebWidget* widget) { |
DCHECK(view); |
mojo::URLRequestPtr request(mojo::URLRequest::New()); |
@@ -40,7 +40,7 @@ |
web_layer_tree_view->Initialize(gpu_service.Pass(), view, widget); |
} |
-void UpdateWebViewSizeFromViewSize(mus::View* view, |
+void UpdateWebViewSizeFromViewSize(mojo::View* view, |
blink::WebWidget* web_widget, |
WebLayerTreeViewImpl* web_layer_tree_view) { |
const gfx::Size size_in_pixels(view->bounds().width, view->bounds().height); |
@@ -74,13 +74,13 @@ |
return web_view_; |
} |
-void HTMLWidgetRootRemote::OnViewBoundsChanged(mus::View* view) {} |
+void HTMLWidgetRootRemote::OnViewBoundsChanged(mojo::View* view) {} |
// HTMLWidgetRootLocal -------------------------------------------------------- |
HTMLWidgetRootLocal::CreateParams::CreateParams(mojo::ApplicationImpl* app, |
GlobalState* global_state, |
- mus::View* view) |
+ mojo::View* view) |
: app(app), global_state(global_state), view(view) {} |
HTMLWidgetRootLocal::CreateParams::~CreateParams() {} |
@@ -153,7 +153,7 @@ |
return web_view_; |
} |
-void HTMLWidgetRootLocal::OnViewBoundsChanged(mus::View* view) { |
+void HTMLWidgetRootLocal::OnViewBoundsChanged(mojo::View* view) { |
UpdateWebViewSizeFromViewSize(view, web_view_, |
web_layer_tree_view_impl_.get()); |
} |
@@ -162,7 +162,7 @@ |
HTMLWidgetLocalRoot::HTMLWidgetLocalRoot(mojo::ApplicationImpl* app, |
GlobalState* global_state, |
- mus::View* view, |
+ mojo::View* view, |
blink::WebLocalFrame* web_local_frame) |
: app_(app), global_state_(global_state), web_frame_widget_(nullptr) { |
web_frame_widget_ = blink::WebFrameWidget::create(this, web_local_frame); |
@@ -185,7 +185,7 @@ |
return web_frame_widget_; |
} |
-void HTMLWidgetLocalRoot::OnViewBoundsChanged(mus::View* view) { |
+void HTMLWidgetLocalRoot::OnViewBoundsChanged(mojo::View* view) { |
UpdateWebViewSizeFromViewSize(view, web_frame_widget_, |
web_layer_tree_view_impl_.get()); |
} |