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

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

Issue 1350673003: Remove WebContentsObserver::DidCommitNavigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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 19 matching lines...) Expand all
30 // Called when a navigation started. The same NavigationHandle will be 30 // Called when a navigation started. The same NavigationHandle will be
31 // provided for events related to the same navigation. 31 // provided for events related to the same navigation.
32 virtual void DidStartNavigation(NavigationHandle* navigation_handle) {} 32 virtual void DidStartNavigation(NavigationHandle* navigation_handle) {}
33 33
34 // Called when a navigation was redirected. 34 // Called when a navigation was redirected.
35 virtual void DidRedirectNavigation(NavigationHandle* navigation_handle) {} 35 virtual void DidRedirectNavigation(NavigationHandle* navigation_handle) {}
36 36
37 // Called when the navigation is about to be committed in a renderer. 37 // Called when the navigation is about to be committed in a renderer.
38 virtual void ReadyToCommitNavigation(NavigationHandle* navigation_handle) {} 38 virtual void ReadyToCommitNavigation(NavigationHandle* navigation_handle) {}
39 39
40 // Called when a navigation committed. 40 // Called when the navigation finished: it was either committed or canceled
41 virtual void DidCommitNavigation(NavigationHandle* navigation_handle) {} 41 // before commit. Note that |navigation_handle| will be destroyed at the end
42 42 // of this call.
43 // Called when a document load resulting from the navigation stopped. Note
44 // that |navigation_handle| will be destroyed at the end of this call.
45 virtual void DidFinishNavigation(NavigationHandle* navigation_handle) {} 43 virtual void DidFinishNavigation(NavigationHandle* navigation_handle) {}
46 44
47 // TODO(clamy): all methods below that are related to navigation 45 // TODO(clamy): all methods below that are related to navigation
48 // events should go away in favor of the ones above. 46 // events should go away in favor of the ones above.
49 47
50 // The RenderFrameHost started a provisional load for the frame 48 // The RenderFrameHost started a provisional load for the frame
51 // represented by |render_frame_host|. 49 // represented by |render_frame_host|.
52 virtual void DidStartProvisionalLoad( 50 virtual void DidStartProvisionalLoad(
53 RenderFrameHostImpl* render_frame_host, 51 RenderFrameHostImpl* render_frame_host,
54 const GURL& validated_url, 52 const GURL& validated_url,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // throbber stopping. 128 // throbber stopping.
131 virtual void DidStopLoading() {} 129 virtual void DidStopLoading() {}
132 130
133 // The load progress was changed. 131 // The load progress was changed.
134 virtual void DidChangeLoadProgress() {} 132 virtual void DidChangeLoadProgress() {}
135 }; 133 };
136 134
137 } // namspace content 135 } // namspace content
138 136
139 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 137 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698