OLD | NEW |
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/remote_root_window_host_win.h" | 5 #include "ui/aura/remote_root_window_host_win.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
11 #include "base/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "ipc/ipc_message.h" | 12 #include "ipc/ipc_message.h" |
13 #include "ipc/ipc_sender.h" | 13 #include "ipc/ipc_sender.h" |
14 #include "ui/aura/client/capture_client.h" | 14 #include "ui/aura/client/capture_client.h" |
15 #include "ui/aura/client/cursor_client.h" | 15 #include "ui/aura/client/cursor_client.h" |
16 #include "ui/aura/root_window.h" | 16 #include "ui/aura/root_window.h" |
17 #include "ui/base/cursor/cursor_loader_win.h" | 17 #include "ui/base/cursor/cursor_loader_win.h" |
18 #include "ui/base/events/event.h" | 18 #include "ui/base/events/event.h" |
19 #include "ui/base/events/event_utils.h" | 19 #include "ui/base/events/event_utils.h" |
20 #include "ui/base/keycodes/keyboard_code_conversion_win.h" | 20 #include "ui/base/keycodes/keyboard_code_conversion_win.h" |
21 #include "ui/base/view_prop.h" | 21 #include "ui/base/view_prop.h" |
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 } else { | 556 } else { |
557 ui::KeyEvent event(type, | 557 ui::KeyEvent event(type, |
558 ui::KeyboardCodeForWindowsKeyCode(vkey), | 558 ui::KeyboardCodeForWindowsKeyCode(vkey), |
559 flags, | 559 flags, |
560 is_character); | 560 is_character); |
561 delegate_->OnHostKeyEvent(&event); | 561 delegate_->OnHostKeyEvent(&event); |
562 } | 562 } |
563 } | 563 } |
564 | 564 |
565 } // namespace aura | 565 } // namespace aura |
OLD | NEW |