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

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

Issue 631013003: Replacing the OVERRIDE with override and FINAL with final in content/browser/frame_host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 16 matching lines...) Expand all
27 27
28 class CONTENT_EXPORT NavigationControllerImpl 28 class CONTENT_EXPORT NavigationControllerImpl
29 : public NON_EXPORTED_BASE(NavigationController) { 29 : public NON_EXPORTED_BASE(NavigationController) {
30 public: 30 public:
31 NavigationControllerImpl( 31 NavigationControllerImpl(
32 NavigationControllerDelegate* delegate, 32 NavigationControllerDelegate* delegate,
33 BrowserContext* browser_context); 33 BrowserContext* browser_context);
34 virtual ~NavigationControllerImpl(); 34 virtual ~NavigationControllerImpl();
35 35
36 // NavigationController implementation: 36 // NavigationController implementation:
37 virtual WebContents* GetWebContents() const OVERRIDE; 37 virtual WebContents* GetWebContents() const override;
38 virtual BrowserContext* GetBrowserContext() const OVERRIDE; 38 virtual BrowserContext* GetBrowserContext() const override;
39 virtual void SetBrowserContext( 39 virtual void SetBrowserContext(
40 BrowserContext* browser_context) OVERRIDE; 40 BrowserContext* browser_context) override;
41 virtual void Restore( 41 virtual void Restore(
42 int selected_navigation, 42 int selected_navigation,
43 RestoreType type, 43 RestoreType type,
44 std::vector<NavigationEntry*>* entries) OVERRIDE; 44 std::vector<NavigationEntry*>* entries) override;
45 virtual NavigationEntry* GetActiveEntry() const OVERRIDE; 45 virtual NavigationEntry* GetActiveEntry() const override;
46 virtual NavigationEntry* GetVisibleEntry() const OVERRIDE; 46 virtual NavigationEntry* GetVisibleEntry() const override;
47 virtual int GetCurrentEntryIndex() const OVERRIDE; 47 virtual int GetCurrentEntryIndex() const override;
48 virtual NavigationEntry* GetLastCommittedEntry() const OVERRIDE; 48 virtual NavigationEntry* GetLastCommittedEntry() const override;
49 virtual int GetLastCommittedEntryIndex() const OVERRIDE; 49 virtual int GetLastCommittedEntryIndex() const override;
50 virtual bool CanViewSource() const OVERRIDE; 50 virtual bool CanViewSource() const override;
51 virtual int GetEntryCount() const OVERRIDE; 51 virtual int GetEntryCount() const override;
52 virtual NavigationEntry* GetEntryAtIndex(int index) const OVERRIDE; 52 virtual NavigationEntry* GetEntryAtIndex(int index) const override;
53 virtual NavigationEntry* GetEntryAtOffset(int offset) const OVERRIDE; 53 virtual NavigationEntry* GetEntryAtOffset(int offset) const override;
54 virtual void DiscardNonCommittedEntries() OVERRIDE; 54 virtual void DiscardNonCommittedEntries() override;
55 virtual NavigationEntry* GetPendingEntry() const OVERRIDE; 55 virtual NavigationEntry* GetPendingEntry() const override;
56 virtual int GetPendingEntryIndex() const OVERRIDE; 56 virtual int GetPendingEntryIndex() const override;
57 virtual NavigationEntry* GetTransientEntry() const OVERRIDE; 57 virtual NavigationEntry* GetTransientEntry() const override;
58 virtual void SetTransientEntry(NavigationEntry* entry) OVERRIDE; 58 virtual void SetTransientEntry(NavigationEntry* entry) override;
59 virtual void LoadURL(const GURL& url, 59 virtual void LoadURL(const GURL& url,
60 const Referrer& referrer, 60 const Referrer& referrer,
61 ui::PageTransition type, 61 ui::PageTransition type,
62 const std::string& extra_headers) OVERRIDE; 62 const std::string& extra_headers) override;
63 virtual void LoadURLWithParams(const LoadURLParams& params) OVERRIDE; 63 virtual void LoadURLWithParams(const LoadURLParams& params) override;
64 virtual void LoadIfNecessary() OVERRIDE; 64 virtual void LoadIfNecessary() override;
65 virtual bool CanGoBack() const OVERRIDE; 65 virtual bool CanGoBack() const override;
66 virtual bool CanGoForward() const OVERRIDE; 66 virtual bool CanGoForward() const override;
67 virtual bool CanGoToOffset(int offset) const OVERRIDE; 67 virtual bool CanGoToOffset(int offset) const override;
68 virtual void GoBack() OVERRIDE; 68 virtual void GoBack() override;
69 virtual void GoForward() OVERRIDE; 69 virtual void GoForward() override;
70 virtual void GoToIndex(int index) OVERRIDE; 70 virtual void GoToIndex(int index) override;
71 virtual void GoToOffset(int offset) OVERRIDE; 71 virtual void GoToOffset(int offset) override;
72 virtual bool RemoveEntryAtIndex(int index) OVERRIDE; 72 virtual bool RemoveEntryAtIndex(int index) override;
73 virtual const SessionStorageNamespaceMap& 73 virtual const SessionStorageNamespaceMap&
74 GetSessionStorageNamespaceMap() const OVERRIDE; 74 GetSessionStorageNamespaceMap() const override;
75 virtual SessionStorageNamespace* 75 virtual SessionStorageNamespace*
76 GetDefaultSessionStorageNamespace() OVERRIDE; 76 GetDefaultSessionStorageNamespace() override;
77 virtual void SetMaxRestoredPageID(int32 max_id) OVERRIDE; 77 virtual void SetMaxRestoredPageID(int32 max_id) override;
78 virtual int32 GetMaxRestoredPageID() const OVERRIDE; 78 virtual int32 GetMaxRestoredPageID() const override;
79 virtual bool NeedsReload() const OVERRIDE; 79 virtual bool NeedsReload() const override;
80 virtual void SetNeedsReload() OVERRIDE; 80 virtual void SetNeedsReload() override;
81 virtual void CancelPendingReload() OVERRIDE; 81 virtual void CancelPendingReload() override;
82 virtual void ContinuePendingReload() OVERRIDE; 82 virtual void ContinuePendingReload() override;
83 virtual bool IsInitialNavigation() const OVERRIDE; 83 virtual bool IsInitialNavigation() const override;
84 virtual void Reload(bool check_for_repost) OVERRIDE; 84 virtual void Reload(bool check_for_repost) override;
85 virtual void ReloadIgnoringCache(bool check_for_repost) OVERRIDE; 85 virtual void ReloadIgnoringCache(bool check_for_repost) override;
86 virtual void ReloadOriginalRequestURL(bool check_for_repost) OVERRIDE; 86 virtual void ReloadOriginalRequestURL(bool check_for_repost) override;
87 virtual void NotifyEntryChanged(const NavigationEntry* entry, 87 virtual void NotifyEntryChanged(const NavigationEntry* entry,
88 int index) OVERRIDE; 88 int index) override;
89 virtual void CopyStateFrom( 89 virtual void CopyStateFrom(
90 const NavigationController& source) OVERRIDE; 90 const NavigationController& source) override;
91 virtual void CopyStateFromAndPrune(NavigationController* source, 91 virtual void CopyStateFromAndPrune(NavigationController* source,
92 bool replace_entry) OVERRIDE; 92 bool replace_entry) override;
93 virtual bool CanPruneAllButLastCommitted() OVERRIDE; 93 virtual bool CanPruneAllButLastCommitted() override;
94 virtual void PruneAllButLastCommitted() OVERRIDE; 94 virtual void PruneAllButLastCommitted() override;
95 virtual void ClearAllScreenshots() OVERRIDE; 95 virtual void ClearAllScreenshots() override;
96 96
97 // Whether this is the initial navigation in an unmodified new tab. In this 97 // Whether this is the initial navigation in an unmodified new tab. In this
98 // case, we know there is no content displayed in the page. 98 // case, we know there is no content displayed in the page.
99 bool IsUnmodifiedBlankTab() const; 99 bool IsUnmodifiedBlankTab() const;
100 100
101 // The session storage namespace that all child RenderViews belonging to 101 // The session storage namespace that all child RenderViews belonging to
102 // |instance| should use. 102 // |instance| should use.
103 SessionStorageNamespace* GetSessionStorageNamespace( 103 SessionStorageNamespace* GetSessionStorageNamespace(
104 SiteInstance* instance); 104 SiteInstance* instance);
105 105
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 TimeSmoother time_smoother_; 413 TimeSmoother time_smoother_;
414 414
415 scoped_ptr<NavigationEntryScreenshotManager> screenshot_manager_; 415 scoped_ptr<NavigationEntryScreenshotManager> screenshot_manager_;
416 416
417 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); 417 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
418 }; 418 };
419 419
420 } // namespace content 420 } // namespace content
421 421
422 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_ 422 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698