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

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, 1 month 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..e62f529bb00279e390d482dac4878bccc5c52035 100644
--- a/Source/core/html/HTMLImageLoader.h
+++ b/Source/core/html/HTMLImageLoader.h
@@ -41,7 +41,10 @@ public:
virtual void notifyFinished(Resource*) override;
private:
+ class EnsureFallbackContentTask;
explicit HTMLImageLoader(Element*);
+ virtual void noImageResourceToLoad() override;
+ void ensureFallbackContent();
};
}

Powered by Google App Engine
This is Rietveld 408576698