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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 2888203006: Move the logic to retrieve the WebPluginContainer to LocalFrame and Node. (Closed)
Patch Set: Ensure we have a valid PluginView before using it. Created 3 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: third_party/WebKit/Source/web/WebLocalFrameImpl.h
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.h b/third_party/WebKit/Source/web/WebLocalFrameImpl.h
index 83b5f846f16a187f835e24b1de4c41011f2286f8..0e1855e8fbedc0867e3ebb885020f61fac1d1524 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.h
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.h
@@ -70,7 +70,6 @@ class WebInputMethodControllerImpl;
class WebNode;
class WebPerformance;
class WebPlugin;
-class WebPluginContainerBase;
class WebScriptExecutionCallback;
class WebView;
class WebViewBase;
@@ -351,17 +350,6 @@ class WEB_EXPORT WebLocalFrameImpl final
static WebLocalFrameImpl* FromFrame(LocalFrame&);
static WebLocalFrameImpl* FromFrameOwnerElement(Element*);
- // If the frame hosts a PluginDocument, this method returns the
- // WebPluginContainerBase that hosts the plugin.
- static WebPluginContainerBase* PluginContainerFromFrame(LocalFrame*);
-
- // If the frame hosts a PluginDocument, this method returns the
- // WebPluginContainerBase that hosts the plugin. If the provided node is a
- // plugin, then it runs its WebPluginContainerBase. Otherwise, uses the
- // currently focused element (if any).
- static WebPluginContainerBase* CurrentPluginContainer(LocalFrame*,
- Node* = nullptr);
-
WebViewBase* ViewImpl() const override;
FrameView* GetFrameView() const override {
« no previous file with comments | « third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698