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

Side by Side Diff: ash/system/overview/overview_button_tray_unittest.cc

Issue 2376103005: mustash: Break dependency of //ash/public/interfaces on //ash (Closed)
Patch Set: typo Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/common/system/overview/overview_button_tray.h" 5 #include "ash/common/system/overview/overview_button_tray.h"
6 6
7 #include "ash/common/login_status.h" 7 #include "ash/common/login_status.h"
8 #include "ash/common/shelf/shelf_types.h"
9 #include "ash/common/system/status_area_widget.h" 8 #include "ash/common/system/status_area_widget.h"
10 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" 9 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
11 #include "ash/common/wm/overview/window_selector_controller.h" 10 #include "ash/common/wm/overview/window_selector_controller.h"
12 #include "ash/common/wm_shell.h" 11 #include "ash/common/wm_shell.h"
13 #include "ash/display/display_manager.h" 12 #include "ash/display/display_manager.h"
13 #include "ash/public/cpp/shelf_types.h"
14 #include "ash/root_window_controller.h" 14 #include "ash/root_window_controller.h"
15 #include "ash/rotator/screen_rotation_animator.h" 15 #include "ash/rotator/screen_rotation_animator.h"
16 #include "ash/shell.h" 16 #include "ash/shell.h"
17 #include "ash/test/ash_test_base.h" 17 #include "ash/test/ash_test_base.h"
18 #include "ash/test/ash_test_helper.h" 18 #include "ash/test/ash_test_helper.h"
19 #include "ash/test/status_area_widget_test_helper.h" 19 #include "ash/test/status_area_widget_test_helper.h"
20 #include "ash/test/test_session_state_delegate.h" 20 #include "ash/test/test_session_state_delegate.h"
21 #include "base/command_line.h" 21 #include "base/command_line.h"
22 #include "base/test/user_action_tester.h" 22 #include "base/test/user_action_tester.h"
23 #include "base/time/time.h" 23 #include "base/time/time.h"
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 ASSERT_TRUE(WmShell::Get()->IsSystemModalWindowOpen()); 260 ASSERT_TRUE(WmShell::Get()->IsSystemModalWindowOpen());
261 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager( 261 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
262 true); 262 true);
263 EXPECT_TRUE(GetTray()->visible()); 263 EXPECT_TRUE(GetTray()->visible());
264 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager( 264 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
265 false); 265 false);
266 EXPECT_FALSE(GetTray()->visible()); 266 EXPECT_FALSE(GetTray()->visible());
267 } 267 }
268 268
269 } // namespace ash 269 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698