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

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: Removed fprintf 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 9257974b5efa938aac49f07d0a94aacf5ab3e095..227a401725b17a928683d91a1a0aaf14363f45c4 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -180,6 +180,7 @@ class CONTENT_EXPORT BrowserPlugin :
virtual NPObject* scriptableObject() OVERRIDE;
virtual struct _NPP* pluginNPP() OVERRIDE;
virtual bool supportsKeyboardFocus() const OVERRIDE;
+ virtual bool supportsEditCommands() const OVERRIDE;
virtual bool canProcessDrag() const OVERRIDE;
virtual void paint(
WebKit::WebCanvas* canvas,
@@ -213,6 +214,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;
@@ -460,6 +463,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);
};
« no previous file with comments | « content/common/browser_plugin/browser_plugin_messages.h ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698