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

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.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 and test Created 4 years, 11 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/public/web/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index a26758f4aa7207247a28c7ed037f64f935519508..c1aad69865e94502d7615a30f2ab223256aa38d0 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -189,6 +189,10 @@ public:
// If the provided node is an image, reload the image disabling Lo-Fi.
virtual void reloadImage(const WebNode&) = 0;
+ // Reloads all the Lo-Fi images in this WebLocalFrame. Ignores the cache and
+ // reloads from the network.
+ virtual void reloadLoFiImages() = 0;
+
// Feature usage logging --------------------------------------------------
virtual void didCallAddSearchProvider() = 0;

Powered by Google App Engine
This is Rietveld 408576698