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

Unified Diff: ui/views/widget/widget.h

Issue 1135693006: Fix X11DesktopHandler::ActivateWindow on Unity for known user gestures Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 16d66406889e039c133c87e786232dc8f2a05e98..41408ec3c0b007d71e11c11f2ce3c0d933314636 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -484,6 +484,8 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// Activates the widget, assuming it already exists and is visible.
void Activate();
+ // Like Activate(), but some window managers will give this higher priority.
+ void ActivateForUserGesture();
// Deactivates the widget, making the next window in the Z order the active
// window.

Powered by Google App Engine
This is Rietveld 408576698