Chromium Code Reviews

Unified Diff: ui/views/widget/native_widget_aura.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.
Jump to:
View side-by-side diff with in-line comments
Index: ui/views/widget/native_widget_aura.cc
diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
index bf113e6e119de7bcb3ab99b2f21a1d185eba9ef7..851f73bb6e068cd713d5f62b93f3dc50d8804c50 100644
--- a/ui/views/widget/native_widget_aura.cc
+++ b/ui/views/widget/native_widget_aura.cc
@@ -515,6 +515,10 @@ void NativeWidgetAura::Activate() {
window_->SetProperty(aura::client::kDrawAttentionKey, false);
}
+void NativeWidgetAura::ActivateForUserGesture() {
+ Activate();
+}
+
void NativeWidgetAura::Deactivate() {
if (!window_)
return;

Powered by Google App Engine