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

Unified Diff: ash/root_window_controller_unittest.cc

Issue 11299219: Rework FocusManager as FocusClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 | « ash/root_window_controller.cc ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller_unittest.cc
===================================================================
--- ash/root_window_controller_unittest.cc (revision 169818)
+++ ash/root_window_controller_unittest.cc (working copy)
@@ -12,8 +12,8 @@
#include "ash/test/ash_test_base.h"
#include "ash/wm/system_modal_container_layout_manager.h"
#include "ash/wm/window_util.h"
+#include "ui/aura/client/focus_client.h"
#include "ui/aura/env.h"
-#include "ui/aura/focus_manager.h"
#include "ui/aura/root_window.h"
#include "ui/aura/test/event_generator.h"
#include "ui/aura/test/test_window_delegate.h"
@@ -150,8 +150,7 @@
aura::Window* d2 = aura::test::CreateTestWindowWithDelegate(
&delete_on_blur_delegate, 0, gfx::Rect(50, 50, 100, 100), NULL);
delete_on_blur_delegate.set_window(d2);
- root_windows[0]->GetFocusManager()->SetFocusedWindow(
- d2, NULL);
+ aura::client::GetFocusClient(root_windows[0])->FocusWindow(d2, NULL);
tracker.Add(d2);
UpdateDisplay("600x600");
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698