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

Side by Side Diff: ash/focus_cycler_unittest.cc

Issue 2025413002: Moves RootWindowControllerCommon and LayoutManager to common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_root_window_controller_common
Patch Set: merge Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/focus_cycler.h" 5 #include "ash/focus_cycler.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "ash/common/shell_window_ids.h"
9 #include "ash/common/wm/wm_globals.h" 10 #include "ash/common/wm/wm_globals.h"
10 #include "ash/common/wm/wm_window.h" 11 #include "ash/common/wm/wm_window.h"
11 #include "ash/shelf/shelf.h" 12 #include "ash/shelf/shelf.h"
12 #include "ash/shelf/shelf_widget.h" 13 #include "ash/shelf/shelf_widget.h"
13 #include "ash/shell.h" 14 #include "ash/shell.h"
14 #include "ash/shell_factory.h" 15 #include "ash/shell_factory.h"
15 #include "ash/shell_window_ids.h"
16 #include "ash/system/status_area_widget.h" 16 #include "ash/system/status_area_widget.h"
17 #include "ash/system/status_area_widget_delegate.h" 17 #include "ash/system/status_area_widget_delegate.h"
18 #include "ash/system/tray/system_tray.h" 18 #include "ash/system/tray/system_tray.h"
19 #include "ash/test/ash_test_base.h" 19 #include "ash/test/ash_test_base.h"
20 #include "ash/wm/window_util.h" 20 #include "ash/wm/window_util.h"
21 #include "ui/aura/test/test_windows.h" 21 #include "ui/aura/test/test_windows.h"
22 #include "ui/aura/window.h" 22 #include "ui/aura/window.h"
23 #include "ui/aura/window_event_dispatcher.h" 23 #include "ui/aura/window_event_dispatcher.h"
24 #include "ui/events/test/event_generator.h" 24 #include "ui/events/test/event_generator.h"
25 #include "ui/views/accessible_pane_view.h" 25 #include "ui/views/accessible_pane_view.h"
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 // Cycle focus to the shelf. 425 // Cycle focus to the shelf.
426 Shell::GetInstance()->focus_cycler()->RotateFocus(FocusCycler::FORWARD); 426 Shell::GetInstance()->focus_cycler()->RotateFocus(FocusCycler::FORWARD);
427 427
428 // Cycle focus should go back to the browser. 428 // Cycle focus should go back to the browser.
429 Shell::GetInstance()->focus_cycler()->RotateFocus(FocusCycler::FORWARD); 429 Shell::GetInstance()->focus_cycler()->RotateFocus(FocusCycler::FORWARD);
430 EXPECT_TRUE(wm::IsActiveWindow(window.get())); 430 EXPECT_TRUE(wm::IsActiveWindow(window.get()));
431 } 431 }
432 432
433 } // namespace test 433 } // namespace test
434 } // namespace ash 434 } // namespace ash
OLDNEW
« no previous file with comments | « ash/first_run/first_run_helper_unittest.cc ('k') | ash/magnifier/partial_magnification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698