Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: remoting/host/event_executor_win.cc

Issue 6246001: Move app/key* to ui/base/keycodes/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/webdriver/keymap.cc ('k') | ui/base/keycodes/keyboard_code_conversion.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "remoting/host/event_executor_win.h" 5 #include "remoting/host/event_executor_win.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "app/keyboard_codes.h"
10 #include "base/message_loop.h" 9 #include "base/message_loop.h"
11 #include "base/stl_util-inl.h" 10 #include "base/stl_util-inl.h"
12 #include "remoting/host/capturer.h" 11 #include "remoting/host/capturer.h"
13 #include "remoting/proto/event.pb.h" 12 #include "remoting/proto/event.pb.h"
13 #include "ui/base/keycodes/keyboard_codes.h"
14 14
15 namespace remoting { 15 namespace remoting {
16 16
17 using protocol::MouseEvent; 17 using protocol::MouseEvent;
18 using protocol::KeyEvent; 18 using protocol::KeyEvent;
19 19
20 EventExecutorWin::EventExecutorWin( 20 EventExecutorWin::EventExecutorWin(
21 MessageLoop* message_loop, Capturer* capturer) 21 MessageLoop* message_loop, Capturer* capturer)
22 : message_loop_(message_loop), 22 : message_loop_(message_loop),
23 capturer_(capturer) { 23 capturer_(capturer) {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 } else { 142 } else {
143 button_event.mi.dwFlags = 143 button_event.mi.dwFlags =
144 down ? MOUSEEVENTF_LEFTDOWN : MOUSEEVENTF_LEFTUP; 144 down ? MOUSEEVENTF_LEFTDOWN : MOUSEEVENTF_LEFTUP;
145 } 145 }
146 146
147 SendInput(1, &button_event, sizeof(INPUT)); 147 SendInput(1, &button_event, sizeof(INPUT));
148 } 148 }
149 } 149 }
150 150
151 } // namespace remoting 151 } // namespace remoting
OLDNEW
« no previous file with comments | « chrome/test/webdriver/keymap.cc ('k') | ui/base/keycodes/keyboard_code_conversion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698