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

Unified Diff: src/shared/ppapi_proxy/browser_ppp.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_ppb_input_event_rpc_server.cc ('k') | src/shared/ppapi_proxy/browser_ppp.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.h
diff --git a/src/shared/ppapi_proxy/browser_ppp.h b/src/shared/ppapi_proxy/browser_ppp.h
index 4b41d1882d59462d46d8a3a18412cdb8f702edef..b73ba66a7ff62bb40a8ca01464841fa7dd4d2c35 100644
--- a/src/shared/ppapi_proxy/browser_ppp.h
+++ b/src/shared/ppapi_proxy/browser_ppp.h
@@ -21,6 +21,8 @@ namespace plugin {
class PluginPpapi;
}
+struct PPP_InputEvent;
+
namespace ppapi_proxy {
class BrowserPpp {
@@ -28,7 +30,8 @@ class BrowserPpp {
BrowserPpp(NaClSrpcChannel* main_channel,
plugin::PluginPpapi* plugin)
: main_channel_(main_channel), plugin_pid_(0), plugin_(plugin),
- ppp_instance_interface_(NULL), ppp_messaging_interface_(NULL) {}
+ ppp_instance_interface_(NULL), ppp_messaging_interface_(NULL),
+ ppp_input_event_interface_(NULL) {}
~BrowserPpp() {}
int32_t InitializeModule(PP_Module module_id,
@@ -49,6 +52,10 @@ class BrowserPpp {
return ppp_messaging_interface_;
}
+ const PPP_InputEvent* ppp_input_event_interface() const {
+ return ppp_input_event_interface_;
+ }
+
NaClSrpcChannel* main_channel() const { return main_channel_; }
int plugin_pid() const { return plugin_pid_; }
plugin::PluginPpapi* plugin() { return plugin_; }
@@ -64,6 +71,7 @@ class BrowserPpp {
// Set on module initialization.
const PPP_Instance* ppp_instance_interface_;
const PPP_Messaging* ppp_messaging_interface_;
+ const PPP_InputEvent* ppp_input_event_interface_;
// The thread used to handle calls on other than the main thread.
struct NaClThread upcall_thread_;
« no previous file with comments | « src/shared/ppapi_proxy/browser_ppb_input_event_rpc_server.cc ('k') | src/shared/ppapi_proxy/browser_ppp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698