OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/widget/desktop_aura/desktop_native_widget_aura.h" | 5 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "ui/aura/client/aura_constants.h" | 12 #include "ui/aura/client/aura_constants.h" |
13 #include "ui/aura/client/cursor_client.h" | 13 #include "ui/aura/client/cursor_client.h" |
14 #include "ui/aura/client/window_tree_client.h" | 14 #include "ui/aura/client/window_parenting_client.h" |
15 #include "ui/aura/test/test_window_delegate.h" | 15 #include "ui/aura/test/test_window_delegate.h" |
16 #include "ui/aura/window.h" | 16 #include "ui/aura/window.h" |
17 #include "ui/aura/window_tree_host.h" | 17 #include "ui/aura/window_tree_host.h" |
18 #include "ui/display/screen.h" | 18 #include "ui/display/screen.h" |
19 #include "ui/events/event_processor.h" | 19 #include "ui/events/event_processor.h" |
20 #include "ui/events/event_utils.h" | 20 #include "ui/events/event_utils.h" |
21 #include "ui/events/test/event_generator.h" | 21 #include "ui/events/test/event_generator.h" |
22 #include "ui/views/test/native_widget_factory.h" | 22 #include "ui/views/test/native_widget_factory.h" |
23 #include "ui/views/test/test_views.h" | 23 #include "ui/views/test/test_views.h" |
24 #include "ui/views/test/test_views_delegate.h" | 24 #include "ui/views/test/test_views_delegate.h" |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 target->HandleKeyboardMessage(WM_CHAR, 0, 0, &handled); | 674 target->HandleKeyboardMessage(WM_CHAR, 0, 0, &handled); |
675 target->HandleKeyboardMessage(WM_SYSCHAR, 0, 0, &handled); | 675 target->HandleKeyboardMessage(WM_SYSCHAR, 0, 0, &handled); |
676 target->HandleKeyboardMessage(WM_SYSDEADCHAR, 0, 0, &handled); | 676 target->HandleKeyboardMessage(WM_SYSDEADCHAR, 0, 0, &handled); |
677 widget.CloseNow(); | 677 widget.CloseNow(); |
678 } | 678 } |
679 | 679 |
680 #endif // defined(OS_WIN) | 680 #endif // defined(OS_WIN) |
681 | 681 |
682 } // namespace test | 682 } // namespace test |
683 } // namespace views | 683 } // namespace views |
OLD | NEW |