Index: webkit/plugins/ppapi/plugin_delegate.h |
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h |
index 304cb0905246032531a9cd8c19e479b5a87e12eb..9229143f5bd5a740974c5d30a64d4927b99fd941 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 |