diff options
Diffstat (limited to 'webkit/glue/plugins/pepper_webplugin_impl.h')
-rw-r--r-- | webkit/glue/plugins/pepper_webplugin_impl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/glue/plugins/pepper_webplugin_impl.h b/webkit/glue/plugins/pepper_webplugin_impl.h index 0b1827d..e3b16b8 100644 --- a/webkit/glue/plugins/pepper_webplugin_impl.h +++ b/webkit/glue/plugins/pepper_webplugin_impl.h @@ -64,10 +64,16 @@ class WebPluginImpl : public WebKit::WebPlugin { virtual WebKit::WebString selectionAsText() const; virtual WebKit::WebString selectionAsMarkup() const; virtual void setZoomFactor(float scale, bool text_only); +#if defined(WEBPLUGIN_FIND_HAS_RETURN_TYPE) + virtual bool startFind(const WebKit::WebString& search_text, + bool case_sensitive, + int identifier); +#else virtual bool supportsFind(); virtual void startFind(const WebKit::WebString& search_text, bool case_sensitive, int identifier); +#endif virtual void selectFindResult(bool forward); virtual void stopFind(); |