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

Side by Side Diff: chrome/browser/chromeos/login/kiosk_browsertest.cc

Issue 479933003: Move NativeAppWindow to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/apps/web_view_browsertest.cc ('k') | chrome/browser/chromeos/policy/device_local_account_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698