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

Unified Diff: third_party/WebKit/public/web/WebPlugin.h

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: third_party/WebKit/public/web/WebPlugin.h
diff --git a/third_party/WebKit/public/web/WebPlugin.h b/third_party/WebKit/public/web/WebPlugin.h
index 6e6403a7a6a5e5ce5129610d46044c0bbe83a7b6..ec0f94aabb8649280f701ee3947df4e31ec67861 100644
--- a/third_party/WebKit/public/web/WebPlugin.h
+++ b/third_party/WebKit/public/web/WebPlugin.h
@@ -133,6 +133,7 @@ class WebPlugin {
virtual void didReceiveData(const char* data, int dataLength) = 0;
virtual void didFinishLoading() = 0;
virtual void didFailLoading(const WebURLError&) = 0;
+ virtual bool isErrorPlaceholder() { return false; };
Bernhard Bauer 2017/03/30 09:08:28 Move this down, maybe to isPlaceholder()? The meth
// Printing interface.
// Whether the plugin supports its own paginated print. The other print

Powered by Google App Engine
This is Rietveld 408576698