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

Unified Diff: ui/aura/root_window.cc

Issue 29883002: Attempt to re-land FocusManager removal from Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable test with note. 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 19c60bf62bee4b506e00397a2e82145daa59f95d..bfd6b3500a46a13714b0c8c5db2541e3aca34ba6 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"
@@ -706,12 +705,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