| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 virtual content::SessionStorageNamespace* | 89 virtual content::SessionStorageNamespace* |
| 90 GetSessionStorageNamespace() const OVERRIDE; | 90 GetSessionStorageNamespace() const OVERRIDE; |
| 91 virtual void SetMaxRestoredPageID(int32 max_id) OVERRIDE; | 91 virtual void SetMaxRestoredPageID(int32 max_id) OVERRIDE; |
| 92 virtual int32 GetMaxRestoredPageID() const OVERRIDE; | 92 virtual int32 GetMaxRestoredPageID() const OVERRIDE; |
| 93 virtual bool NeedsReload() const OVERRIDE; | 93 virtual bool NeedsReload() const OVERRIDE; |
| 94 virtual void CancelPendingReload() OVERRIDE; | 94 virtual void CancelPendingReload() OVERRIDE; |
| 95 virtual void ContinuePendingReload() OVERRIDE; | 95 virtual void ContinuePendingReload() OVERRIDE; |
| 96 virtual bool IsInitialNavigation() OVERRIDE; | 96 virtual bool IsInitialNavigation() OVERRIDE; |
| 97 virtual void Reload(bool check_for_repost) OVERRIDE; | 97 virtual void Reload(bool check_for_repost) OVERRIDE; |
| 98 virtual void ReloadIgnoringCache(bool check_for_repost) OVERRIDE; | 98 virtual void ReloadIgnoringCache(bool check_for_repost) OVERRIDE; |
| 99 virtual void ReloadOriginalRequestURL() OVERRIDE; |
| 99 virtual void NotifyEntryChanged(const content::NavigationEntry* entry, | 100 virtual void NotifyEntryChanged(const content::NavigationEntry* entry, |
| 100 int index) OVERRIDE; | 101 int index) OVERRIDE; |
| 101 virtual void CopyStateFrom( | 102 virtual void CopyStateFrom( |
| 102 const content::NavigationController& source) OVERRIDE; | 103 const content::NavigationController& source) OVERRIDE; |
| 103 virtual void CopyStateFromAndPrune( | 104 virtual void CopyStateFromAndPrune( |
| 104 content::NavigationController* source) OVERRIDE; | 105 content::NavigationController* source) OVERRIDE; |
| 105 virtual void PruneAllButActive() OVERRIDE; | 106 virtual void PruneAllButActive() OVERRIDE; |
| 106 | 107 |
| 107 // Returns the index of the specified entry, or -1 if entry is not contained | 108 // Returns the index of the specified entry, or -1 if entry is not contained |
| 108 // in this NavigationController. | 109 // in this NavigationController. |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 static size_t max_entry_count_for_testing_; | 334 static size_t max_entry_count_for_testing_; |
| 334 | 335 |
| 335 // If a repost is pending, its type (RELOAD or RELOAD_IGNORING_CACHE), | 336 // If a repost is pending, its type (RELOAD or RELOAD_IGNORING_CACHE), |
| 336 // NO_RELOAD otherwise. | 337 // NO_RELOAD otherwise. |
| 337 ReloadType pending_reload_; | 338 ReloadType pending_reload_; |
| 338 | 339 |
| 339 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); | 340 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); |
| 340 }; | 341 }; |
| 341 | 342 |
| 342 #endif // CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_ | 343 #endif // CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_ |
| OLD | NEW |