| 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..0b5a6e21497e488c6f2d233ecaf0a0ef704a1c29 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,6 +1,6 @@
|
| -// Copyright (c) 2011 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.
|
| +// 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.
|
|
|
| #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_INPUT_EVENT_H_
|
| #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_INPUT_EVENT_H_
|
| @@ -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);
|
|
|