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

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

Issue 2225343002: Navigation: move RestoreType and ReloadType into a separate file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+ Created 4 years, 4 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_NAVIGATOR_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "content/public/browser/invalidate_type.h" 9 #include "content/public/browser/invalidate_type.h"
10 #include "content/public/browser/navigation_controller.h" 10 #include "content/public/browser/navigation_controller.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 virtual void SetMainFrameMimeType(const std::string& mime_type) {} 95 virtual void SetMainFrameMimeType(const std::string& mime_type) {}
96 virtual bool CanOverscrollContent() const; 96 virtual bool CanOverscrollContent() const;
97 97
98 // Notification to the Navigator embedder that navigation state has 98 // Notification to the Navigator embedder that navigation state has
99 // changed. This method corresponds to 99 // changed. This method corresponds to
100 // WebContents::NotifyNavigationStateChanged. 100 // WebContents::NotifyNavigationStateChanged.
101 virtual void NotifyChangedNavigationState(InvalidateTypes changed_flags) {} 101 virtual void NotifyChangedNavigationState(InvalidateTypes changed_flags) {}
102 102
103 // Notifies the Navigator embedder that a navigation to the pending 103 // Notifies the Navigator embedder that a navigation to the pending
104 // NavigationEntry has started in the browser process. 104 // NavigationEntry has started in the browser process.
105 virtual void DidStartNavigationToPendingEntry( 105 virtual void DidStartNavigationToPendingEntry(const GURL& url,
106 const GURL& url, 106 ReloadType reload_type) {}
107 NavigationController::ReloadType reload_type) {}
108 107
109 // Opens a URL with the given parameters. See PageNavigator::OpenURL, which 108 // Opens a URL with the given parameters. See PageNavigator::OpenURL, which
110 // this forwards to. 109 // this forwards to.
111 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, 110 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
112 const OpenURLParams& params) {} 111 const OpenURLParams& params) {}
113 112
114 // Returns whether to continue a navigation that needs to transfer to a 113 // Returns whether to continue a navigation that needs to transfer to a
115 // different process between the load start and commit. 114 // different process between the load start and commit.
116 virtual bool ShouldTransferNavigation(); 115 virtual bool ShouldTransferNavigation();
117 116
(...skipping 12 matching lines...) Expand all
130 // throbber stopping. 129 // throbber stopping.
131 virtual void DidStopLoading() {} 130 virtual void DidStopLoading() {}
132 131
133 // The load progress was changed. 132 // The load progress was changed.
134 virtual void DidChangeLoadProgress() {} 133 virtual void DidChangeLoadProgress() {}
135 }; 134 };
136 135
137 } // namspace content 136 } // namspace content
138 137
139 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 138 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698