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_window_tree_host_win.h" | 5 #include "ui/aura/remote_window_tree_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/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/aura_constants.h" | 14 #include "ui/aura/client/aura_constants.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/window_event_dispatcher.h" |
17 #include "ui/aura/window_property.h" | 17 #include "ui/aura/window_property.h" |
18 #include "ui/base/cursor/cursor_loader_win.h" | 18 #include "ui/base/cursor/cursor_loader_win.h" |
19 #include "ui/base/ime/composition_text.h" | 19 #include "ui/base/ime/composition_text.h" |
20 #include "ui/base/ime/input_method.h" | 20 #include "ui/base/ime/input_method.h" |
21 #include "ui/base/ime/remote_input_method_win.h" | 21 #include "ui/base/ime/remote_input_method_win.h" |
22 #include "ui/base/ime/text_input_client.h" | 22 #include "ui/base/ime/text_input_client.h" |
23 #include "ui/base/view_prop.h" | 23 #include "ui/base/view_prop.h" |
24 #include "ui/events/event_utils.h" | 24 #include "ui/events/event_utils.h" |
25 #include "ui/events/keycodes/keyboard_code_conversion_win.h" | 25 #include "ui/events/keycodes/keyboard_code_conversion_win.h" |
26 #include "ui/gfx/insets.h" | 26 #include "ui/gfx/insets.h" |
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 } | 767 } |
768 | 768 |
769 void RemoteWindowTreeHostWin::SetEventFlags(uint32 flags) { | 769 void RemoteWindowTreeHostWin::SetEventFlags(uint32 flags) { |
770 if (flags == event_flags_) | 770 if (flags == event_flags_) |
771 return; | 771 return; |
772 event_flags_ = flags; | 772 event_flags_ = flags; |
773 SetVirtualKeyStates(event_flags_); | 773 SetVirtualKeyStates(event_flags_); |
774 } | 774 } |
775 | 775 |
776 } // namespace aura | 776 } // namespace aura |
OLD | NEW |