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

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

Issue 1833303002: [Not committed] Make image load completion async and remove EventSender from ImageLoader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Loader_asyncImageLoadEvent_1
Patch Set: cleanup, fix new layout tests Created 4 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/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 59f3bfe6208ab0a7f2ac239b87c524caddc600e1..8a2a93345fb87fd5c4abbbccef97fd3f7761a5a1 100644
--- a/third_party/WebKit/Source/core/html/HTMLImageLoader.h
+++ b/third_party/WebKit/Source/core/html/HTMLImageLoader.h
@@ -36,12 +36,12 @@ public:
}
~HTMLImageLoader() override;
+private:
void dispatchLoadEvent() override;
- void notifyFinished(Resource*) override;
+ void finishInternal(ImageResource*) override;
String debugName() const override { return "HTMLImageLoader"; }
-private:
explicit HTMLImageLoader(Element*);
void noImageResourceToLoad() override;
void ensureFallbackContent();

Powered by Google App Engine
This is Rietveld 408576698