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

Unified Diff: components/mus/ws/focus_controller.cc

Issue 1863523006: mash: Make system tray bubble close when another window is activated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add test Created 4 years, 8 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: components/mus/ws/focus_controller.cc
diff --git a/components/mus/ws/focus_controller.cc b/components/mus/ws/focus_controller.cc
index 6985893b814fd69b3e695d605bc1e3c5e297c64f..9a79fd7c0f6bf8124376da3442501af6292dc84f 100644
--- a/components/mus/ws/focus_controller.cc
+++ b/components/mus/ws/focus_controller.cc
@@ -75,6 +75,8 @@ void FocusController::SetFocusedWindow(ServerWindow* window) {
if (GetFocusedWindow() == window)
return;
+ // TODO(jamescook): Failures to set focus should be propagated back to the
+ // client so it doesn't get out of sync. http://crbug.com/600869
SetFocusedWindowImpl(FocusControllerChangeSource::EXPLICIT, window);
}

Powered by Google App Engine
This is Rietveld 408576698