| Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.h
|
| diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.h b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.h
|
| index b56797bfe1c2b2f1b806c70d185656db84c28413..733a126ceee587d7b39ec86c0f39d6f8952ae1b3 100644
|
| --- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.h
|
| +++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_input_event.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// 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.
|
|
|
| @@ -8,6 +8,7 @@
|
| #include "native_client/src/include/nacl_macros.h"
|
| #include "native_client/src/shared/ppapi_proxy/input_event_data.h"
|
| #include "native_client/src/shared/ppapi_proxy/plugin_resource.h"
|
| +#include "ppapi/c/dev/ppb_keyboard_input_event_dev.h"
|
| #include "ppapi/c/ppb_input_event.h"
|
|
|
| namespace ppapi_proxy {
|
| @@ -31,6 +32,7 @@ class PluginInputEvent : public PluginResource {
|
| static const PPB_MouseInputEvent* GetMouseInterface1_1();
|
| static const PPB_WheelInputEvent* GetWheelInterface();
|
| static const PPB_KeyboardInputEvent* GetKeyboardInterface();
|
| + static const PPB_KeyboardInputEvent_Dev* GetKeyboardInterface_Dev();
|
|
|
| PP_InputEvent_Type GetType() const;
|
| PP_TimeTicks GetTimeStamp() const;
|
| @@ -48,6 +50,9 @@ class PluginInputEvent : public PluginResource {
|
| uint32_t GetKeyCode() const;
|
| PP_Var GetCharacterText() const;
|
|
|
| + PP_Bool SetUsbKeyCode(uint32_t usb_key_code);
|
| + uint32_t GetUsbKeyCode() const;
|
| +
|
| private:
|
| IMPLEMENT_RESOURCE(PluginInputEvent);
|
| NACL_DISALLOW_COPY_AND_ASSIGN(PluginInputEvent);
|
|
|