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

Side by Side Diff: content/browser/frame_host/navigation_controller_impl.h

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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 void ReloadIgnoringCache(bool check_for_repost) override; 90 void ReloadIgnoringCache(bool check_for_repost) override;
91 void ReloadOriginalRequestURL(bool check_for_repost) override; 91 void ReloadOriginalRequestURL(bool check_for_repost) override;
92 void ReloadDisableLoFi(bool check_for_repost) override; 92 void ReloadDisableLoFi(bool check_for_repost) override;
93 void NotifyEntryChanged(const NavigationEntry* entry) override; 93 void NotifyEntryChanged(const NavigationEntry* entry) override;
94 void CopyStateFrom(const NavigationController& source) override; 94 void CopyStateFrom(const NavigationController& source) override;
95 void CopyStateFromAndPrune(NavigationController* source, 95 void CopyStateFromAndPrune(NavigationController* source,
96 bool replace_entry) override; 96 bool replace_entry) override;
97 bool CanPruneAllButLastCommitted() override; 97 bool CanPruneAllButLastCommitted() override;
98 void PruneAllButLastCommitted() override; 98 void PruneAllButLastCommitted() override;
99 void ClearAllScreenshots() override; 99 void ClearAllScreenshots() override;
100 void UpdateOverridingUserAgent() override;
100 101
101 // Whether this is the initial navigation in an unmodified new tab. In this 102 // Whether this is the initial navigation in an unmodified new tab. In this
102 // case, we know there is no content displayed in the page. 103 // case, we know there is no content displayed in the page.
103 bool IsUnmodifiedBlankTab() const; 104 bool IsUnmodifiedBlankTab() const;
104 105
105 // The session storage namespace that all child RenderViews belonging to 106 // The session storage namespace that all child RenderViews belonging to
106 // |instance| should use. 107 // |instance| should use.
107 SessionStorageNamespace* GetSessionStorageNamespace( 108 SessionStorageNamespace* GetSessionStorageNamespace(
108 SiteInstance* instance); 109 SiteInstance* instance);
109 110
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 TimeSmoother time_smoother_; 447 TimeSmoother time_smoother_;
447 448
448 scoped_ptr<NavigationEntryScreenshotManager> screenshot_manager_; 449 scoped_ptr<NavigationEntryScreenshotManager> screenshot_manager_;
449 450
450 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); 451 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
451 }; 452 };
452 453
453 } // namespace content 454 } // namespace content
454 455
455 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ 456 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698