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

Unified Diff: services/window_manager/focus_controller_unittest.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/focus_controller_observer.h ('k') | services/window_manager/focus_rules.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/window_manager/focus_controller_unittest.cc
diff --git a/services/window_manager/focus_controller_unittest.cc b/services/window_manager/focus_controller_unittest.cc
index 73dcbb1bbe12f34ae8a943ba50705fd9e3d99f08..13e841d228d087523874c2aecb1679d87e23ca85 100644
--- a/services/window_manager/focus_controller_unittest.cc
+++ b/services/window_manager/focus_controller_unittest.cc
@@ -14,7 +14,9 @@
#include "ui/events/test/event_generator.h"
#include "ui/gfx/geometry/rect.h"
-namespace mojo {
+using mojo::View;
+
+namespace window_manager {
// Counts the number of events that occur.
class FocusNotificationObserver : public FocusControllerObserver {
@@ -105,7 +107,7 @@ class RecordingFocusNotificationObserver : public FocusNotificationObserver {
}
private:
- mojo::FocusController* focus_controller_;
+ FocusController* focus_controller_;
// Not owned.
ViewDestroyer* destroyer_;
@@ -166,7 +168,7 @@ class ScopedFocusNotificationObserver : public FocusNotificationObserver {
}
private:
- mojo::FocusController* focus_controller_;
+ FocusController* focus_controller_;
DISALLOW_COPY_AND_ASSIGN(ScopedFocusNotificationObserver);
};
@@ -204,7 +206,7 @@ class ScopedFilteringFocusNotificationObserver
}
}
- mojo::FocusController* focus_controller_;
+ FocusController* focus_controller_;
View* target_;
DISALLOW_COPY_AND_ASSIGN(ScopedFilteringFocusNotificationObserver);
@@ -1130,4 +1132,4 @@ FOCUS_CONTROLLER_TEST(FocusControllerApiTest, DontPassDestroyedView);
// If a mouse event was handled, it should not activate a view.
FOCUS_CONTROLLER_TEST(FocusControllerMouseEventTest, IgnoreHandledEvent);
-} // namespace mojo
+} // namespace window_manager
« no previous file with comments | « services/window_manager/focus_controller_observer.h ('k') | services/window_manager/focus_rules.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698