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

Unified Diff: services/window_manager/view_targeter.cc

Issue 788453002: Put code in //services/window_manager in namespace window_manager (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « services/window_manager/view_targeter.h ('k') | services/window_manager/view_targeter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/window_manager/view_targeter.cc
diff --git a/services/window_manager/view_targeter.cc b/services/window_manager/view_targeter.cc
index e176b38cea5655351aed872983b70341f8b59d6b..ab822ffd51e08936b1058dc316aad197eb4ebe78 100644
--- a/services/window_manager/view_targeter.cc
+++ b/services/window_manager/view_targeter.cc
@@ -7,7 +7,7 @@
#include "services/window_manager/focus_controller.h"
#include "services/window_manager/view_target.h"
-namespace mojo {
+namespace window_manager {
ViewTargeter::ViewTargeter() {}
@@ -72,7 +72,7 @@ bool ViewTargeter::EventLocationInsideBounds(
ViewTarget* ViewTargeter::FindTargetForKeyEvent(ViewTarget* view_target,
const ui::KeyEvent& key) {
FocusController* focus_controller = GetFocusController(view_target->view());
- View* focused_view = focus_controller->GetFocusedView();
+ mojo::View* focused_view = focus_controller->GetFocusedView();
if (focused_view)
return ViewTarget::TargetFromView(focused_view);
@@ -94,4 +94,4 @@ ViewTarget* ViewTargeter::FindTargetInRootView(ViewTarget* root_view,
return nullptr;
}
-} // namespace mojo
+} // namespace window_manager
« no previous file with comments | « services/window_manager/view_targeter.h ('k') | services/window_manager/view_targeter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698