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

Unified Diff: chrome/browser/ui/panels/panel_host.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: chrome/browser/ui/panels/panel_host.cc
===================================================================
--- chrome/browser/ui/panels/panel_host.cc (revision 154307)
+++ chrome/browser/ui/panels/panel_host.cc (working copy)
@@ -109,7 +109,7 @@
panel_->UpdateTitleBar();
}
-void PanelHost::AddNewContents(content::WebContents* source,
+bool PanelHost::AddNewContents(content::WebContents* source,
content::WebContents* new_contents,
WindowOpenDisposition disposition,
const gfx::Rect& initial_pos,
@@ -132,6 +132,7 @@
navigate_params.user_gesture = user_gesture;
navigate_params.extension_app_id = panel_->extension_id();
chrome::Navigate(&navigate_params);
+ return true;
}
void PanelHost::ActivateContents(content::WebContents* contents) {

Powered by Google App Engine
This is Rietveld 408576698