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

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

Issue 1785953002: Ignore viewport meta tags when Request Desktop Site is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable HandheldFriendlyMeta and MobileOptimizedMeta as well Created 4 years, 9 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 e24b58e84c6d09a62902022699c380921c95f04c..a00629c09ea8346e17079adb5fd4b4739ff17a37 100644
--- a/content/browser/frame_host/navigation_controller_impl.cc
+++ b/content/browser/frame_host/navigation_controller_impl.cc
@@ -1567,6 +1567,10 @@ void NavigationControllerImpl::ClearAllScreenshots() {
screenshot_manager_->ClearAllScreenshots();
}
+void NavigationControllerImpl::UpdateOverridingUserAgent() {
+ delegate_->UpdateOverridingUserAgent();
no sievers 2016/03/15 20:00:05 Does passing this to the RWH here actually work fo
nasko 2016/03/18 21:05:25 Did you meant RenderViewHost? RenderWidgetHost sho
aelias_OOO_until_Jul13 2016/03/18 22:49:18 I took that approach initially but it failed DEPS
aelias_OOO_until_Jul13 2016/04/07 03:06:14 I was able to remove the unnecessary new Navigatio
+}
+
void NavigationControllerImpl::SetSessionStorageNamespace(
const std::string& partition_id,
SessionStorageNamespace* session_storage_namespace) {

Powered by Google App Engine
This is Rietveld 408576698