Index: ui/base/base_window.h |
diff --git a/ui/base/base_window.h b/ui/base/base_window.h |
index 1819405fb4b9b065689a4f1ee4dabdbc5e4f2597..fe81e88618ae4b3d5ac1e59114c8d417945bbc6c 100644 |
--- a/ui/base/base_window.h |
+++ b/ui/base/base_window.h |
@@ -54,6 +54,8 @@ class UI_BASE_EXPORT BaseWindow { |
// Shows the window, or activates it if it's already visible. |
virtual void Show() = 0; |
+ // Like Show(), but some window managers will give this higher priority. |
+ virtual void ShowForUserGesture(); |
// Hides the window. |
virtual void Hide() = 0; |
@@ -69,6 +71,8 @@ class UI_BASE_EXPORT BaseWindow { |
// Activates (brings to front) the window. Restores the window from minimized |
// state if necessary. |
virtual void Activate() = 0; |
+ // Like Activate(), but some window managers will give this higher priority. |
+ virtual void ActivateForUserGesture(); |
// Deactivates the window, making the next window in the Z order the active |
// window. |