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

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

Issue 19699007: Ensure we don't crash if user navigates back from NTP to Chrome sign-in page before it has fully lo… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing indent. Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
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 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void 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 CancelPendingReload() OVERRIDE; 80 virtual void CancelPendingReload() OVERRIDE;
81 virtual void ContinuePendingReload() OVERRIDE; 81 virtual void ContinuePendingReload() OVERRIDE;
82 virtual bool IsInitialNavigation() const OVERRIDE; 82 virtual bool IsInitialNavigation() const OVERRIDE;
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 TimeSmoother time_smoother_; 397 TimeSmoother time_smoother_;
398 398
399 scoped_ptr<WebContentsScreenshotManager> screenshot_manager_; 399 scoped_ptr<WebContentsScreenshotManager> screenshot_manager_;
400 400
401 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl); 401 DISALLOW_COPY_AND_ASSIGN(NavigationControllerImpl);
402 }; 402 };
403 403
404 } // namespace content 404 } // namespace content
405 405
406 #endif // CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_ 406 #endif // CONTENT_BROWSER_WEB_CONTENTS_NAVIGATION_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/sync/one_click_signin_helper.cc ('k') | content/browser/web_contents/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698