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

Unified Diff: content/browser/frame_host/navigator_impl.h

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 5 years, 4 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/browser/frame_host/navigator_impl.h
diff --git a/content/browser/frame_host/navigator_impl.h b/content/browser/frame_host/navigator_impl.h
index 8b52dfb5adc08c64fb66bb532d7cd85cb7d4b153..168654b4714b29da910af75d88e39090870aa391 100644
--- a/content/browser/frame_host/navigator_impl.h
+++ b/content/browser/frame_host/navigator_impl.h
@@ -12,6 +12,7 @@
#include "content/browser/frame_host/navigation_controller_impl.h"
#include "content/browser/frame_host/navigator.h"
#include "content/common/content_export.h"
+#include "content/common/navigation_params.h"
#include "url/gurl.h"
class GURL;
@@ -24,7 +25,6 @@ class NavigatorTest;
struct LoadCommittedDetails;
struct CommitNavigationParams;
struct CommonNavigationParams;
-struct RequestNavigationParams;
// This class is an implementation of Navigator, responsible for managing
// navigations in regular browser tabs.
@@ -53,7 +53,8 @@ class CONTENT_EXPORT NavigatorImpl : public Navigator {
bool NavigateToPendingEntry(FrameTreeNode* frame_tree_node,
const FrameNavigationEntry& frame_entry,
NavigationController::ReloadType reload_type,
- bool is_same_document_history_load) override;
+ bool is_same_document_history_load,
+ LoFiState lofi_state) override;
void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
const GURL& url,
SiteInstance* source_site_instance,
@@ -102,7 +103,8 @@ class CONTENT_EXPORT NavigatorImpl : public Navigator {
const FrameNavigationEntry& frame_entry,
const NavigationEntryImpl& entry,
NavigationController::ReloadType reload_type,
- bool is_same_document_history_load);
+ bool is_same_document_history_load,
+ LoFiState lofi_state);
bool ShouldAssignSiteForURL(const GURL& url);

Powered by Google App Engine
This is Rietveld 408576698