Chromium Code Reviews| Index: content/public/browser/web_contents_delegate.h |
| diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h |
| index d19ee91ff2b1e7319ca04c9daef686845669f4a0..d1a15f777d7e980aefa90c6f9296a51d9217d41b 100644 |
| --- a/content/public/browser/web_contents_delegate.h |
| +++ b/content/public/browser/web_contents_delegate.h |
| @@ -114,6 +114,10 @@ class CONTENT_EXPORT WebContentsDelegate { |
| // SetReportLoadProgressEnabled(true) in the render view. |
| virtual void LoadProgressChanged(double progress) {} |
| + // Notifies the delegate the the page finished loadingm, i.e. the main |
| + // document was loaded, parsed, and the onload event handlers are finished. |
| + virtual void DidFinishLoad(WebContents* contents) {} |
|
jam
2012/01/26 18:47:34
we should avoid adding methods to this interface s
jochen (gone - plz use gerrit)
2012/01/27 08:49:56
Done.
|
| + |
| // Request the delegate to close this web contents, and do whatever cleanup |
| // it needs to do. |
| virtual void CloseContents(WebContents* source) {} |