| 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 "build/build_config.h" | 10 #include "build/build_config.h" |
| 11 #include "ui/aura/client/aura_constants.h" | 11 #include "ui/aura/client/aura_constants.h" |
| 12 #include "ui/aura/client/cursor_client.h" | 12 #include "ui/aura/client/cursor_client.h" |
| 13 #include "ui/aura/client/window_tree_client.h" | 13 #include "ui/aura/client/window_tree_client.h" |
| 14 #include "ui/aura/test/test_window_delegate.h" | 14 #include "ui/aura/test/test_window_delegate.h" |
| 15 #include "ui/aura/window.h" | 15 #include "ui/aura/window.h" |
| 16 #include "ui/aura/window_tree_host.h" | 16 #include "ui/aura/window_tree_host.h" |
| 17 #include "ui/compositor/layer.h" |
| 18 #include "ui/compositor/layer_delegate.h" |
| 17 #include "ui/display/screen.h" | 19 #include "ui/display/screen.h" |
| 18 #include "ui/events/event_processor.h" | 20 #include "ui/events/event_processor.h" |
| 19 #include "ui/events/event_utils.h" | 21 #include "ui/events/event_utils.h" |
| 20 #include "ui/events/test/event_generator.h" | 22 #include "ui/events/test/event_generator.h" |
| 21 #include "ui/views/test/native_widget_factory.h" | 23 #include "ui/views/test/native_widget_factory.h" |
| 22 #include "ui/views/test/test_views.h" | 24 #include "ui/views/test/test_views.h" |
| 23 #include "ui/views/test/test_views_delegate.h" | 25 #include "ui/views/test/test_views_delegate.h" |
| 24 #include "ui/views/test/views_test_base.h" | 26 #include "ui/views/test/views_test_base.h" |
| 25 #include "ui/views/test/widget_test.h" | 27 #include "ui/views/test/widget_test.h" |
| 26 #include "ui/views/widget/widget.h" | 28 #include "ui/views/widget/widget.h" |
| (...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 target->HandleKeyboardMessage(WM_CHAR, 0, 0, &handled); | 660 target->HandleKeyboardMessage(WM_CHAR, 0, 0, &handled); |
| 659 target->HandleKeyboardMessage(WM_SYSCHAR, 0, 0, &handled); | 661 target->HandleKeyboardMessage(WM_SYSCHAR, 0, 0, &handled); |
| 660 target->HandleKeyboardMessage(WM_SYSDEADCHAR, 0, 0, &handled); | 662 target->HandleKeyboardMessage(WM_SYSDEADCHAR, 0, 0, &handled); |
| 661 widget.CloseNow(); | 663 widget.CloseNow(); |
| 662 } | 664 } |
| 663 | 665 |
| 664 #endif // defined(OS_WIN) | 666 #endif // defined(OS_WIN) |
| 665 | 667 |
| 666 } // namespace test | 668 } // namespace test |
| 667 } // namespace views | 669 } // namespace views |
| OLD | NEW |