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

Unified Diff: chrome/browser/ui/panels/panel_host.cc

Issue 1149263003: Add user_gesture param to BaseWindow::Activate Base URL: https://chromium.googlesource.com/chromium/src.git@ug2_WebContentsDelegate_ActivateContents
Patch Set: Update callers Created 5 years, 7 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
diff --git a/chrome/browser/ui/panels/panel_host.cc b/chrome/browser/ui/panels/panel_host.cc
index 589aa982cca7964346d13419cef90b36f4f558b9..9159f628a8d8f0937f3bfe8c1b2c3cac2bb9ffaf 100644
--- a/chrome/browser/ui/panels/panel_host.cc
+++ b/chrome/browser/ui/panels/panel_host.cc
@@ -159,7 +159,7 @@ void PanelHost::AddNewContents(content::WebContents* source,
void PanelHost::ActivateContents(content::WebContents* contents,
bool user_gesture) {
- panel_->Activate();
+ panel_->Activate(user_gesture);
}
void PanelHost::DeactivateContents(content::WebContents* contents) {

Powered by Google App Engine
This is Rietveld 408576698