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

Unified Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp

Issue 2733083004: Emit error events if the loading of an object element failed (Closed)
Patch Set: Emit error events if the loading of an object element failed 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/web/WebPluginContainerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
index a8f80d614dcd79f4d1a44fafbd6d67ef6c822204..f3651fa4072fbabd1f432d1d5f3bc187ddc979ce 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
@@ -189,6 +189,12 @@ void WebPluginContainerImpl::setFocused(bool focused, WebFocusType focusType) {
m_webPlugin->updateFocus(focused, focusType);
}
+bool WebPluginContainerImpl::isErrorplaceholder() {
+ if (!m_webPlugin)
+ return false;
+ return m_webPlugin->isErrorPlaceholder();
+}
+
void WebPluginContainerImpl::show() {
setSelfVisible(true);
m_webPlugin->updateVisibility(true);

Powered by Google App Engine
This is Rietveld 408576698