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

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

Issue 23618022: BrowserPlugin/WebView - Move plugin lifetime to DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revised method for widget lifetime management. Created 7 years, 1 month 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 186314556e8b94f7a261c118a30881c6d33c2e84..d9be89467e2dbcf773dadd06c287b1df8af36945 100644
--- a/Source/core/html/HTMLPlugInElement.h
+++ b/Source/core/html/HTMLPlugInElement.h
@@ -51,7 +51,6 @@ public:
void resetInstance();
SharedPersistent<v8::Object>* pluginWrapper();
- Widget* pluginWidget() const;
NPObject* getNPObject();
bool canProcessDrag() const;
const String& url() const { return m_url; }
@@ -61,6 +60,8 @@ public:
void setNeedsWidgetUpdate(bool needsWidgetUpdate) { m_needsWidgetUpdate = needsWidgetUpdate; }
virtual void updateWidget(PluginCreationOption) = 0;
+ void createPluginWithoutRenderer(const String& mimeType);
+
protected:
HTMLPlugInElement(const QualifiedName& tagName, Document&, bool createdByParser, PreferPlugInsForImagesOption);

Powered by Google App Engine
This is Rietveld 408576698