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

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

Issue 9359048: Calc USB scancodes for key events (linux only for now) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments Created 8 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "webkit/plugins/ppapi/usb_scan_code_conversion.h"
6
7 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
Wez 2012/02/17 01:35:30 nit: No need to include this since we don't use it
garykac 2012/02/22 21:31:07 Done.
8
9 using WebKit::WebKeyboardEvent;
10
11 namespace webkit {
12 namespace ppapi {
13
14 // TODO(garykac): Implement for Windows and Mac.
15 #if !defined(OS_LINUX)
16
17 uint32_t UsbScanCodeForKeyboardEvent(const WebKeyboardEvent& key_event) {
18 return 0;
19 }
20
21 #endif
22
23 } // namespace ppapi
24 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698