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

Unified Diff: webkit/glue/plugins/webplugin_delegate.h

Issue 2827047: Make RenderView call the plugin through WebKit::WebPlugin (instead of casting... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: compile until webkit is rolled Created 10 years, 5 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
« no previous file with comments | « webkit/glue/plugins/pepper_webplugin_impl.cc ('k') | webkit/glue/plugins/webplugin_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/webplugin_delegate.h
===================================================================
--- webkit/glue/plugins/webplugin_delegate.h (revision 51864)
+++ webkit/glue/plugins/webplugin_delegate.h (working copy)
@@ -143,7 +143,7 @@
// See WebPluginContainerImpl's description of the interface.
virtual bool SupportsFind() { return false; }
- virtual void StartFind(const std::string& search_text,
+ virtual void StartFind(const string16& search_text,
bool case_sensitive,
int identifier) {}
virtual void SelectFindResult(bool forward) {}
@@ -156,11 +156,11 @@
// Used for zooming of full page plugins. 0 means reset, while -1 means zoom
// out and +1 means zoom in.
- virtual void Zoom(int factor) {}
- // Copy the selected text.
- virtual void Copy() {}
- // Gets the selected UTF8 text, if any.
- virtual string16 GetSelectedText() { return string16(); }
+ virtual void SetZoomFactor(float scale, bool text_only) {}
+ // Gets the selected text, if any.
+ virtual bool HasSelection() const { return false; }
+ virtual string16 GetSelectionAsText() const { return string16(); }
+ virtual string16 GetSelectionAsMarkup() const { return string16(); }
};
} // namespace webkit_glue
« no previous file with comments | « webkit/glue/plugins/pepper_webplugin_impl.cc ('k') | webkit/glue/plugins/webplugin_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698