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

Side by Side Diff: content/browser/frame_host/navigation_controller_impl.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, 1 month 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 "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 int32 GetMaxRestoredPageID() const override; 76 int32 GetMaxRestoredPageID() const override;
77 bool NeedsReload() const override; 77 bool NeedsReload() const override;
78 void SetNeedsReload() override; 78 void SetNeedsReload() override;
79 void CancelPendingReload() override; 79 void CancelPendingReload() override;
80 void ContinuePendingReload() override; 80 void ContinuePendingReload() override;
81 bool IsInitialNavigation() const override; 81 bool IsInitialNavigation() const override;
82 bool IsInitialBlankNavigation() const override; 82 bool IsInitialBlankNavigation() const override;
83 void Reload(bool check_for_repost) override; 83 void Reload(bool check_for_repost) override;
84 void ReloadIgnoringCache(bool check_for_repost) override; 84 void ReloadIgnoringCache(bool check_for_repost) override;
85 void ReloadOriginalRequestURL(bool check_for_repost) override; 85 void ReloadOriginalRequestURL(bool check_for_repost) override;
86 void ReloadDisableLoFi(bool check_for_repost) override;
86 void NotifyEntryChanged(const NavigationEntry* entry) override; 87 void NotifyEntryChanged(const NavigationEntry* entry) override;
87 void CopyStateFrom(const NavigationController& source) override; 88 void CopyStateFrom(const NavigationController& source) override;
88 void CopyStateFromAndPrune(NavigationController* source, 89 void CopyStateFromAndPrune(NavigationController* source,
89 bool replace_entry) override; 90 bool replace_entry) override;
90 bool CanPruneAllButLastCommitted() override; 91 bool CanPruneAllButLastCommitted() override;
91 void PruneAllButLastCommitted() override; 92 void PruneAllButLastCommitted() override;
92 void ClearAllScreenshots() override; 93 void ClearAllScreenshots() override;
93 94
94 // Whether this is the initial navigation in an unmodified new tab. In this 95 // Whether this is the initial navigation in an unmodified new tab. In this
95 // case, we know there is no content displayed in the page. 96 // case, we know there is no content displayed in the page.
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 TimeSmoother time_smoother_; 440 TimeSmoother time_smoother_;
440 441
441 scoped_ptr<NavigationEntryScreenshotManager> screenshot_manager_; 442 scoped_ptr<NavigationEntryScreenshotManager> screenshot_manager_;
442 443
443 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); 444 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
444 }; 445 };
445 446
446 } // namespace content 447 } // namespace content
447 448
448 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ 449 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698