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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 10805051: Add RenderViewHost* to DidStartLoading and DidStopLoading in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 virtual void Close(RenderViewHost* render_view_host) {} 194 virtual void Close(RenderViewHost* render_view_host) {}
195 195
196 // The RenderViewHost has been swapped out. 196 // The RenderViewHost has been swapped out.
197 virtual void SwappedOut(RenderViewHost* render_view_host) {} 197 virtual void SwappedOut(RenderViewHost* render_view_host) {}
198 198
199 // The page is trying to move the RenderView's representation in the client. 199 // The page is trying to move the RenderView's representation in the client.
200 virtual void RequestMove(const gfx::Rect& new_bounds) {} 200 virtual void RequestMove(const gfx::Rect& new_bounds) {}
201 201
202 // The RenderView began loading a new page. This corresponds to WebKit's 202 // The RenderView began loading a new page. This corresponds to WebKit's
203 // notion of the throbber starting. 203 // notion of the throbber starting.
204 virtual void DidStartLoading() {} 204 virtual void DidStartLoading(RenderViewHost* render_view_host) {}
205 205
206 // The RenderView stopped loading a page. This corresponds to WebKit's 206 // The RenderView stopped loading a page. This corresponds to WebKit's
207 // notion of the throbber stopping. 207 // notion of the throbber stopping.
208 virtual void DidStopLoading() {} 208 virtual void DidStopLoading(RenderViewHost* render_view_host) {}
209 209
210 // The pending page load was canceled. 210 // The pending page load was canceled.
211 virtual void DidCancelLoading() {} 211 virtual void DidCancelLoading() {}
212 212
213 // The RenderView made progress loading a page's top frame. 213 // The RenderView made progress loading a page's top frame.
214 // |progress| is a value between 0 (nothing loaded) to 1.0 (top frame 214 // |progress| is a value between 0 (nothing loaded) to 1.0 (top frame
215 // entirely loaded). 215 // entirely loaded).
216 virtual void DidChangeLoadProgress(double progress) {} 216 virtual void DidChangeLoadProgress(double progress) {}
217 217
218 // The RenderView's main frame document element is ready. This happens when 218 // The RenderView's main frame document element is ready. This happens when
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 const MediaStreamRequest* request, 405 const MediaStreamRequest* request,
406 const MediaResponseCallback& callback) {} 406 const MediaResponseCallback& callback) {}
407 407
408 protected: 408 protected:
409 virtual ~RenderViewHostDelegate() {} 409 virtual ~RenderViewHostDelegate() {}
410 }; 410 };
411 411
412 } // namespace content 412 } // namespace content
413 413
414 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 414 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/sync/one_click_signin_helper.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698