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

Unified Diff: ui/shell/minimal_shell.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/window_unittest.cc ('k') | ui/views/controls/native/native_view_host_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/shell/minimal_shell.cc
diff --git a/ui/shell/minimal_shell.cc b/ui/shell/minimal_shell.cc
index 9c3ca11d2c2a1bdd70a02b8524eed0688cb78e02..556c16e299dc015738e7c7270263fd9d0f5c97b1 100644
--- a/ui/shell/minimal_shell.cc
+++ b/ui/shell/minimal_shell.cc
@@ -7,8 +7,8 @@
#include "ui/aura/client/default_activation_client.h"
#include "ui/aura/client/default_capture_client.h"
#include "ui/aura/env.h"
-#include "ui/aura/focus_manager.h"
#include "ui/aura/root_window.h"
+#include "ui/aura/test/test_focus_client.h"
#include "ui/views/corewm/compound_event_filter.h"
#include "ui/views/corewm/input_method_event_filter.h"
@@ -22,7 +22,7 @@ MinimalShell::MinimalShell(const gfx::Size& default_window_size) {
root_window_->Init();
aura::client::SetStackingClient(root_window_.get(), this);
- focus_client_.reset(new aura::FocusManager);
+ focus_client_.reset(new aura::test::TestFocusClient);
aura::client::SetFocusClient(root_window_.get(), focus_client_.get());
root_window_event_filter_ = new views::corewm::CompoundEventFilter;
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/views/controls/native/native_view_host_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698