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

Unified Diff: content/shell/shell.cc

Issue 10868116: Pass result of blockage across content API when new tab blocked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/shell/shell.cc
===================================================================
--- content/shell/shell.cc (revision 154307)
+++ content/shell/shell.cc (working copy)
@@ -195,11 +195,12 @@
Close();
}
-void Shell::WebContentsCreated(WebContents* source_contents,
+bool Shell::WebContentsCreated(WebContents* source_contents,
int64 source_frame_id,
const GURL& target_url,
WebContents* new_contents) {
CreateShell(new_contents);
+ return true;
}
void Shell::DidNavigateMainFramePostCommit(WebContents* web_contents) {

Powered by Google App Engine
This is Rietveld 408576698