diff options
Diffstat (limited to 'webkit/plugins/ppapi/plugin_delegate.h')
-rw-r--r-- | webkit/plugins/ppapi/plugin_delegate.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h index 304cb09..9229143 100644 --- a/webkit/plugins/ppapi/plugin_delegate.h +++ b/webkit/plugins/ppapi/plugin_delegate.h @@ -70,6 +70,7 @@ namespace WebKit { class WebFileChooserCompletion; class WebGamepads; class WebPlugin; +struct WebCompositionUnderline; struct WebCursorInfo; struct WebFileChooserParams; } @@ -316,6 +317,13 @@ class PluginDelegate { // Notification that the text selection in the given plugin is changed. virtual void PluginSelectionChanged( webkit::ppapi::PluginInstance* instance) = 0; + // Requests simulating IME events for testing purpose. + virtual void SimulateImeSetComposition( + const string16& text, + const std::vector<WebKit::WebCompositionUnderline>& underlines, + int selection_start, + int selection_end) = 0; + virtual void SimulateImeConfirmComposition(const string16& text) = 0; // Notification that the given plugin has crashed. When a plugin crashes, all // instances associated with that plugin will notify that they've crashed via |