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

Side by Side Diff: chrome/browser/ui/views/ash/chrome_shell_delegate.cc

Issue 10207030: Asynchronously load wallpapers when user pod is selected. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit Created 8 years, 8 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) 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/ui/views/ash/chrome_shell_delegate.h" 5 #include "chrome/browser/ui/views/ash/chrome_shell_delegate.h"
6 6
7 #include "ash/launcher/launcher_types.h" 7 #include "ash/launcher/launcher_types.h"
8 #include "ash/system/tray/system_tray_delegate.h" 8 #include "ash/system/tray/system_tray_delegate.h"
9 #include "ash/wm/partial_screenshot_view.h" 9 #include "ash/wm/partial_screenshot_view.h"
10 #include "ash/wm/window_util.h" 10 #include "ash/wm/window_util.h"
(...skipping 11 matching lines...) Expand all
22 #include "chrome/common/chrome_switches.h" 22 #include "chrome/common/chrome_switches.h"
23 #include "chrome/common/url_constants.h" 23 #include "chrome/common/url_constants.h"
24 #include "content/public/browser/notification_service.h" 24 #include "content/public/browser/notification_service.h"
25 #include "content/public/browser/user_metrics.h" 25 #include "content/public/browser/user_metrics.h"
26 #include "content/public/browser/web_contents.h" 26 #include "content/public/browser/web_contents.h"
27 #include "grit/generated_resources.h" 27 #include "grit/generated_resources.h"
28 #include "ui/aura/window.h" 28 #include "ui/aura/window.h"
29 29
30 #if defined(OS_CHROMEOS) 30 #if defined(OS_CHROMEOS)
31 #include "base/chromeos/chromeos_version.h" 31 #include "base/chromeos/chromeos_version.h"
32 #include "chrome/browser/chromeos/background/desktop_background_observer.h" 32 #include "chrome/browser/chromeos/background/ash_user_wallpaper_delegate.h"
33 #include "chrome/browser/chromeos/extensions/file_manager_util.h" 33 #include "chrome/browser/chromeos/extensions/file_manager_util.h"
34 #include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h" 34 #include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h"
35 #include "chrome/browser/chromeos/login/user_manager.h" 35 #include "chrome/browser/chromeos/login/user_manager.h"
36 #include "chrome/browser/chromeos/system/ash_system_tray_delegate.h" 36 #include "chrome/browser/chromeos/system/ash_system_tray_delegate.h"
37 #include "chrome/browser/ui/webui/chromeos/mobile_setup_dialog.h" 37 #include "chrome/browser/ui/webui/chromeos/mobile_setup_dialog.h"
38 #include "chromeos/dbus/dbus_thread_manager.h" 38 #include "chromeos/dbus/dbus_thread_manager.h"
39 #include "chromeos/dbus/power_manager_client.h" 39 #include "chromeos/dbus/power_manager_client.h"
40 #endif 40 #endif
41 41
42 // static 42 // static
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 ash::Shell::GetInstance()->CreateLauncher(); 229 ash::Shell::GetInstance()->CreateLauncher();
230 break; 230 break;
231 default: 231 default:
232 NOTREACHED() << "Unexpected notification " << type; 232 NOTREACHED() << "Unexpected notification " << type;
233 } 233 }
234 #else 234 #else
235 // MSVC++ warns about switch statements without any cases. 235 // MSVC++ warns about switch statements without any cases.
236 NOTREACHED() << "Unexpected notification " << type; 236 NOTREACHED() << "Unexpected notification " << type;
237 #endif 237 #endif
238 } 238 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698