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

Unified Diff: Source/WebKit/chromium/src/WebFrameImpl.h

Issue 15071004: Plumb edit commands to plugins (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated 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
« no previous file with comments | « Source/WebKit/chromium/public/WebPlugin.h ('k') | Source/WebKit/chromium/src/WebFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebFrameImpl.h
diff --git a/Source/WebKit/chromium/src/WebFrameImpl.h b/Source/WebKit/chromium/src/WebFrameImpl.h
index e29114acc5d9344672664578ee079d45c4f03356..abb6393ad13018ffb2d911d8d62ff4e516c199cc 100644
--- a/Source/WebKit/chromium/src/WebFrameImpl.h
+++ b/Source/WebKit/chromium/src/WebFrameImpl.h
@@ -174,7 +174,7 @@ public:
virtual bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect&) const;
virtual size_t characterIndexForPoint(const WebPoint&) const;
virtual bool executeCommand(const WebString&, const WebNode& = WebNode());
- virtual bool executeCommand(const WebString&, const WebString& value);
+ virtual bool executeCommand(const WebString&, const WebString& value, const WebNode& = WebNode());
virtual bool isCommandEnabled(const WebString&) const;
virtual void enableContinuousSpellChecking(bool);
virtual bool isContinuousSpellCheckingEnabled() const;
@@ -261,6 +261,11 @@ public:
// that hosts the plugin.
static WebPluginContainerImpl* pluginContainerFromFrame(WebCore::Frame*);
+ // If the frame hosts a PluginDocument, this method returns the WebPluginContainerImpl
+ // that hosts the plugin. If the provided node is a plugin, then it runs its
+ // WebPluginContainerImpl.
+ static WebPluginContainerImpl* pluginContainerFromNode(WebCore::Frame*, const WebNode&);
+
WebViewImpl* viewImpl() const;
WebCore::FrameView* frameView() const { return frame() ? frame()->view() : 0; }
« no previous file with comments | « Source/WebKit/chromium/public/WebPlugin.h ('k') | Source/WebKit/chromium/src/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698