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

Unified Diff: content/browser/frame_host/navigation_controller_impl.cc

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/navigation_controller_impl.cc
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc
index 41a4e177b520e9a8944972795616e75e4fabb110..19de2647f03a32b403e4b58141d8a7e5e9babddb 100644
--- a/content/browser/frame_host/navigation_controller_impl.cc
+++ b/content/browser/frame_host/navigation_controller_impl.cc
@@ -59,6 +59,7 @@
#include "content/browser/renderer_host/render_view_host_impl.h" // Temporary
#include "content/browser/site_instance_impl.h"
#include "content/common/frame_messages.h"
+#include "content/common/navigation_params.h"
#include "content/common/site_isolation_policy.h"
#include "content/common/ssl_status_serialization.h"
#include "content/common/view_messages.h"
@@ -1762,7 +1763,8 @@ bool NavigationControllerImpl::NavigateToPendingEntryInternal(
DCHECK(frame);
}
return frame->navigator()->NavigateToPendingEntry(frame, *frame_entry,
- reload_type, false);
+ reload_type, false,
+ LOFI_DEFAULT);
nasko 2015/09/04 22:47:42 If all browser initiated navigations start with st
megjablon 2015/09/09 20:54:16 Done.
}
// In --site-per-process, we compare FrameNavigationEntries to see which
@@ -1792,12 +1794,14 @@ bool NavigationControllerImpl::NavigateToPendingEntryInternal(
for (const auto& item : same_document_loads) {
FrameTreeNode* frame = item.first;
success |= frame->navigator()->NavigateToPendingEntry(frame, *item.second,
- reload_type, true);
+ reload_type, true,
+ LOFI_DEFAULT);
}
for (const auto& item : different_document_loads) {
FrameTreeNode* frame = item.first;
success |= frame->navigator()->NavigateToPendingEntry(frame, *item.second,
- reload_type, false);
+ reload_type, false,
+ LOFI_DEFAULT);
}
return success;
}

Powered by Google App Engine
This is Rietveld 408576698