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 "content/renderer/pepper/usb_key_code_conversion.h" | 5 #include "content/renderer/pepper/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 blink::WebKeyboardEvent; |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 #if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_WIN) | 13 #if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_WIN) |
14 | 14 |
15 uint32_t UsbKeyCodeForKeyboardEvent(const WebKeyboardEvent& key_event) { | 15 uint32_t UsbKeyCodeForKeyboardEvent(const WebKeyboardEvent& key_event) { |
16 return 0; | 16 return 0; |
17 } | 17 } |
18 | 18 |
19 const char* CodeForKeyboardEvent(const WebKeyboardEvent& key_event) { | 19 const char* CodeForKeyboardEvent(const WebKeyboardEvent& key_event) { |
20 return NULL; | 20 return NULL; |
21 } | 21 } |
22 | 22 |
23 #endif | 23 #endif |
24 | 24 |
25 } // namespace content | 25 } // namespace content |
OLD | NEW |