| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 bool RemoveEntryAtIndex(int index) override; | 76 bool RemoveEntryAtIndex(int index) override; |
| 77 const SessionStorageNamespaceMap& GetSessionStorageNamespaceMap() | 77 const SessionStorageNamespaceMap& GetSessionStorageNamespaceMap() |
| 78 const override; | 78 const override; |
| 79 SessionStorageNamespace* GetDefaultSessionStorageNamespace() override; | 79 SessionStorageNamespace* GetDefaultSessionStorageNamespace() override; |
| 80 bool NeedsReload() const override; | 80 bool NeedsReload() const override; |
| 81 void SetNeedsReload() override; | 81 void SetNeedsReload() override; |
| 82 void CancelPendingReload() override; | 82 void CancelPendingReload() override; |
| 83 void ContinuePendingReload() override; | 83 void ContinuePendingReload() override; |
| 84 bool IsInitialNavigation() const override; | 84 bool IsInitialNavigation() const override; |
| 85 bool IsInitialBlankNavigation() const override; | 85 bool IsInitialBlankNavigation() const override; |
| 86 void Reload(bool check_for_repost, ReloadType reload_type) override; | 86 void Reload(ReloadType reload_type, bool check_for_repost) override; |
| 87 // TODO(toyoshim): Remove following Reload* methods once all callers to use | |
| 88 // new Reload() with ReloadType above. http://crbug.com/670232 | |
| 89 void Reload(bool check_for_repost) override; | |
| 90 void ReloadBypassingCache(bool check_for_repost) override; | |
| 91 void ReloadOriginalRequestURL(bool check_for_repost) override; | |
| 92 void ReloadDisableLoFi(bool check_for_repost) override; | |
| 93 void NotifyEntryChanged(const NavigationEntry* entry) override; | 87 void NotifyEntryChanged(const NavigationEntry* entry) override; |
| 94 void CopyStateFrom(const NavigationController& source) override; | 88 void CopyStateFrom(const NavigationController& source) override; |
| 95 void CopyStateFromAndPrune(NavigationController* source, | 89 void CopyStateFromAndPrune(NavigationController* source, |
| 96 bool replace_entry) override; | 90 bool replace_entry) override; |
| 97 bool CanPruneAllButLastCommitted() override; | 91 bool CanPruneAllButLastCommitted() override; |
| 98 void PruneAllButLastCommitted() override; | 92 void PruneAllButLastCommitted() override; |
| 99 void ClearAllScreenshots() override; | 93 void ClearAllScreenshots() override; |
| 100 | 94 |
| 101 // 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 |
| 102 // case, we know there is no content displayed in the page. | 96 // case, we know there is no content displayed in the page. |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 // these are ReloadType::NONE and a null timestamp, respectively. | 437 // these are ReloadType::NONE and a null timestamp, respectively. |
| 444 ReloadType last_committed_reload_type_; | 438 ReloadType last_committed_reload_type_; |
| 445 base::Time last_committed_reload_time_; | 439 base::Time last_committed_reload_time_; |
| 446 | 440 |
| 447 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); | 441 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); |
| 448 }; | 442 }; |
| 449 | 443 |
| 450 } // namespace content | 444 } // namespace content |
| 451 | 445 |
| 452 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ | 446 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ |
| OLD | NEW |