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

Unified Diff: content/public/browser/web_contents.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: adding blink 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: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index a96ed1cfc41f87740f56b2e1c2fd6cf3fb618433..4f0f29d4bb1a7e1563fabbc551ffc43efe4c9761 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -446,6 +446,10 @@ class WebContents : public PageNavigator,
virtual void NotifyContextMenuClosed(
const CustomContextMenuContext& context) = 0;
+ // Reloads all the Lo-Fi images in this WebContents. Ignores the cache and
+ // reloads from the network.
Charlie Reis 2016/01/29 23:01:12 Is this supposed to disable LoFi state as well? I
megjablon 2016/01/29 23:22:23 Yes it disables LoFi. If the user requests that Lo
Charlie Reis 2016/01/29 23:52:00 Ok. I just wasn't clear whether there was additio
+ virtual void ReloadLoFiImages() = 0;
Charlie Reis 2016/01/29 23:01:12 This doesn't really belong in the Editing commands
megjablon 2016/01/29 23:22:23 Done.
+
// Executes custom context menu action that was provided from Blink.
virtual void ExecuteCustomContextMenuCommand(
int action, const CustomContextMenuContext& context) = 0;

Powered by Google App Engine
This is Rietveld 408576698