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

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: Created 3 years, 9 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 00617d0b41d1c46014d6c9afcbd84f43d5e8efc1..6bb4468b67596bb9071396efa67e0feab27c2e2e 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::isPlaceholder() {
+ if (m_webPlugin)
+ return m_webPlugin->isPlaceholder();
+ return false;
+}
+
void WebPluginContainerImpl::show() {
setSelfVisible(true);
m_webPlugin->updateVisibility(true);

Powered by Google App Engine
This is Rietveld 408576698