| OLD | NEW |
| 1 // Copyright (c) 2011 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // be found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_INPUT_EVENT_H_ | 5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_INPUT_EVENT_H_ |
| 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_INPUT_EVENT_H_ | 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_INPUT_EVENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "native_client/src/include/nacl_macros.h" | 10 #include "native_client/src/include/nacl_macros.h" |
| 11 // Needed because ppp_instance.h does not include everything it needs. | 11 // Needed because ppp_instance.h does not include everything it needs. |
| 12 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
| 13 #include "ppapi/c/pp_instance.h" | 13 #include "ppapi/c/pp_instance.h" |
| 14 #include "ppapi/c/ppb_input_event.h" | 14 #include "ppapi/c/ppb_input_event.h" |
| 15 | 15 #include "ppapi/c/ppp_input_event.h" |
| 16 struct PPP_InputEvent; | |
| 17 | 16 |
| 18 namespace ppapi_proxy { | 17 namespace ppapi_proxy { |
| 19 | 18 |
| 20 // Implements the trusted side of the PPP_InputEvent interface. | 19 // Implements the trusted side of the PPP_InputEvent interface. |
| 21 class BrowserInputEvent { | 20 class BrowserInputEvent { |
| 22 public: | 21 public: |
| 23 static const PPP_InputEvent* GetInterface(); | 22 static const PPP_InputEvent* GetInterface(); |
| 24 | 23 |
| 25 private: | 24 private: |
| 26 NACL_DISALLOW_COPY_AND_ASSIGN(BrowserInputEvent); | 25 NACL_DISALLOW_COPY_AND_ASSIGN(BrowserInputEvent); |
| 27 }; | 26 }; |
| 28 | 27 |
| 29 } // namespace ppapi_proxy | 28 } // namespace ppapi_proxy |
| 30 | 29 |
| 31 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_INPUT_EVENT_H_ | 30 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_INPUT_EVENT_H_ |
| OLD | NEW |