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

Unified Diff: Source/WebKit/chromium/public/WebPlugin.h

Issue 15071004: Plumb edit commands to plugins (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Alternative approach that gives plugin chance to override Created 7 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: Source/WebKit/chromium/public/WebPlugin.h
diff --git a/Source/WebKit/chromium/public/WebPlugin.h b/Source/WebKit/chromium/public/WebPlugin.h
index 6fe94b55b7541a36d823f00b743954a54d2c7d0e..39c680a2109ea3b40e9d6756852577dfbbaddd8a 100644
--- a/Source/WebKit/chromium/public/WebPlugin.h
+++ b/Source/WebKit/chromium/public/WebPlugin.h
@@ -69,6 +69,7 @@ public:
// of the corresponding object element.
virtual bool getFormValue(WebString&) { return false; }
virtual bool supportsKeyboardFocus() const { return false; }
+ virtual bool supportsEditCommands() const { return false; }
virtual bool canProcessDrag() const { return false; }
@@ -120,6 +121,7 @@ public:
virtual WebString selectionAsMarkup() const { return WebString(); }
virtual bool executeEditCommand(const WebString& name) { return false; }
+ virtual bool executeEditCommand(const WebString& name, const WebString& value) { return false; }
// If the given position is over a link, returns the absolute url.
// Otherwise an empty url is returned.

Powered by Google App Engine
This is Rietveld 408576698