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

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

Issue 7057011: Fix +/- keys on Mac remoting host. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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 | « no previous file | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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.h" 5 #include "remoting/host/event_executor.h"
6 6
7 #include <ApplicationServices/ApplicationServices.h> 7 #include <ApplicationServices/ApplicationServices.h>
8 #include <Carbon/Carbon.h> 8 #include <Carbon/Carbon.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 // 0xAC - 0xAF 164 // 0xAC - 0xAF
165 /* XF86kVK_HomePage */ -1, kVK_Mute, kVK_VolumeDown, kVK_VolumeUp, 165 /* XF86kVK_HomePage */ -1, kVK_Mute, kVK_VolumeDown, kVK_VolumeUp,
166 166
167 // 0xB0 - 0xB3 167 // 0xB0 - 0xB3
168 /* XF86kVK_AudioNext */ -1, /* XF86kVK_AudioPrev */ -1, 168 /* XF86kVK_AudioNext */ -1, /* XF86kVK_AudioPrev */ -1,
169 /* XF86kVK_AudioStop */ -1, /* XF86kVK_AudioPause */ -1, 169 /* XF86kVK_AudioStop */ -1, /* XF86kVK_AudioPause */ -1,
170 // 0xB4 - 0xB7 170 // 0xB4 - 0xB7
171 /* XF86kVK_Mail */ -1, /* XF86kVK_AudioMedia */ -1, /* XF86kVK_Launch0 */ -1, 171 /* XF86kVK_Mail */ -1, /* XF86kVK_AudioMedia */ -1, /* XF86kVK_Launch0 */ -1,
172 /* XF86kVK_Launch1 */ -1, 172 /* XF86kVK_Launch1 */ -1,
173 // 0xB8 - 0xBB 173 // 0xB8 - 0xBB
174 -1, -1, kVK_ANSI_Semicolon, kVK_ANSI_KeypadPlus, 174 -1, -1, kVK_ANSI_Semicolon, kVK_ANSI_Equal,
175 // 0xBC - 0xBF 175 // 0xBC - 0xBF
176 kVK_ANSI_Comma, kVK_ANSI_KeypadMinus, kVK_ANSI_Period, kVK_ANSI_Slash, 176 kVK_ANSI_Comma, kVK_ANSI_Minus, kVK_ANSI_Period, kVK_ANSI_Slash,
177 177
178 // 0xC0 - 0xC3 178 // 0xC0 - 0xC3
179 kVK_ANSI_Grave, -1, -1, -1, 179 kVK_ANSI_Grave, -1, -1, -1,
180 // 0xC4 - 0xC7 180 // 0xC4 - 0xC7
181 -1, -1, -1, -1, 181 -1, -1, -1, -1,
182 // 0xC8 - 0xCB 182 // 0xC8 - 0xCB
183 -1, -1, -1, -1, 183 -1, -1, -1, -1,
184 // 0xCC - 0xCF 184 // 0xCC - 0xCF
185 -1, -1, -1, -1, 185 -1, -1, -1, -1,
186 186
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 } 307 }
308 308
309 } // namespace 309 } // namespace
310 310
311 EventExecutor* EventExecutor::Create(MessageLoop* message_loop, 311 EventExecutor* EventExecutor::Create(MessageLoop* message_loop,
312 Capturer* capturer) { 312 Capturer* capturer) {
313 return new EventExecutorMac(message_loop, capturer); 313 return new EventExecutorMac(message_loop, capturer);
314 } 314 }
315 315
316 } // namespace remoting 316 } // namespace remoting
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698