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

Unified Diff: content/public/browser/web_contents_delegate.h

Issue 9289045: Add option --dump-render-tree to content_shell to dump the render tree as text. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
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) {}

Powered by Google App Engine
This is Rietveld 408576698