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

Unified Diff: content/public/browser/navigation_controller.h

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mmenke comments Created 5 years, 2 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/navigation_controller.h
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h
index c0c18994ad652ca1859c92e10c2cd5d33a5bbf13..9d7987b0d27bbd0d0d6e9d05f43465eeb4f7004f 100644
--- a/content/public/browser/navigation_controller.h
+++ b/content/public/browser/navigation_controller.h
@@ -43,7 +43,8 @@ class NavigationController {
NO_RELOAD, // Normal load.
RELOAD, // Normal (cache-validating) reload.
RELOAD_IGNORING_CACHE, // Reload bypassing the cache (shift-reload).
- RELOAD_ORIGINAL_REQUEST_URL // Reload using the original request URL.
+ RELOAD_ORIGINAL_REQUEST_URL, // Reload using the original request URL.
+ RELOAD_DISABLE_LOFI_MODE // Reload with Lo-Fi mode disabled.
};
// Load type used in LoadURLParams.
@@ -365,6 +366,9 @@ class NavigationController {
// user agent after following a redirect.
virtual void ReloadOriginalRequestURL(bool check_for_repost) = 0;
+ // Like Reload(), but disables Lo-Fi.
+ virtual void ReloadDisableLoFi(bool check_for_repost) = 0;
+
// Removing of entries -------------------------------------------------------
// Removes the entry at the specified |index|. If the index is the last

Powered by Google App Engine
This is Rietveld 408576698