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

Unified Diff: components/plugins/renderer/webview_plugin.cc

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, 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: components/plugins/renderer/webview_plugin.cc
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
index 075515a0779ff784b51c27f377e22cf38aba4a59..0258ca28587baba80a5a9a0af886b302bc338e0d 100644
--- a/components/plugins/renderer/webview_plugin.cc
+++ b/components/plugins/renderer/webview_plugin.cc
@@ -142,6 +142,13 @@ v8::Local<v8::Object> WebViewPlugin::v8ScriptableObject(v8::Isolate* isolate) {
return delegate_->GetV8ScriptableObject(isolate);
}
+bool WebViewPlugin::isErrorplaceholder() {
+ if (!delegate_)
+ return false;
+
+ return delegate_->IsErrorplaceholder();
+}
+
void WebViewPlugin::updateAllLifecyclePhases() {
web_view()->updateAllLifecyclePhases();
}

Powered by Google App Engine
This is Rietveld 408576698