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

Side by Side Diff: ash/default_wallpaper_delegate.cc

Issue 2413503002: Cleanup mojo Wallpaper interfaces for mash. (Closed)
Patch Set: Sync and rebase; do *not* use mojo in classic ash. Created 4 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "ash/default_wallpaper_delegate.h" 5 #include "ash/default_wallpaper_delegate.h"
6 6
7 #include "ash/common/wallpaper/wallpaper_controller.h" 7 #include "ash/common/wallpaper/wallpaper_controller.h"
8 #include "ash/common/wm_shell.h" 8 #include "ash/common/wm_shell.h"
9 #include "ui/wm/core/window_animations.h" 9 #include "ui/wm/core/window_animations.h"
10 10
(...skipping 13 matching lines...) Expand all
24 bool DefaultWallpaperDelegate::ShouldShowInitialAnimation() { 24 bool DefaultWallpaperDelegate::ShouldShowInitialAnimation() {
25 return false; 25 return false;
26 } 26 }
27 27
28 void DefaultWallpaperDelegate::UpdateWallpaper(bool clear_cache) {} 28 void DefaultWallpaperDelegate::UpdateWallpaper(bool clear_cache) {}
29 29
30 void DefaultWallpaperDelegate::InitializeWallpaper() { 30 void DefaultWallpaperDelegate::InitializeWallpaper() {
31 WmShell::Get()->wallpaper_controller()->CreateEmptyWallpaper(); 31 WmShell::Get()->wallpaper_controller()->CreateEmptyWallpaper();
32 } 32 }
33 33
34 void DefaultWallpaperDelegate::OpenSetWallpaperPage() {}
35
36 bool DefaultWallpaperDelegate::CanOpenSetWallpaperPage() { 34 bool DefaultWallpaperDelegate::CanOpenSetWallpaperPage() {
37 return false; 35 return false;
38 } 36 }
39 37
40 void DefaultWallpaperDelegate::OnWallpaperAnimationFinished() {} 38 void DefaultWallpaperDelegate::OnWallpaperAnimationFinished() {}
41 39
42 void DefaultWallpaperDelegate::OnWallpaperBootAnimationFinished() {} 40 void DefaultWallpaperDelegate::OnWallpaperBootAnimationFinished() {}
43 41
44 } // namespace ash 42 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698