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

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: bengr comments and rebase 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
« no previous file with comments | « content/common/resource_messages.h ('k') | content/public/browser/resource_dispatcher_host_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/navigation_controller.h
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h
index 3ad7e03a6936c7d3840ee23607de4b7440fa7454..af1b3b97dea08307b75f1b384f59e0260f54e91f 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
« no previous file with comments | « content/common/resource_messages.h ('k') | content/public/browser/resource_dispatcher_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698