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

Side by Side Diff: ui/views/corewm/focus_controller_unittest.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/views/corewm/focus_controller.h" 5 #include "ui/views/corewm/focus_controller.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "ui/aura/client/activation_change_observer.h" 9 #include "ui/aura/client/activation_change_observer.h"
10 #include "ui/aura/client/activation_client.h" 10 #include "ui/aura/client/activation_client.h"
11 #include "ui/aura/client/aura_constants.h" 11 #include "ui/aura/client/aura_constants.h"
12 #include "ui/aura/client/default_capture_client.h" 12 #include "ui/aura/client/default_capture_client.h"
13 #include "ui/aura/client/focus_change_observer.h" 13 #include "ui/aura/client/focus_change_observer.h"
14 #include "ui/aura/root_window.h"
15 #include "ui/aura/test/aura_test_base.h" 14 #include "ui/aura/test/aura_test_base.h"
16 #include "ui/aura/test/event_generator.h" 15 #include "ui/aura/test/event_generator.h"
17 #include "ui/aura/test/test_window_delegate.h" 16 #include "ui/aura/test/test_window_delegate.h"
18 #include "ui/aura/test/test_windows.h" 17 #include "ui/aura/test/test_windows.h"
19 #include "ui/aura/window.h" 18 #include "ui/aura/window.h"
19 #include "ui/aura/window_event_dispatcher.h"
20 #include "ui/aura/window_tracker.h" 20 #include "ui/aura/window_tracker.h"
21 #include "ui/events/event_handler.h" 21 #include "ui/events/event_handler.h"
22 #include "ui/views/corewm/base_focus_rules.h" 22 #include "ui/views/corewm/base_focus_rules.h"
23 #include "ui/views/corewm/wm_state.h" 23 #include "ui/views/corewm/wm_state.h"
24 24
25 namespace views { 25 namespace views {
26 namespace corewm { 26 namespace corewm {
27 27
28 class FocusNotificationObserver : public aura::client::ActivationChangeObserver, 28 class FocusNotificationObserver : public aura::client::ActivationChangeObserver,
29 public aura::client::FocusChangeObserver { 29 public aura::client::FocusChangeObserver {
(...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 DIRECT_FOCUS_CHANGE_TESTS(NoFocusChangeOnClickOnCaptureWindow); 1195 DIRECT_FOCUS_CHANGE_TESTS(NoFocusChangeOnClickOnCaptureWindow);
1196 1196
1197 FOCUS_CONTROLLER_TEST(FocusControllerApiTest, 1197 FOCUS_CONTROLLER_TEST(FocusControllerApiTest,
1198 ChangeFocusWhenNothingFocusedAndCaptured); 1198 ChangeFocusWhenNothingFocusedAndCaptured);
1199 1199
1200 // See description above DontPassDeletedWindow() for details. 1200 // See description above DontPassDeletedWindow() for details.
1201 FOCUS_CONTROLLER_TEST(FocusControllerApiTest, DontPassDeletedWindow); 1201 FOCUS_CONTROLLER_TEST(FocusControllerApiTest, DontPassDeletedWindow);
1202 1202
1203 } // namespace corewm 1203 } // namespace corewm
1204 } // namespace views 1204 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/corewm/desktop_capture_controller_unittest.cc ('k') | ui/views/corewm/input_method_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698