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

Unified Diff: mandoline/ui/aura/native_widget_view_manager.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/native_widget_view_manager.h ('k') | mandoline/ui/aura/surface_binding.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/aura/native_widget_view_manager.cc
diff --git a/mandoline/ui/aura/native_widget_view_manager.cc b/mandoline/ui/aura/native_widget_view_manager.cc
index 1665d18c977a3b9ed6c293541440abd2c3ae3354..ba863711ba6062955c51478bba767f32c5741abf 100644
--- a/mandoline/ui/aura/native_widget_view_manager.cc
+++ b/mandoline/ui/aura/native_widget_view_manager.cc
@@ -38,7 +38,7 @@ class FocusRulesImpl : public wm::BaseFocusRules {
NativeWidgetViewManager::NativeWidgetViewManager(
views::internal::NativeWidgetDelegate* delegate,
mojo::Shell* shell,
- mojo::View* view)
+ mus::View* view)
: NativeWidgetAura(delegate), view_(view) {
view_->AddObserver(this);
window_tree_host_.reset(new WindowTreeHostMojo(shell, view_));
@@ -76,7 +76,7 @@ void NativeWidgetViewManager::OnWindowVisibilityChanged(aura::Window* window,
// I'm not bothering.
}
-void NativeWidgetViewManager::OnViewDestroyed(mojo::View* view) {
+void NativeWidgetViewManager::OnViewDestroyed(mus::View* view) {
DCHECK_EQ(view, view_);
view->RemoveObserver(this);
view_ = NULL;
@@ -85,22 +85,22 @@ void NativeWidgetViewManager::OnViewDestroyed(mojo::View* view) {
}
void NativeWidgetViewManager::OnViewBoundsChanged(
- mojo::View* view,
+ mus::View* view,
const mojo::Rect& old_bounds,
const mojo::Rect& new_bounds) {
gfx::Rect view_rect = view->bounds().To<gfx::Rect>();
GetWidget()->SetBounds(gfx::Rect(view_rect.size()));
}
-void NativeWidgetViewManager::OnViewFocusChanged(mojo::View* gained_focus,
- mojo::View* lost_focus) {
+void NativeWidgetViewManager::OnViewFocusChanged(mus::View* gained_focus,
+ mus::View* lost_focus) {
if (gained_focus == view_)
window_tree_host_->GetInputMethod()->OnFocus();
else if (lost_focus == view_)
window_tree_host_->GetInputMethod()->OnBlur();
}
-void NativeWidgetViewManager::OnViewInputEvent(mojo::View* view,
+void NativeWidgetViewManager::OnViewInputEvent(mus::View* view,
const mojo::EventPtr& event) {
scoped_ptr<ui::Event> ui_event(event.To<scoped_ptr<ui::Event>>());
if (!ui_event)
« no previous file with comments | « mandoline/ui/aura/native_widget_view_manager.h ('k') | mandoline/ui/aura/surface_binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698