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

Unified Diff: Source/core/html/HTMLPlugInElement.h

Issue 1313763002: Blink Plugins: Remove Shadow DOM Plugin Placeholder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge origin/master Created 5 years, 4 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/core/html/HTMLObjectElement.cpp ('k') | Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLPlugInElement.h
diff --git a/Source/core/html/HTMLPlugInElement.h b/Source/core/html/HTMLPlugInElement.h
index 2ed557b19f27ced2f8a3e0fe7c4e256c3b8ffdb5..a412cfa3d17de27e40062ff8b29c6c7f7e6a1203 100644
--- a/Source/core/html/HTMLPlugInElement.h
+++ b/Source/core/html/HTMLPlugInElement.h
@@ -33,7 +33,6 @@ struct NPObject;
namespace blink {
class HTMLImageLoader;
-class PluginPlaceholder;
class LayoutEmbeddedObject;
class LayoutPart;
class Widget;
@@ -53,16 +52,8 @@ public:
#endif
void resetInstance();
-
- // Returns the existing plugin widget, if there is one.
- Widget* existingPluginWidget() const;
-
- // Returns the plugin widget, forcing layout and post-layout tasks
- // to happen synchronously (e.g. for JS bindings).
- // See also layoutPartForJSBindings().
- Widget* pluginWidgetForJSBindings();
-
SharedPersistent<v8::Object>* pluginWrapper();
+ Widget* pluginWidget() const;
NPObject* getNPObject();
void setPluginFocus(bool focused);
bool canProcessDrag() const;
@@ -78,10 +69,6 @@ public:
void requestPluginCreationWithoutLayoutObjectIfPossible();
void createPluginWithoutLayoutObject();
- // Public for Internals::forcePluginPlaceholder.
- bool usePlaceholderContent() const { return m_placeholder; }
- void setPlaceholder(PassOwnPtrWillBeRawPtr<PluginPlaceholder>);
-
void removedFrom(ContainerNode* insertionPoint) override;
protected:
@@ -156,8 +143,6 @@ private:
bool m_needsWidgetUpdate;
bool m_shouldPreferPlugInsForImages;
- OwnPtrWillBeMember<PluginPlaceholder> m_placeholder;
-
// Normally the Widget is stored in HTMLFrameOwnerElement::m_widget.
// However, plugins can persist even when not rendered. In order to
// prevent confusing code which may assume that widget() != null
« no previous file with comments | « Source/core/html/HTMLObjectElement.cpp ('k') | Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698