OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 <memory> | 5 #include <memory> |
6 #include <vector> | 6 #include <vector> |
7 | 7 |
8 #include "apps/test/app_window_waiter.h" | 8 #include "apps/test/app_window_waiter.h" |
9 #include "ash/common/wallpaper/wallpaper_controller.h" | 9 #include "ash/wallpaper/wallpaper_controller.h" |
10 #include "ash/common/wallpaper/wallpaper_controller_observer.h" | 10 #include "ash/wallpaper/wallpaper_controller_observer.h" |
11 #include "ash/common/wm_shell.h" | 11 #include "ash/wm_shell.h" |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
14 #include "base/location.h" | 14 #include "base/location.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/path_service.h" | 16 #include "base/path_service.h" |
17 #include "base/run_loop.h" | 17 #include "base/run_loop.h" |
18 #include "base/strings/string_number_conversions.h" | 18 #include "base/strings/string_number_conversions.h" |
19 #include "base/strings/string_util.h" | 19 #include "base/strings/string_util.h" |
20 #include "base/synchronization/lock.h" | 20 #include "base/synchronization/lock.h" |
21 #include "base/sys_info.h" | 21 #include "base/sys_info.h" |
(...skipping 2364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2386 content::WindowedNotificationObserver( | 2386 content::WindowedNotificationObserver( |
2387 chrome::NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_VISIBLE, | 2387 chrome::NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_VISIBLE, |
2388 content::NotificationService::AllSources()).Wait(); | 2388 content::NotificationService::AllSources()).Wait(); |
2389 | 2389 |
2390 // Wait for the wallpaper to load. | 2390 // Wait for the wallpaper to load. |
2391 WaitForWallpaper(); | 2391 WaitForWallpaper(); |
2392 EXPECT_TRUE(wallpaper_loaded()); | 2392 EXPECT_TRUE(wallpaper_loaded()); |
2393 } | 2393 } |
2394 | 2394 |
2395 } // namespace chromeos | 2395 } // namespace chromeos |
OLD | NEW |