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

Unified Diff: third_party/WebKit/Source/core/html/PluginDocument.h

Issue 2845583002: Remove FrameViewBase as base class of RemoteFrameView. (Closed)
Patch Set: fix scrollbar inactive Created 3 years, 8 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/core/html/PluginDocument.h
diff --git a/third_party/WebKit/Source/core/html/PluginDocument.h b/third_party/WebKit/Source/core/html/PluginDocument.h
index af2f69261187bc26a7fe775f83714cf8d5f26552..d7fc8bb306d85edca289b3cff8e0ee17686b9415 100644
--- a/third_party/WebKit/Source/core/html/PluginDocument.h
+++ b/third_party/WebKit/Source/core/html/PluginDocument.h
@@ -30,7 +30,7 @@
namespace blink {
-class Node;
+class HTMLPlugInElement;
class PluginView;
class CORE_EXPORT PluginDocument final : public HTMLDocument {
@@ -40,10 +40,12 @@ class CORE_EXPORT PluginDocument final : public HTMLDocument {
return new PluginDocument(initializer);
}
- void SetPluginNode(Node* plugin_node) { plugin_node_ = plugin_node; }
+ void SetPluginNode(HTMLPlugInElement* plugin_node) {
+ plugin_node_ = plugin_node;
+ }
+ HTMLPlugInElement* PluginNode() { return plugin_node_; }
PluginView* GetPluginView();
- Node* PluginNode();
void Shutdown() override;
@@ -54,7 +56,7 @@ class CORE_EXPORT PluginDocument final : public HTMLDocument {
DocumentParser* CreateParser() override;
- Member<Node> plugin_node_;
+ Member<HTMLPlugInElement> plugin_node_;
joelhockey 2017/05/01 23:04:35 plugin_node_ is always HTMLPlugInElement
};
DEFINE_DOCUMENT_TYPE_CASTS(PluginDocument);

Powered by Google App Engine
This is Rietveld 408576698