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 f5519b4bfe383f7b8013a4d73c41e6562e338d07..db4d07c3a2b7c00063760608a139574a53f49eee 100644 |
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.h |
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.h |
@@ -46,6 +46,10 @@ namespace IPC { |
struct ChannelHandle; |
} |
+namespace ui { |
+class Range; |
+} |
+ |
namespace webkit { |
struct WebPluginInfo; |
namespace ppapi { |
@@ -129,6 +133,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( |
@@ -150,6 +155,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; |