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

Unified Diff: webkit/plugins/ppapi/plugin_delegate.h

Issue 10391101: Test for Pepper IME events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698