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

Unified Diff: trunk/src/chrome/browser/ui/ash/chrome_shell_delegate_views.cc

Issue 276773004: Revert 269892 "linux_aura: Compile ash into chrome." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/chrome/browser/ui/ash/chrome_shell_delegate_views.cc
===================================================================
--- trunk/src/chrome/browser/ui/ash/chrome_shell_delegate_views.cc (revision 269901)
+++ trunk/src/chrome/browser/ui/ash/chrome_shell_delegate_views.cc (working copy)
@@ -22,7 +22,6 @@
#include "chrome/browser/sync/sync_error_notifier_factory_ash.h"
#include "chrome/browser/ui/ash/chrome_new_window_delegate.h"
#include "chrome/browser/ui/ash/session_state_delegate_views.h"
-#include "chrome/browser/ui/ash/solid_color_user_wallpaper_delegate.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/browser_list.h"
@@ -36,6 +35,7 @@
#if defined(OS_WIN)
#include "chrome/browser/ui/ash/system_tray_delegate_win.h"
+#include "chrome/browser/ui/ash/user_wallpaper_delegate_win.h"
#endif
namespace {
@@ -149,7 +149,7 @@
return ash::A11Y_ALERT_NONE;
}
- virtual base::TimeDelta PlayShutdownSound() const OVERRIDE {
+ base::TimeDelta PlayShutdownSound() const OVERRIDE {
return base::TimeDelta();
}
@@ -194,7 +194,11 @@
}
ash::UserWallpaperDelegate* ChromeShellDelegate::CreateUserWallpaperDelegate() {
- return CreateSolidColorUserWallpaperDelegate();
+#if defined(OS_WIN)
+ return ::CreateUserWallpaperDelegate();
+#else
+ return NULL;
+#endif
}
void ChromeShellDelegate::Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698