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

Unified Diff: services/window_manager/view_targeter_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/view_targeter.cc ('k') | services/window_manager/window_manager_api_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_unittest.cc
diff --git a/services/window_manager/view_targeter_unittest.cc b/services/window_manager/view_targeter_unittest.cc
index ee2bbb82241fc3a10e8f7f66954c77a4fce791fd..a55ef75ca5949e69525dc320b1a08d59c93c8602 100644
--- a/services/window_manager/view_targeter_unittest.cc
+++ b/services/window_manager/view_targeter_unittest.cc
@@ -11,7 +11,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/test/test_event_handler.h"
-namespace mojo {
+namespace window_manager {
class ViewTargeterTest : public testing::Test {
public:
@@ -80,8 +80,7 @@ TEST_F(ViewTargeterTest, KeyTest) {
ui::test::TestEventHandler two_handler;
two.target()->AddPreTargetHandler(&two_handler);
- FocusController focus_controller(scoped_ptr<mojo::FocusRules>(
- new mojo::BasicFocusRules(&root)));
+ FocusController focus_controller(make_scoped_ptr(new BasicFocusRules(&root)));
SetFocusController(&root, &focus_controller);
// Focus |one|. Then test that it receives a key event.
@@ -103,4 +102,4 @@ TEST_F(ViewTargeterTest, KeyTest) {
one.target()->RemovePreTargetHandler(&one_handler);
}
-} // namespace mojo
+} // namespace window_manager
« no previous file with comments | « services/window_manager/view_targeter.cc ('k') | services/window_manager/window_manager_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698