OLD | NEW |
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 "chrome/browser/chromeos/extensions/wallpaper_private_api.h" | 5 #include "chrome/browser/chromeos/extensions/wallpaper_private_api.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "ash/common/wm/window_state.h" | |
10 #include "ash/test/ash_test_base.h" | 9 #include "ash/test/ash_test_base.h" |
| 10 #include "ash/wm/window_state.h" |
11 #include "ash/wm/window_state_aura.h" | 11 #include "ash/wm/window_state_aura.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "chrome/browser/chromeos/login/users/fake_chrome_user_manager.h" | 14 #include "chrome/browser/chromeos/login/users/fake_chrome_user_manager.h" |
15 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h" | 15 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h" |
16 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" | 16 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" |
17 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h" | 17 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager.h" |
18 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h" | 18 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h" |
19 #include "components/signin/core/account_id/account_id.h" | 19 #include "components/signin/core/account_id/account_id.h" |
20 #include "extensions/browser/api_test_utils.h" | 20 #include "extensions/browser/api_test_utils.h" |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 // Then we destroy window 0 and call the restore function. | 370 // Then we destroy window 0 and call the restore function. |
371 window0.reset(); | 371 window0.reset(); |
372 EXPECT_TRUE(RunRestoreFunction()); | 372 EXPECT_TRUE(RunRestoreFunction()); |
373 | 373 |
374 EXPECT_FALSE(window1_state->IsMinimized()); | 374 EXPECT_FALSE(window1_state->IsMinimized()); |
375 EXPECT_FALSE(window2_state->IsMinimized()); | 375 EXPECT_FALSE(window2_state->IsMinimized()); |
376 EXPECT_FALSE(window3_state->IsMinimized()); | 376 EXPECT_FALSE(window3_state->IsMinimized()); |
377 } | 377 } |
378 | 378 |
379 } // namespace chromeos | 379 } // namespace chromeos |
OLD | NEW |