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

Unified Diff: ui/views/mus/desktop_window_tree_host_mus.cc

Issue 2568303006: aura-mus: Implement Deactivate(). (Closed)
Patch Set: Created 4 years 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/mus/desktop_window_tree_host_mus.cc
diff --git a/ui/views/mus/desktop_window_tree_host_mus.cc b/ui/views/mus/desktop_window_tree_host_mus.cc
index 8d441d911bc0579c9e80727edf4352220d9b73c0..86a66b4699b88a7f2fd469de9dafc9c35ba0881f 100644
--- a/ui/views/mus/desktop_window_tree_host_mus.cc
+++ b/ui/views/mus/desktop_window_tree_host_mus.cc
@@ -453,9 +453,8 @@ void DesktopWindowTreeHostMus::Activate() {
}
void DesktopWindowTreeHostMus::Deactivate() {
- // TODO: Deactivate() means focus next window, that needs to go to mus.
- // http://crbug.com/663618.
- NOTIMPLEMENTED();
+ if (is_active_)
+ ClearFocus();
}
bool DesktopWindowTreeHostMus::IsActive() const {
« ui/aura/mus/window_tree_host_mus.cc ('K') | « ui/aura/mus/window_tree_host_mus_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698