Index: content/renderer/pepper/pepper_plugin_delegate_impl.h |
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.h b/content/renderer/pepper/pepper_plugin_delegate_impl.h |
index e8164c0e84ee3be319cf4a92a552a21caf3970cd..08f50a7b4390a27a0886b3b6c6a29fb305467603 100644 |
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.h |
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.h |
@@ -44,6 +44,10 @@ namespace IPC { |
struct ChannelHandle; |
} |
+namespace ui { |
+class Range; |
+} |
+ |
namespace webkit { |
struct WebPluginInfo; |
namespace ppapi { |
@@ -127,6 +131,7 @@ class PepperPluginDelegateImpl |
ui::TextInputType GetTextInputType() const; |
bool IsPluginAcceptingCompositionEvents() const; |
bool CanComposeInline() const; |
+ void GetSurroundingText(string16* text, ui::Range* range) const; |
// IME events. |
void OnImeSetComposition( |
@@ -148,6 +153,8 @@ class PepperPluginDelegateImpl |
webkit::ppapi::PluginInstance* instance) OVERRIDE; |
virtual void PluginRequestedCancelComposition( |
webkit::ppapi::PluginInstance* instance) OVERRIDE; |
+ virtual void PluginSelectionChanged( |
+ webkit::ppapi::PluginInstance* instance) OVERRIDE; |
virtual void PluginCrashed(webkit::ppapi::PluginInstance* instance) OVERRIDE; |
virtual void InstanceCreated( |
webkit::ppapi::PluginInstance* instance) OVERRIDE; |