OLD | NEW |
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 void SetMaxRestoredPageID(int32 max_id) override; | 74 void SetMaxRestoredPageID(int32 max_id) override; |
75 int32 GetMaxRestoredPageID() const override; | 75 int32 GetMaxRestoredPageID() const override; |
76 bool NeedsReload() const override; | 76 bool NeedsReload() const override; |
77 void SetNeedsReload() override; | 77 void SetNeedsReload() override; |
78 void CancelPendingReload() override; | 78 void CancelPendingReload() override; |
79 void ContinuePendingReload() override; | 79 void ContinuePendingReload() override; |
80 bool IsInitialNavigation() const override; | 80 bool IsInitialNavigation() const override; |
81 void Reload(bool check_for_repost) override; | 81 void Reload(bool check_for_repost) override; |
82 void ReloadIgnoringCache(bool check_for_repost) override; | 82 void ReloadIgnoringCache(bool check_for_repost) override; |
83 void ReloadOriginalRequestURL(bool check_for_repost) override; | 83 void ReloadOriginalRequestURL(bool check_for_repost) override; |
84 void NotifyEntryChanged(const NavigationEntry* entry, int index) override; | 84 void NotifyEntryChanged(const NavigationEntry* entry) override; |
85 void CopyStateFrom(const NavigationController& source) override; | 85 void CopyStateFrom(const NavigationController& source) override; |
86 void CopyStateFromAndPrune(NavigationController* source, | 86 void CopyStateFromAndPrune(NavigationController* source, |
87 bool replace_entry) override; | 87 bool replace_entry) override; |
88 bool CanPruneAllButLastCommitted() override; | 88 bool CanPruneAllButLastCommitted() override; |
89 void PruneAllButLastCommitted() override; | 89 void PruneAllButLastCommitted() override; |
90 void ClearAllScreenshots() override; | 90 void ClearAllScreenshots() override; |
91 | 91 |
92 // Whether this is the initial navigation in an unmodified new tab. In this | 92 // Whether this is the initial navigation in an unmodified new tab. In this |
93 // case, we know there is no content displayed in the page. | 93 // case, we know there is no content displayed in the page. |
94 bool IsUnmodifiedBlankTab() const; | 94 bool IsUnmodifiedBlankTab() const; |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 TimeSmoother time_smoother_; | 430 TimeSmoother time_smoother_; |
431 | 431 |
432 scoped_ptr<NavigationEntryScreenshotManager> screenshot_manager_; | 432 scoped_ptr<NavigationEntryScreenshotManager> screenshot_manager_; |
433 | 433 |
434 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); | 434 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); |
435 }; | 435 }; |
436 | 436 |
437 } // namespace content | 437 } // namespace content |
438 | 438 |
439 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ | 439 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ |
OLD | NEW |