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

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

Issue 481753002: Use Shadow DOM to display fallback content for images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years 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: Source/core/html/HTMLImageLoader.h
diff --git a/Source/core/html/HTMLImageLoader.h b/Source/core/html/HTMLImageLoader.h
index 22e08edebe8a8768249821c0871181830c60c860..a2d11be85be73fa73a6ab485ff51aaaaed0c97ff 100644
--- a/Source/core/html/HTMLImageLoader.h
+++ b/Source/core/html/HTMLImageLoader.h
@@ -41,7 +41,11 @@ public:
virtual void notifyFinished(Resource*) override;
private:
+ Timer<HTMLImageLoader> m_loadFallbackContentTimer;
+ void timerFired(Timer<HTMLImageLoader>*);
explicit HTMLImageLoader(Element*);
+ virtual void noImageResourceToLoad() override;
+ void ensureFallbackContent();
};
}

Powered by Google App Engine
This is Rietveld 408576698