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

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

Issue 8769003: Pepper IME API for surrounding text retrieval. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge master. Created 8 years, 9 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
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_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 bool focused) = 0; 287 bool focused) = 0;
288 // Notification that the text input status of the given plugin is changed. 288 // Notification that the text input status of the given plugin is changed.
289 virtual void PluginTextInputTypeChanged( 289 virtual void PluginTextInputTypeChanged(
290 webkit::ppapi::PluginInstance* instance) = 0; 290 webkit::ppapi::PluginInstance* instance) = 0;
291 // Notification that the caret position in the given plugin is changed. 291 // Notification that the caret position in the given plugin is changed.
292 virtual void PluginCaretPositionChanged( 292 virtual void PluginCaretPositionChanged(
293 webkit::ppapi::PluginInstance* instance) = 0; 293 webkit::ppapi::PluginInstance* instance) = 0;
294 // Notification that the plugin requested to cancel the current composition. 294 // Notification that the plugin requested to cancel the current composition.
295 virtual void PluginRequestedCancelComposition( 295 virtual void PluginRequestedCancelComposition(
296 webkit::ppapi::PluginInstance* instance) = 0; 296 webkit::ppapi::PluginInstance* instance) = 0;
297 // Notification that the text selection in the given plugin is changed.
298 virtual void PluginSelectionChanged(
299 webkit::ppapi::PluginInstance* instance) = 0;
297 300
298 // Notification that the given plugin has crashed. When a plugin crashes, all 301 // Notification that the given plugin has crashed. When a plugin crashes, all
299 // instances associated with that plugin will notify that they've crashed via 302 // instances associated with that plugin will notify that they've crashed via
300 // this function. 303 // this function.
301 virtual void PluginCrashed(PluginInstance* instance) = 0; 304 virtual void PluginCrashed(PluginInstance* instance) = 0;
302 305
303 // Indicates that the given instance has been created. 306 // Indicates that the given instance has been created.
304 virtual void InstanceCreated(PluginInstance* instance) = 0; 307 virtual void InstanceCreated(PluginInstance* instance) = 0;
305 308
306 // Indicates that the given instance is being destroyed. This is called from 309 // Indicates that the given instance is being destroyed. This is called from
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 const EnumerateDevicesCallback& callback) = 0; 592 const EnumerateDevicesCallback& callback) = 0;
590 // Create a ClipboardClient for writing to the clipboard. The caller will own 593 // Create a ClipboardClient for writing to the clipboard. The caller will own
591 // the pointer to this. 594 // the pointer to this.
592 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; 595 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0;
593 }; 596 };
594 597
595 } // namespace ppapi 598 } // namespace ppapi
596 } // namespace webkit 599 } // namespace webkit
597 600
598 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 601 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698