| 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/shell_window.h" | 5 #include "apps/shell_window.h" |
| 6 #include "apps/shell_window_registry.h" | 6 #include "apps/shell_window_registry.h" |
| 7 #include "apps/ui/native_app_window.h" | 7 #include "apps/ui/native_app_window.h" |
| 8 #include "ash/desktop_background/desktop_background_controller.h" | 8 #include "ash/desktop_background/desktop_background_controller.h" |
| 9 #include "ash/desktop_background/desktop_background_controller_observer.h" | 9 #include "ash/desktop_background/desktop_background_controller_observer.h" |
| 10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #include "chrome/browser/extensions/extension_test_message_listener.h" | 41 #include "chrome/browser/extensions/extension_test_message_listener.h" |
| 42 #include "chrome/browser/lifetime/application_lifetime.h" | 42 #include "chrome/browser/lifetime/application_lifetime.h" |
| 43 #include "chrome/browser/policy/cloud/policy_builder.h" | 43 #include "chrome/browser/policy/cloud/policy_builder.h" |
| 44 #include "chrome/browser/policy/proto/chromeos/chrome_device_policy.pb.h" | 44 #include "chrome/browser/policy/proto/chromeos/chrome_device_policy.pb.h" |
| 45 #include "chrome/browser/profiles/profile_manager.h" | 45 #include "chrome/browser/profiles/profile_manager.h" |
| 46 #include "chrome/browser/ui/browser.h" | 46 #include "chrome/browser/ui/browser.h" |
| 47 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" | 47 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
| 48 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" | 48 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
| 49 #include "chrome/common/chrome_paths.h" | 49 #include "chrome/common/chrome_paths.h" |
| 50 #include "chrome/common/chrome_switches.h" | 50 #include "chrome/common/chrome_switches.h" |
| 51 #include "chrome/common/extensions/extension.h" | |
| 52 #include "chrome/common/pref_names.h" | 51 #include "chrome/common/pref_names.h" |
| 53 #include "chrome/test/base/in_process_browser_test.h" | 52 #include "chrome/test/base/in_process_browser_test.h" |
| 54 #include "chrome/test/base/interactive_test_utils.h" | 53 #include "chrome/test/base/interactive_test_utils.h" |
| 55 #include "chrome/test/base/ui_test_utils.h" | 54 #include "chrome/test/base/ui_test_utils.h" |
| 56 #include "chromeos/chromeos_switches.h" | 55 #include "chromeos/chromeos_switches.h" |
| 57 #include "chromeos/settings/cros_settings_names.h" | 56 #include "chromeos/settings/cros_settings_names.h" |
| 58 #include "content/public/browser/notification_observer.h" | 57 #include "content/public/browser/notification_observer.h" |
| 59 #include "content/public/browser/notification_registrar.h" | 58 #include "content/public/browser/notification_registrar.h" |
| 60 #include "content/public/browser/notification_service.h" | 59 #include "content/public/browser/notification_service.h" |
| 61 #include "content/public/test/browser_test_utils.h" | 60 #include "content/public/test/browser_test_utils.h" |
| 62 #include "content/public/test/test_utils.h" | 61 #include "content/public/test/test_utils.h" |
| 62 #include "extensions/common/extension.h" |
| 63 #include "google_apis/gaia/fake_gaia.h" | 63 #include "google_apis/gaia/fake_gaia.h" |
| 64 #include "google_apis/gaia/gaia_switches.h" | 64 #include "google_apis/gaia/gaia_switches.h" |
| 65 #include "net/base/network_change_notifier.h" | 65 #include "net/base/network_change_notifier.h" |
| 66 #include "net/dns/mock_host_resolver.h" | 66 #include "net/dns/mock_host_resolver.h" |
| 67 #include "net/test/embedded_test_server/embedded_test_server.h" | 67 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 68 #include "net/test/embedded_test_server/http_request.h" | 68 #include "net/test/embedded_test_server/http_request.h" |
| 69 #include "net/test/embedded_test_server/http_response.h" | 69 #include "net/test/embedded_test_server/http_response.h" |
| 70 #include "testing/gmock/include/gmock/gmock.h" | 70 #include "testing/gmock/include/gmock/gmock.h" |
| 71 #include "testing/gtest/include/gtest/gtest.h" | 71 #include "testing/gtest/include/gtest/gtest.h" |
| 72 #include "ui/aura/window.h" | 72 #include "ui/aura/window.h" |
| (...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 966 content::WindowedNotificationObserver( | 966 content::WindowedNotificationObserver( |
| 967 chrome::NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_VISIBLE, | 967 chrome::NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_VISIBLE, |
| 968 content::NotificationService::AllSources()).Wait(); | 968 content::NotificationService::AllSources()).Wait(); |
| 969 | 969 |
| 970 // Wait for the wallpaper to load. | 970 // Wait for the wallpaper to load. |
| 971 WaitForWallpaper(); | 971 WaitForWallpaper(); |
| 972 EXPECT_TRUE(wallpaper_loaded()); | 972 EXPECT_TRUE(wallpaper_loaded()); |
| 973 } | 973 } |
| 974 | 974 |
| 975 } // namespace chromeos | 975 } // namespace chromeos |
| OLD | NEW |