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 "apps/app_window.h" | 5 #include "apps/app_window.h" |
6 #include "apps/app_window_registry.h" | 6 #include "apps/app_window_registry.h" |
7 #include "apps/ui/native_app_window.h" | |
8 #include "ash/desktop_background/desktop_background_controller.h" | 7 #include "ash/desktop_background/desktop_background_controller.h" |
9 #include "ash/desktop_background/desktop_background_controller_observer.h" | 8 #include "ash/desktop_background/desktop_background_controller_observer.h" |
10 #include "ash/shell.h" | 9 #include "ash/shell.h" |
11 #include "base/file_util.h" | 10 #include "base/file_util.h" |
12 #include "base/path_service.h" | 11 #include "base/path_service.h" |
13 #include "base/prefs/pref_service.h" | 12 #include "base/prefs/pref_service.h" |
14 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
15 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
16 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
17 #include "chrome/browser/chrome_notification_types.h" | 16 #include "chrome/browser/chrome_notification_types.h" |
(...skipping 22 matching lines...) Expand all Loading... |
40 #include "chrome/common/chrome_constants.h" | 39 #include "chrome/common/chrome_constants.h" |
41 #include "chrome/common/chrome_paths.h" | 40 #include "chrome/common/chrome_paths.h" |
42 #include "chrome/common/pref_names.h" | 41 #include "chrome/common/pref_names.h" |
43 #include "chromeos/chromeos_switches.h" | 42 #include "chromeos/chromeos_switches.h" |
44 #include "chromeos/dbus/cryptohome_client.h" | 43 #include "chromeos/dbus/cryptohome_client.h" |
45 #include "components/signin/core/common/signin_pref_names.h" | 44 #include "components/signin/core/common/signin_pref_names.h" |
46 #include "content/public/browser/notification_observer.h" | 45 #include "content/public/browser/notification_observer.h" |
47 #include "content/public/browser/notification_registrar.h" | 46 #include "content/public/browser/notification_registrar.h" |
48 #include "content/public/browser/notification_service.h" | 47 #include "content/public/browser/notification_service.h" |
49 #include "content/public/test/browser_test_utils.h" | 48 #include "content/public/test/browser_test_utils.h" |
| 49 #include "extensions/browser/app_window/native_app_window.h" |
50 #include "extensions/browser/extension_system.h" | 50 #include "extensions/browser/extension_system.h" |
51 #include "google_apis/gaia/gaia_constants.h" | 51 #include "google_apis/gaia/gaia_constants.h" |
52 #include "google_apis/gaia/gaia_switches.h" | 52 #include "google_apis/gaia/gaia_switches.h" |
53 #include "google_apis/gaia/gaia_urls.h" | 53 #include "google_apis/gaia/gaia_urls.h" |
54 #include "net/test/embedded_test_server/embedded_test_server.h" | 54 #include "net/test/embedded_test_server/embedded_test_server.h" |
55 | 55 |
56 namespace em = enterprise_management; | 56 namespace em = enterprise_management; |
57 | 57 |
58 namespace chromeos { | 58 namespace chromeos { |
59 | 59 |
(...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1372 content::WindowedNotificationObserver( | 1372 content::WindowedNotificationObserver( |
1373 chrome::NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_VISIBLE, | 1373 chrome::NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_VISIBLE, |
1374 content::NotificationService::AllSources()).Wait(); | 1374 content::NotificationService::AllSources()).Wait(); |
1375 | 1375 |
1376 // Wait for the wallpaper to load. | 1376 // Wait for the wallpaper to load. |
1377 WaitForWallpaper(); | 1377 WaitForWallpaper(); |
1378 EXPECT_TRUE(wallpaper_loaded()); | 1378 EXPECT_TRUE(wallpaper_loaded()); |
1379 } | 1379 } |
1380 | 1380 |
1381 } // namespace chromeos | 1381 } // namespace chromeos |
OLD | NEW |