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

Unified Diff: ui/aura/root_window.cc

Issue 26116008: Remove old FocusManager code from Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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
« no previous file with comments | « ui/aura/remote_root_window_host_win.cc ('k') | ui/aura/root_window_host_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/aura/remote_root_window_host_win.cc ('k') | ui/aura/root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698