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

Unified Diff: extensions/shell/browser/shell_native_app_window_aura.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: extensions/shell/browser/shell_native_app_window_aura.cc
diff --git a/extensions/shell/browser/shell_native_app_window_aura.cc b/extensions/shell/browser/shell_native_app_window_aura.cc
index c0158965535884f1092de2bb6385e91daec027db..491c4de351002f5568ffdf3fccf5505e789d6cd5 100644
--- a/extensions/shell/browser/shell_native_app_window_aura.cc
+++ b/extensions/shell/browser/shell_native_app_window_aura.cc
@@ -52,7 +52,7 @@ void ShellNativeAppWindowAura::Hide() {
GetNativeWindow()->Hide();
}
-void ShellNativeAppWindowAura::Activate() {
+void ShellNativeAppWindowAura::Activate(bool user_gesture) {
aura::Window* window = GetNativeWindow();
if (window)
wm::ActivateWindow(window);

Powered by Google App Engine
This is Rietveld 408576698