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

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: fix issue of layoutTest 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..2e2484c5f56bbc053358b54d7e0df5fcf12f54e7 100644
--- a/third_party/WebKit/Source/core/html/HTMLImageLoader.h
+++ b/third_party/WebKit/Source/core/html/HTMLImageLoader.h
@@ -37,6 +37,10 @@ public:
~HTMLImageLoader() override;
void dispatchLoadEvent() override;
+ void dispatchLoadendEvent() override;
+ void dispatchLoadendEventSoon() override;
+
+ static void dispatchPendingLoadendEvents();
void imageNotifyFinished(ImageResource*) override;
String debugName() const override { return "HTMLImageLoader"; }
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/html/HTMLImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698