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

Unified Diff: ppapi/cpp/module.cc

Issue 7466002: Reland http://codereview.chromium.org/7452002/, update chromoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright 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 | « ppapi/cpp/instance.cc ('k') | ppapi/examples/2d/graphics_2d_example.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/module.cc
diff --git a/ppapi/cpp/module.cc b/ppapi/cpp/module.cc
index 927710ad8abf9cc66515ef1020dce7e6a3ca0c14..b727e46fbc563260f2ac15d3a921aec15d0a5877 100644
--- a/ppapi/cpp/module.cc
+++ b/ppapi/cpp/module.cc
@@ -110,17 +110,6 @@ void Instance_DidChangeFocus(PP_Instance pp_instance, PP_Bool has_focus) {
instance->DidChangeFocus(PP_ToBool(has_focus));
}
-PP_Bool Instance_HandleInputEvent(PP_Instance pp_instance,
- const PP_InputEvent* event) {
- Module* module_singleton = Module::Get();
- if (!module_singleton)
- return PP_FALSE;
- Instance* instance = module_singleton->InstanceForPPInstance(pp_instance);
- if (!instance)
- return PP_FALSE;
- return PP_FromBool(instance->HandleInputEvent(*event));
-}
-
PP_Bool Instance_HandleDocumentLoad(PP_Instance pp_instance,
PP_Resource pp_url_loader) {
Module* module_singleton = Module::Get();
@@ -137,7 +126,6 @@ static PPP_Instance instance_interface = {
&Instance_DidDestroy,
&Instance_DidChangeView,
&Instance_DidChangeFocus,
- &Instance_HandleInputEvent,
&Instance_HandleDocumentLoad
};
« no previous file with comments | « ppapi/cpp/instance.cc ('k') | ppapi/examples/2d/graphics_2d_example.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698