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

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: test comment fixes Created 5 years, 2 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 "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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void SetMaxRestoredPageID(int32 max_id) override; 75 void SetMaxRestoredPageID(int32 max_id) override;
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 void Reload(bool check_for_repost) override; 82 void Reload(bool check_for_repost) override;
83 void ReloadIgnoringCache(bool check_for_repost) override; 83 void ReloadIgnoringCache(bool check_for_repost) override;
84 void ReloadOriginalRequestURL(bool check_for_repost) override; 84 void ReloadOriginalRequestURL(bool check_for_repost) override;
85 void ReloadDisableLoFi(bool check_for_repost) override;
85 void NotifyEntryChanged(const NavigationEntry* entry) override; 86 void NotifyEntryChanged(const NavigationEntry* entry) override;
86 void CopyStateFrom(const NavigationController& source) override; 87 void CopyStateFrom(const NavigationController& source) override;
87 void CopyStateFromAndPrune(NavigationController* source, 88 void CopyStateFromAndPrune(NavigationController* source,
88 bool replace_entry) override; 89 bool replace_entry) override;
89 bool CanPruneAllButLastCommitted() override; 90 bool CanPruneAllButLastCommitted() override;
90 void PruneAllButLastCommitted() override; 91 void PruneAllButLastCommitted() override;
91 void ClearAllScreenshots() override; 92 void ClearAllScreenshots() override;
92 93
93 // Whether this is the initial navigation in an unmodified new tab. In this 94 // Whether this is the initial navigation in an unmodified new tab. In this
94 // case, we know there is no content displayed in the page. 95 // case, we know there is no content displayed in the page.
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 TimeSmoother time_smoother_; 439 TimeSmoother time_smoother_;
439 440
440 scoped_ptr<NavigationEntryScreenshotManager> screenshot_manager_; 441 scoped_ptr<NavigationEntryScreenshotManager> screenshot_manager_;
441 442
442 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); 443 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
443 }; 444 };
444 445
445 } // namespace content 446 } // namespace content
446 447
447 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ 448 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698