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

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.h

Issue 11312195: webkit/ppapi: Notify the container when a plugin is accepting wheel events just like r143871. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, address feedback Created 8 years, 1 month 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 | « no previous file | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_plugin_instance.h
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.h b/webkit/plugins/ppapi/ppapi_plugin_instance.h
index 0a8949ecf4afc5b51a19f8ee2be1ae86c2bf6458..af07f75aafa6ac43e83528da36dbeb3569320aaa 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.h
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h
@@ -500,6 +500,8 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
// Returns true if the plugin has registered to accept touch events.
bool IsAcceptingTouchEvents() const;
+ // Returns true if the plugin has registered to accept wheel events.
+ bool IsAcceptingWheelEvents() const;
void ScheduleAsyncDidChangeView();
void SendAsyncDidChangeView();
@@ -547,6 +549,9 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
int selection_start,
int selection_end);
+ // Internal helper function for XXXInputEvents().
+ void RequestInputEventsHelper(uint32_t event_classes);
+
// Checks if the security origin of the document containing this instance can
// assess the security origin of the main frame document.
bool CanAccessMainFrame() const;
« no previous file with comments | « no previous file | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698