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

Unified Diff: third_party/WebKit/Source/core/fetch/ImageResource.h

Issue 1624583003: Reload Lo-Fi images inline instead of reloading the whole page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added comment Created 4 years, 10 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/fetch/ImageResource.h
diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.h b/third_party/WebKit/Source/core/fetch/ImageResource.h
index 5776aaf540fc6f52aa59e75f0c9284aae9ec2445..58d6b369df352822a338b12d49073c35388f1b85 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResource.h
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.h
@@ -84,6 +84,10 @@ public:
void updateImageAnimationPolicy();
+ // If this ImageResource has the Lo-Fi response headers, reload it with
+ // the Lo-Fi state set to off and bypassing the cache.
+ void reloadIfLoFi(ResourceFetcher*);
+
void didAddClient(ResourceClient*) override;
void didRemoveClient(ResourceClient*) override;
« no previous file with comments | « content/renderer/render_frame_impl_browsertest.cc ('k') | third_party/WebKit/Source/core/fetch/ImageResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698