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

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

Issue 1080143003: Move DidStartLoading, DidStopLoading, DidChangeLoadProgress to RFHI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Rebase Created 5 years, 8 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_RENDER_FRAME_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 const base::string16& message, 51 const base::string16& message,
52 int32 line_no, 52 int32 line_no,
53 const base::string16& source_id); 53 const base::string16& source_id);
54 54
55 // Informs the delegate whenever a RenderFrameHost is created. 55 // Informs the delegate whenever a RenderFrameHost is created.
56 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) {} 56 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) {}
57 57
58 // Informs the delegate whenever a RenderFrameHost is deleted. 58 // Informs the delegate whenever a RenderFrameHost is deleted.
59 virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) {} 59 virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) {}
60 60
61 // The specified RenderFrame began loading a new page. This corresponds to
62 // Blink's notion of the throbber starting.
63 // |to_different_document| will be true unless the load is a fragment
64 // navigation, or triggered by history.pushState/replaceState.
65 virtual void DidStartLoading(RenderFrameHost* render_frame_host,
66 bool to_different_document) {}
67
68 // The specified RenderFrame stopped loading a page. This corresponds to
69 // Blink's notion of the throbber stopping.
70 virtual void DidStopLoading() {}
71
72 // The RenderFrameHost has been swapped out. 61 // The RenderFrameHost has been swapped out.
73 virtual void SwappedOut(RenderFrameHost* render_frame_host) {} 62 virtual void SwappedOut(RenderFrameHost* render_frame_host) {}
74 63
75 // Notification that the navigation on the main frame is blocked waiting 64 // Notification that the navigation on the main frame is blocked waiting
76 // for transition to occur. 65 // for transition to occur.
77 virtual void DidDeferAfterResponseStarted( 66 virtual void DidDeferAfterResponseStarted(
78 const TransitionLayerData& transition_data) {} 67 const TransitionLayerData& transition_data) {}
79 68
80 // Used to query whether the navigation transition will be handled. 69 // Used to query whether the navigation transition will be handled.
81 virtual bool WillHandleDeferAfterResponseStarted(); 70 virtual bool WillHandleDeferAfterResponseStarted();
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 183 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
195 #endif 184 #endif
196 185
197 protected: 186 protected:
198 virtual ~RenderFrameHostDelegate() {} 187 virtual ~RenderFrameHostDelegate() {}
199 }; 188 };
200 189
201 } // namespace content 190 } // namespace content
202 191
203 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 192 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698