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

Unified Diff: ui/views/widget/desktop_aura/x11_desktop_handler.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/desktop_aura/x11_desktop_handler.h
diff --git a/ui/views/widget/desktop_aura/x11_desktop_handler.h b/ui/views/widget/desktop_aura/x11_desktop_handler.h
index c704bbaecfec917aec2f9126a14a69834260a463..568e93e746486a8ca5b3ae662c16f4312eda9a38 100644
--- a/ui/views/widget/desktop_aura/x11_desktop_handler.h
+++ b/ui/views/widget/desktop_aura/x11_desktop_handler.h
@@ -41,7 +41,7 @@ class VIEWS_EXPORT X11DesktopHandler : public ui::PlatformEventDispatcher,
// Sends a request to the window manager to activate |window|.
// This method should only be called if the window is already mapped.
- void ActivateWindow(::Window window);
+ void ActivateWindow(::Window window, bool for_user_gesture);
// Attempts to get the window manager to deactivate |window| by moving it to
// the bottom of the stack. Regardless of whether |window| was actually

Powered by Google App Engine
This is Rietveld 408576698