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

Side by Side Diff: ui/aura/root_window_unittest.cc

Issue 26116008: Remove old FocusManager code from Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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 | « ui/aura/root_window_host_x11.cc ('k') | ui/aura/test/aura_test_helper.cc » ('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) 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/aura/root_window.h" 5 #include "ui/aura/root_window.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "ui/aura/client/event_client.h" 10 #include "ui/aura/client/event_client.h"
11 #include "ui/aura/client/focus_client.h"
11 #include "ui/aura/env.h" 12 #include "ui/aura/env.h"
12 #include "ui/aura/focus_manager.h"
13 #include "ui/aura/test/aura_test_base.h" 13 #include "ui/aura/test/aura_test_base.h"
14 #include "ui/aura/test/event_generator.h" 14 #include "ui/aura/test/event_generator.h"
15 #include "ui/aura/test/test_cursor_client.h" 15 #include "ui/aura/test/test_cursor_client.h"
16 #include "ui/aura/test/test_event_handler.h" 16 #include "ui/aura/test/test_event_handler.h"
17 #include "ui/aura/test/test_window_delegate.h" 17 #include "ui/aura/test/test_window_delegate.h"
18 #include "ui/aura/test/test_windows.h" 18 #include "ui/aura/test/test_windows.h"
19 #include "ui/aura/window_tracker.h" 19 #include "ui/aura/window_tracker.h"
20 #include "ui/base/hit_test.h" 20 #include "ui/base/hit_test.h"
21 #include "ui/events/event.h" 21 #include "ui/events/event.h"
22 #include "ui/events/event_handler.h" 22 #include "ui/events/event_handler.h"
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 // destroyed. This test passes if no crash happens. 1128 // destroyed. This test passes if no crash happens.
1129 generator.MoveMouseTo(52, 52); 1129 generator.MoveMouseTo(52, 52);
1130 EXPECT_EQ(NULL, root_window()->mouse_moved_handler()); 1130 EXPECT_EQ(NULL, root_window()->mouse_moved_handler());
1131 1131
1132 // Check events received by window 1. 1132 // Check events received by window 1.
1133 EXPECT_EQ("MOUSE_ENTERED MOUSE_MOVED MOUSE_EXITED", 1133 EXPECT_EQ("MOUSE_ENTERED MOUSE_MOVED MOUSE_EXITED",
1134 EventTypesToString(w1_filter->events())); 1134 EventTypesToString(w1_filter->events()));
1135 } 1135 }
1136 1136
1137 } // namespace aura 1137 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/root_window_host_x11.cc ('k') | ui/aura/test/aura_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698