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/views/corewm/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 "ui/aura/env.h" | 8 #include "ui/aura/env.h" |
9 #include "ui/aura/test/event_generator.h" | 9 #include "ui/aura/test/event_generator.h" |
10 #include "ui/aura/test/test_window_delegate.h" | 10 #include "ui/aura/test/test_window_delegate.h" |
11 #include "ui/aura/window_event_dispatcher.h" | 11 #include "ui/aura/window_event_dispatcher.h" |
12 #include "ui/events/event.h" | 12 #include "ui/events/event.h" |
13 #include "ui/views/test/views_test_base.h" | 13 #include "ui/views/test/views_test_base.h" |
14 #include "ui/views/view.h" | 14 #include "ui/views/view.h" |
15 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" | 15 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 172 |
173 EXPECT_TRUE(v2->received_gesture_event()); | 173 EXPECT_TRUE(v2->received_gesture_event()); |
174 EXPECT_FALSE(v1->received_gesture_event()); | 174 EXPECT_FALSE(v1->received_gesture_event()); |
175 | 175 |
176 widget1->CloseNow(); | 176 widget1->CloseNow(); |
177 widget2->CloseNow(); | 177 widget2->CloseNow(); |
178 RunPendingMessages(); | 178 RunPendingMessages(); |
179 } | 179 } |
180 | 180 |
181 } // namespace views | 181 } // namespace views |
OLD | NEW |