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

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

Issue 1153813003: Add user_gesture param to WebContentsDelegate::ActivateContents Base URL: https://chromium.googlesource.com/chromium/src.git@ug1_WebContentsImpl_Activate
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 8c70a68f2b0906aa71b6b614eb05c126c9f80092..589aa982cca7964346d13419cef90b36f4f558b9 100644
--- a/chrome/browser/ui/panels/panel_host.cc
+++ b/chrome/browser/ui/panels/panel_host.cc
@@ -157,7 +157,8 @@ void PanelHost::AddNewContents(content::WebContents* source,
chrome::Navigate(&navigate_params);
}
-void PanelHost::ActivateContents(content::WebContents* contents) {
+void PanelHost::ActivateContents(content::WebContents* contents,
+ bool user_gesture) {
panel_->Activate();
}
« no previous file with comments | « chrome/browser/ui/panels/panel_host.h ('k') | chrome/browser/ui/views/chrome_javascript_native_dialog_factory_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698