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

Side by Side Diff: webkit/plugins/ppapi/usb_key_code_conversion.cc

Issue 9619014: Add Windows nativeKeyCode to USB keycode conversion table (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
OLDNEW
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 "webkit/plugins/ppapi/usb_key_code_conversion.h" 5 #include "webkit/plugins/ppapi/usb_key_code_conversion.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 using WebKit::WebKeyboardEvent; 9 using WebKit::WebKeyboardEvent;
10 10
11 namespace webkit { 11 namespace webkit {
12 namespace ppapi { 12 namespace ppapi {
13 13
14 // TODO(garykac): Implement for Windows. 14 #if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_WIN)
tony 2012/03/15 22:32:21 Can we just delete this file? What's left?
15 #if !defined(OS_LINUX) && !defined(OS_MACOSX)
16 15
17 uint32_t UsbKeyCodeForKeyboardEvent(const WebKeyboardEvent& key_event) { 16 uint32_t UsbKeyCodeForKeyboardEvent(const WebKeyboardEvent& key_event) {
18 return 0; 17 return 0;
19 } 18 }
20 19
21 #endif 20 #endif
22 21
23 } // namespace ppapi 22 } // namespace ppapi
24 } // namespace webkit 23 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698