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

Unified Diff: ui/base/base_window.h

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: ui/base/base_window.h
diff --git a/ui/base/base_window.h b/ui/base/base_window.h
index 1819405fb4b9b065689a4f1ee4dabdbc5e4f2597..1913e57480803e9a920f9b3d64441aac45e405f5 100644
--- a/ui/base/base_window.h
+++ b/ui/base/base_window.h
@@ -68,7 +68,7 @@ class UI_BASE_EXPORT BaseWindow {
// Activates (brings to front) the window. Restores the window from minimized
// state if necessary.
- virtual void Activate() = 0;
+ virtual void Activate(bool user_gesture) = 0;
// Deactivates the window, making the next window in the Z order the active
// window.

Powered by Google App Engine
This is Rietveld 408576698