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

Side by Side Diff: ash/wm/activation_controller_unittest.cc

Issue 9026017: Move some more files into ash... this time seed the window manager dir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 12 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/wm/activation_controller.cc ('k') | ash/wm/always_on_top_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/aura_shell/activation_controller.h" 5 #include "ash/wm/activation_controller.h"
6 6
7 #include "ui/aura/focus_manager.h" 7 #include "ui/aura/focus_manager.h"
8 #include "ui/aura/root_window.h" 8 #include "ui/aura/root_window.h"
9 #include "ui/aura/test/event_generator.h" 9 #include "ui/aura/test/event_generator.h"
10 #include "ui/aura/test/test_windows.h" 10 #include "ui/aura/test/test_windows.h"
11 #include "ui/aura/test/test_window_delegate.h" 11 #include "ui/aura/test/test_window_delegate.h"
12 #include "ui/aura_shell/test/aura_shell_test_base.h" 12 #include "ui/aura_shell/test/aura_shell_test_base.h"
13 #include "ui/aura_shell/test/test_activation_delegate.h" 13 #include "ui/aura_shell/test/test_activation_delegate.h"
14 #include "ui/aura_shell/window_util.h" 14 #include "ui/aura_shell/window_util.h"
15 15
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 // Try focusing |w21|. Same rules apply. 272 // Try focusing |w21|. Same rules apply.
273 EXPECT_FALSE(IsActiveWindow(w2.get())); 273 EXPECT_FALSE(IsActiveWindow(w2.get()));
274 EXPECT_FALSE(w21->HasFocus()); 274 EXPECT_FALSE(w21->HasFocus());
275 EXPECT_TRUE(IsActiveWindow(w1.get())); 275 EXPECT_TRUE(IsActiveWindow(w1.get()));
276 EXPECT_TRUE(w1->HasFocus()); 276 EXPECT_TRUE(w1->HasFocus());
277 } 277 }
278 278
279 } // namespace test 279 } // namespace test
280 } // namespace aura_shell 280 } // namespace aura_shell
OLDNEW
« no previous file with comments | « ash/wm/activation_controller.cc ('k') | ash/wm/always_on_top_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698