Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: src/shared/ppapi_proxy/browser_ppp_input_event.h

Issue 7395005: Proxy PPB_Input_Event, PPP_Input_Event, and associated IFs. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: copyright headers Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/shared/ppapi_proxy/browser_ppp.cc ('k') | src/shared/ppapi_proxy/browser_ppp_input_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/ppapi_proxy/browser_ppp_input_event.h
diff --git a/src/shared/ppapi_proxy/browser_ppp_input_event.h b/src/shared/ppapi_proxy/browser_ppp_input_event.h
new file mode 100644
index 0000000000000000000000000000000000000000..7fb6213c0ffa4646a8170a314c6a2f28ca09fd90
--- /dev/null
+++ b/src/shared/ppapi_proxy/browser_ppp_input_event.h
@@ -0,0 +1,31 @@
+// Copyright (c) 2011 The Native Client 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_BROWSER_INPUT_EVENT_H_
+#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_INPUT_EVENT_H_
+
+#include <map>
+
+#include "native_client/src/include/nacl_macros.h"
+// Needed because ppp_instance.h does not include everything it needs.
+#include "native_client/src/third_party/ppapi/c/pp_resource.h"
+#include "native_client/src/third_party/ppapi/c/pp_instance.h"
+#include "native_client/src/third_party/ppapi/c/ppb_input_event.h"
+
+struct PPP_InputEvent;
+
+namespace ppapi_proxy {
+
+// Implements the trusted side of the PPP_InputEvent interface.
+class BrowserInputEvent {
+ public:
+ static const PPP_InputEvent* GetInterface();
+
+ private:
+ NACL_DISALLOW_COPY_AND_ASSIGN(BrowserInputEvent);
+};
+
+} // namespace ppapi_proxy
+
+#endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_BROWSER_INPUT_EVENT_H_
« no previous file with comments | « src/shared/ppapi_proxy/browser_ppp.cc ('k') | src/shared/ppapi_proxy/browser_ppp_input_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698