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

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

Issue 10628020: webkit/ppapi: Notify the container when a plugin is accepting touch events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 bool LoadPrintInterface(); 424 bool LoadPrintInterface();
425 bool LoadPrivateInterface(); 425 bool LoadPrivateInterface();
426 bool LoadSelectionInterface(); 426 bool LoadSelectionInterface();
427 bool LoadTextInputInterface(); 427 bool LoadTextInputInterface();
428 bool LoadZoomInterface(); 428 bool LoadZoomInterface();
429 429
430 // Determines if we think the plugin has focus, both content area and webkit 430 // Determines if we think the plugin has focus, both content area and webkit
431 // (see has_webkit_focus_ below). 431 // (see has_webkit_focus_ below).
432 bool PluginHasFocus() const; 432 bool PluginHasFocus() const;
433 433
434 // Returns true if the plugin has registered to accept touch events.
435 bool IsAcceptingTouchEvents() const;
436
434 void ScheduleAsyncDidChangeView(const ::ppapi::ViewData& previous_view); 437 void ScheduleAsyncDidChangeView(const ::ppapi::ViewData& previous_view);
435 void SendAsyncDidChangeView(const ::ppapi::ViewData& previous_view); 438 void SendAsyncDidChangeView(const ::ppapi::ViewData& previous_view);
436 void SendDidChangeView(const ::ppapi::ViewData& previous_view); 439 void SendDidChangeView(const ::ppapi::ViewData& previous_view);
437 440
438 // Reports the current plugin geometry to the plugin by calling 441 // Reports the current plugin geometry to the plugin by calling
439 // DidChangeView. 442 // DidChangeView.
440 void ReportGeometry(); 443 void ReportGeometry();
441 444
442 // Queries the plugin for supported print formats and sets |format| to the 445 // Queries the plugin for supported print formats and sets |format| to the
443 // best format to use. Returns false if the plugin does not support any 446 // best format to use. Returns false if the plugin does not support any
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 // the pointer so we can re-send it later if we are reset to talk to NaCl. 667 // the pointer so we can re-send it later if we are reset to talk to NaCl.
665 scoped_refptr<PPB_URLLoader_Impl> document_loader_; 668 scoped_refptr<PPB_URLLoader_Impl> document_loader_;
666 669
667 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 670 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
668 }; 671 };
669 672
670 } // namespace ppapi 673 } // namespace ppapi
671 } // namespace webkit 674 } // namespace webkit
672 675
673 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 676 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698