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

Unified Diff: Source/web/WebPluginContainerImpl.cpp

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/web/WebPluginContainerImpl.cpp
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
index 71d408ca54bad1070e684ef488c06d735d3ad70b..5ccdc65d81eb9171253df48ac1c505a6762003ee 100644
--- a/Source/web/WebPluginContainerImpl.cpp
+++ b/Source/web/WebPluginContainerImpl.cpp
@@ -897,4 +897,9 @@ WebCore::IntRect WebPluginContainerImpl::windowClipRect() const
return clipRect;
}
+bool WebPluginContainerImpl::pluginShouldPersist() const
+{
+ return m_webPlugin->shouldPersist();
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698