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

Unified Diff: third_party/WebKit/Source/core/html/HTMLImageLoader.h

Issue 2247073006: Add loadend event when finishing loading image Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/core/html/HTMLImageLoader.h
diff --git a/third_party/WebKit/Source/core/html/HTMLImageLoader.h b/third_party/WebKit/Source/core/html/HTMLImageLoader.h
index 32ac3b4526e22faf1c8d4f5ce6b72291390090a9..0142f5404ec9a99c48de006d73a44776e369bdfd 100644
--- a/third_party/WebKit/Source/core/html/HTMLImageLoader.h
+++ b/third_party/WebKit/Source/core/html/HTMLImageLoader.h
@@ -37,6 +37,9 @@ public:
~HTMLImageLoader() override;
void dispatchLoadEvent() override;
+ void dispatchLoadendEvent() override;
+
+ static void dispatchPendingLoadendEvents();
void imageNotifyFinished(ImageResource*) override;
String debugName() const override { return "HTMLImageLoader"; }

Powered by Google App Engine
This is Rietveld 408576698