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

Unified Diff: ui/base/base_window.cc

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/base/base_window.cc
diff --git a/ui/base/base_window.cc b/ui/base/base_window.cc
index 231a1771797ef9048144e4254f3a561c4ac3ea60..3b3b7a17409930abad30a5c7bf9f5bec5894fa65 100644
--- a/ui/base/base_window.cc
+++ b/ui/base/base_window.cc
@@ -12,5 +12,13 @@ bool BaseWindow::IsRestored(const BaseWindow& window) {
!window.IsFullscreen();
}
+void BaseWindow::ShowForUserGesture() {
+ Show();
+}
+
+void BaseWindow::ActivateForUserGesture() {
+ Activate();
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698