| Index: webkit/plugins/ppapi/usb_key_code_conversion.cc
|
| diff --git a/webkit/plugins/ppapi/usb_key_code_conversion.cc b/webkit/plugins/ppapi/usb_key_code_conversion.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dc2cc4158e83f9d1ef9f71a0f985addc2b972e0f
|
| --- /dev/null
|
| +++ b/webkit/plugins/ppapi/usb_key_code_conversion.cc
|
| @@ -0,0 +1,24 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "webkit/plugins/ppapi/usb_key_code_conversion.h"
|
| +
|
| +#include "build/build_config.h"
|
| +
|
| +using WebKit::WebKeyboardEvent;
|
| +
|
| +namespace webkit {
|
| +namespace ppapi {
|
| +
|
| +// TODO(garykac): Implement for Windows and Mac.
|
| +#if !defined(OS_LINUX)
|
| +
|
| +uint32_t UsbKeyCodeForKeyboardEvent(const WebKeyboardEvent& key_event) {
|
| + return 0;
|
| +}
|
| +
|
| +#endif
|
| +
|
| +} // namespace ppapi
|
| +} // namespace webkit
|
|
|