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

Unified Diff: mandoline/ui/aura/window_tree_host_mojo.cc

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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 | « mandoline/ui/aura/window_tree_host_mojo.h ('k') | mandoline/ui/desktop_ui/browser_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/aura/window_tree_host_mojo.cc
diff --git a/mandoline/ui/aura/window_tree_host_mojo.cc b/mandoline/ui/aura/window_tree_host_mojo.cc
index 227e41d25325a73ddd2f6d9216c363474e1814d2..c2a5dc3d3a3c5229e5277a29e29467698980a1bc 100644
--- a/mandoline/ui/aura/window_tree_host_mojo.cc
+++ b/mandoline/ui/aura/window_tree_host_mojo.cc
@@ -20,7 +20,7 @@ namespace mandoline {
////////////////////////////////////////////////////////////////////////////////
// WindowTreeHostMojo, public:
-WindowTreeHostMojo::WindowTreeHostMojo(mojo::Shell* shell, mojo::View* view)
+WindowTreeHostMojo::WindowTreeHostMojo(mojo::Shell* shell, mus::View* view)
: view_(view), bounds_(view->bounds().To<gfx::Rect>()) {
view_->AddObserver(this);
@@ -99,10 +99,9 @@ void WindowTreeHostMojo::OnCursorVisibilityChangedNative(bool show) {
////////////////////////////////////////////////////////////////////////////////
// WindowTreeHostMojo, ViewObserver implementation:
-void WindowTreeHostMojo::OnViewBoundsChanged(
- mojo::View* view,
- const mojo::Rect& old_bounds,
- const mojo::Rect& new_bounds) {
+void WindowTreeHostMojo::OnViewBoundsChanged(mus::View* view,
+ const mojo::Rect& old_bounds,
+ const mojo::Rect& new_bounds) {
gfx::Rect old_bounds2 = old_bounds.To<gfx::Rect>();
gfx::Rect new_bounds2 = new_bounds.To<gfx::Rect>();
bounds_ = new_bounds2;
« no previous file with comments | « mandoline/ui/aura/window_tree_host_mojo.h ('k') | mandoline/ui/desktop_ui/browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698