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

Side by Side Diff: webkit/plugins/ppapi/ppapi_plugin_instance.h

Issue 11418134: ppapi: Opt-in to receive synthetic mouse events for touch-events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years 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
« no previous file with comments | « ppapi/c/ppb_input_event.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 bool LoadPrivateInterface(); 491 bool LoadPrivateInterface();
492 bool LoadSelectionInterface(); 492 bool LoadSelectionInterface();
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 void UpdateTouchEventRequest();
502 bool IsAcceptingTouchEvents() const; 502
503 // Returns true if the plugin has registered to accept wheel events. 503 // Returns true if the plugin has registered to accept wheel events.
504 bool IsAcceptingWheelEvents() const; 504 bool IsAcceptingWheelEvents() const;
505 505
506 void ScheduleAsyncDidChangeView(); 506 void ScheduleAsyncDidChangeView();
507 void SendAsyncDidChangeView(); 507 void SendAsyncDidChangeView();
508 void SendDidChangeView(); 508 void SendDidChangeView();
509 509
510 // Reports the current plugin geometry to the plugin by calling 510 // Reports the current plugin geometry to the plugin by calling
511 // DidChangeView. 511 // DidChangeView.
512 void ReportGeometry(); 512 void ReportGeometry();
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 // calls and handles PPB_ContentDecryptor_Private calls. 760 // calls and handles PPB_ContentDecryptor_Private calls.
761 scoped_ptr<ContentDecryptorDelegate> content_decryptor_delegate_; 761 scoped_ptr<ContentDecryptorDelegate> content_decryptor_delegate_;
762 762
763 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 763 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
764 }; 764 };
765 765
766 } // namespace ppapi 766 } // namespace ppapi
767 } // namespace webkit 767 } // namespace webkit
768 768
769 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 769 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « ppapi/c/ppb_input_event.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698