OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/wm/core/capture_controller.h" | 5 #include "ui/wm/core/capture_controller.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/macros.h" |
8 #include "base/path_service.h" | 9 #include "base/path_service.h" |
9 #include "ui/aura/env.h" | 10 #include "ui/aura/env.h" |
10 #include "ui/aura/test/test_window_delegate.h" | 11 #include "ui/aura/test/test_window_delegate.h" |
11 #include "ui/aura/window_event_dispatcher.h" | 12 #include "ui/aura/window_event_dispatcher.h" |
12 #include "ui/aura/window_tree_host.h" | 13 #include "ui/aura/window_tree_host.h" |
13 #include "ui/base/resource/resource_bundle.h" | 14 #include "ui/base/resource/resource_bundle.h" |
14 #include "ui/base/ui_base_paths.h" | 15 #include "ui/base/ui_base_paths.h" |
15 #include "ui/events/event.h" | 16 #include "ui/events/event.h" |
16 #include "ui/events/test/event_generator.h" | 17 #include "ui/events/test/event_generator.h" |
17 #include "ui/gl/test/gl_surface_test_support.h" | 18 #include "ui/gl/test/gl_surface_test_support.h" |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 | 194 |
194 EXPECT_TRUE(v2->received_gesture_event()); | 195 EXPECT_TRUE(v2->received_gesture_event()); |
195 EXPECT_FALSE(v1->received_gesture_event()); | 196 EXPECT_FALSE(v1->received_gesture_event()); |
196 | 197 |
197 widget1->CloseNow(); | 198 widget1->CloseNow(); |
198 widget2->CloseNow(); | 199 widget2->CloseNow(); |
199 RunPendingMessages(); | 200 RunPendingMessages(); |
200 } | 201 } |
201 | 202 |
202 } // namespace views | 203 } // namespace views |
OLD | NEW |