Index: ui/aura/root_window.cc |
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc |
index 1754389f4e8726432049bf4d3ee91bd8719be7e2..8fd466d5b48ab5de158ecc1bd9822160f090415d 100644 |
--- a/ui/aura/root_window.cc |
+++ b/ui/aura/root_window.cc |
@@ -11,7 +11,6 @@ |
#include "base/debug/trace_event.h" |
#include "base/logging.h" |
#include "base/message_loop/message_loop.h" |
-#include "ui/aura/client/activation_client.h" |
#include "ui/aura/client/capture_client.h" |
#include "ui/aura/client/cursor_client.h" |
#include "ui/aura/client/event_client.h" |
@@ -780,12 +779,6 @@ void RootWindow::OnWindowRemovedFromRootWindow(Window* detached, |
} |
void RootWindow::OnWindowHidden(Window* invisible, WindowHiddenReason reason) { |
- // TODO(beng): This should be removed once FocusController is turned on. |
- if (client::GetFocusClient(this)) { |
- client::GetFocusClient(this)->OnWindowHiddenInRootWindow( |
- invisible, this, reason == WINDOW_DESTROYED); |
- } |
- |
// Do not clear the capture, and the |event_dispatch_target_| if the |
// window is moving across root windows, because the target itself |
// is actually still visible and clearing them stops further event |