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

Unified Diff: content/browser/tab_contents/tab_contents.cc

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
« no previous file with comments | « no previous file | content/content_shell.gypi » ('j') | content/public/browser/web_contents_delegate.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/tab_contents.cc
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index b6c4e8517fdebc88e063d710499232a8361047e9..a149055284ea6f6ab828e90b0dfb53d49fa73069 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -1362,6 +1362,8 @@ void TabContents::OnDidFinishLoad(
bool is_main_frame) {
FOR_EACH_OBSERVER(WebContentsObserver, observers_,
DidFinishLoad(frame_id, validated_url, is_main_frame));
+ if (is_main_frame)
+ delegate_->DidFinishLoad(this);
}
void TabContents::OnDidFailLoadWithError(int64 frame_id,
« no previous file with comments | « no previous file | content/content_shell.gypi » ('j') | content/public/browser/web_contents_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698