OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |