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

Unified Diff: components/html_viewer/html_widget.cc

Issue 1351013002: Revert of Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « components/html_viewer/html_widget.h ('k') | components/html_viewer/ime_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « components/html_viewer/html_widget.h ('k') | components/html_viewer/ime_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698