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

Side by Side 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 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 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 be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 bool LoadTextInputInterface(); 493 bool LoadTextInputInterface();
494 bool LoadZoomInterface(); 494 bool LoadZoomInterface();
495 495
496 // Determines if we think the plugin has focus, both content area and webkit 496 // Determines if we think the plugin has focus, both content area and webkit
497 // (see has_webkit_focus_ below). 497 // (see has_webkit_focus_ below).
498 bool PluginHasFocus() const; 498 bool PluginHasFocus() const;
499 void SendFocusChangeNotification(); 499 void SendFocusChangeNotification();
500 500
501 // Returns true if the plugin has registered to accept touch events. 501 // Returns true if the plugin has registered to accept touch events.
502 bool IsAcceptingTouchEvents() const; 502 bool IsAcceptingTouchEvents() const;
503 // Returns true if the plugin has registered to accept wheel events.
504 bool IsAcceptingWheelEvents() const;
503 505
504 void ScheduleAsyncDidChangeView(); 506 void ScheduleAsyncDidChangeView();
505 void SendAsyncDidChangeView(); 507 void SendAsyncDidChangeView();
506 void SendDidChangeView(); 508 void SendDidChangeView();
507 509
508 // Reports the current plugin geometry to the plugin by calling 510 // Reports the current plugin geometry to the plugin by calling
509 // DidChangeView. 511 // DidChangeView.
510 void ReportGeometry(); 512 void ReportGeometry();
511 513
512 // Queries the plugin for supported print formats and sets |format| to the 514 // Queries the plugin for supported print formats and sets |format| to the
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 // calls and handles PPB_ContentDecryptor_Private calls. 757 // calls and handles PPB_ContentDecryptor_Private calls.
756 scoped_ptr<ContentDecryptorDelegate> content_decryptor_delegate_; 758 scoped_ptr<ContentDecryptorDelegate> content_decryptor_delegate_;
757 759
758 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 760 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
759 }; 761 };
760 762
761 } // namespace ppapi 763 } // namespace ppapi
762 } // namespace webkit 764 } // namespace webkit
763 765
764 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 766 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698