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

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

Issue 2561983002: NavigationController: Reload methods migration (Closed)
Patch Set: android build fix Created 4 years 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(bool check_for_repost,
87 // TODO(toyoshim): Remove following Reload* methods once all callers to use 87 ReloadType reload_type = ReloadType::NORMAL) override;
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; 88 void NotifyEntryChanged(const NavigationEntry* entry) override;
94 void CopyStateFrom(const NavigationController& source) override; 89 void CopyStateFrom(const NavigationController& source) override;
95 void CopyStateFromAndPrune(NavigationController* source, 90 void CopyStateFromAndPrune(NavigationController* source,
96 bool replace_entry) override; 91 bool replace_entry) override;
97 bool CanPruneAllButLastCommitted() override; 92 bool CanPruneAllButLastCommitted() override;
98 void PruneAllButLastCommitted() override; 93 void PruneAllButLastCommitted() override;
99 void ClearAllScreenshots() override; 94 void ClearAllScreenshots() override;
100 95
101 // Whether this is the initial navigation in an unmodified new tab. In this 96 // 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. 97 // case, we know there is no content displayed in the page.
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 // these are ReloadType::NONE and a null timestamp, respectively. 438 // these are ReloadType::NONE and a null timestamp, respectively.
444 ReloadType last_committed_reload_type_; 439 ReloadType last_committed_reload_type_;
445 base::Time last_committed_reload_time_; 440 base::Time last_committed_reload_time_;
446 441
447 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); 442 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
448 }; 443 };
449 444
450 } // namespace content 445 } // namespace content
451 446
452 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ 447 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698