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

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: 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
Index: Source/core/html/HTMLPlugInElement.h
diff --git a/Source/core/html/HTMLPlugInElement.h b/Source/core/html/HTMLPlugInElement.h
index 55f21559795ed94e10b5063d5134207b67adc467..27a3b97de84fd9bd5f325e190e8455004d8044ca 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>);
-
protected:
HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByParser, PreferPlugInsForImagesOption);
@@ -154,8 +141,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

Powered by Google App Engine
This is Rietveld 408576698