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

Side by Side Diff: ash/test/ash_test_helper.cc

Issue 2761063002: Move more from WmShell to Shell (Closed)
Patch Set: cleanup Created 3 years, 9 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/test/ash_test_helper.h" 5 #include "ash/test/ash_test_helper.h"
6 6
7 #include "ash/accelerators/accelerator_controller_delegate_aura.h" 7 #include "ash/accelerators/accelerator_controller_delegate_aura.h"
8 #include "ash/aura/wm_shell_aura.h" 8 #include "ash/aura/wm_shell_aura.h"
9 #include "ash/common/test/test_session_state_delegate.h" 9 #include "ash/common/test/test_session_state_delegate.h"
10 #include "ash/common/test/test_system_tray_delegate.h" 10 #include "ash/common/test/test_system_tray_delegate.h"
11 #include "ash/common/test/wm_shell_test_api.h"
12 #include "ash/common/wm_shell.h" 11 #include "ash/common/wm_shell.h"
13 #include "ash/common/wm_window.h" 12 #include "ash/common/wm_window.h"
14 #include "ash/mus/screen_mus.h" 13 #include "ash/mus/screen_mus.h"
15 #include "ash/mus/window_manager.h" 14 #include "ash/mus/window_manager.h"
16 #include "ash/mus/window_manager_application.h" 15 #include "ash/mus/window_manager_application.h"
17 #include "ash/shell.h" 16 #include "ash/shell.h"
18 #include "ash/shell_init_params.h" 17 #include "ash/shell_init_params.h"
19 #include "ash/system/chromeos/screen_layout_observer.h" 18 #include "ash/system/chromeos/screen_layout_observer.h"
20 #include "ash/test/ash_test_environment.h" 19 #include "ash/test/ash_test_environment.h"
21 #include "ash/test/ash_test_views_delegate.h" 20 #include "ash/test/ash_test_views_delegate.h"
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 std::set<RootWindowController*> roots = 368 std::set<RootWindowController*> roots =
370 window_manager_app_->window_manager()->GetRootWindowControllers(); 369 window_manager_app_->window_manager()->GetRootWindowControllers();
371 std::vector<RootWindowController*> ordered_roots; 370 std::vector<RootWindowController*> ordered_roots;
372 ordered_roots.insert(ordered_roots.begin(), roots.begin(), roots.end()); 371 ordered_roots.insert(ordered_roots.begin(), roots.begin(), roots.end());
373 std::sort(ordered_roots.begin(), ordered_roots.end(), &CompareByDisplayId); 372 std::sort(ordered_roots.begin(), ordered_roots.end(), &CompareByDisplayId);
374 return ordered_roots; 373 return ordered_roots;
375 } 374 }
376 375
377 } // namespace test 376 } // namespace test
378 } // namespace ash 377 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698