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

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 15149006: <webview>: Plumb edit commands (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed whitespace 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: content/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index 3d7ee9aa58469c764ece49c329832e0191626f10..4cad7f8036868edb72be926942e88de46e1d8552 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -175,6 +175,7 @@ class CONTENT_EXPORT BrowserPlugin :
virtual void destroy() OVERRIDE;
virtual NPObject* scriptableObject() OVERRIDE;
virtual bool supportsKeyboardFocus() const OVERRIDE;
+ virtual bool supportsEditCommands() const OVERRIDE;
virtual bool canProcessDrag() const OVERRIDE;
virtual void paint(
WebKit::WebCanvas* canvas,
@@ -208,6 +209,8 @@ class CONTENT_EXPORT BrowserPlugin :
void* notify_data,
const WebKit::WebURLError& error) OVERRIDE;
virtual bool executeEditCommand(const WebKit::WebString& name) OVERRIDE;
+ virtual bool executeEditCommand(const WebKit::WebString& name,
+ const WebKit::WebString& value) OVERRIDE;
// MouseLockDispatcher::LockTarget implementation.
virtual void OnLockMouseACK(bool succeeded) OVERRIDE;
@@ -445,6 +448,8 @@ class CONTENT_EXPORT BrowserPlugin :
// get called after BrowserPlugin has been destroyed.
base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_;
+ std::vector<EditCommand> edit_commands_;
+
DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
};

Powered by Google App Engine
This is Rietveld 408576698