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

Side by Side Diff: ash/default_user_wallpaper_delegate.cc

Issue 130983007: Creating multi profile animations for switching users and teleporting of windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 6 years, 10 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 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_user_wallpaper_delegate.h" 5 #include "ash/default_user_wallpaper_delegate.h"
6 6
7 #include "ash/desktop_background/desktop_background_controller.h" 7 #include "ash/desktop_background/desktop_background_controller.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 9
10 namespace ash { 10 namespace ash {
11 11
12 int DefaultUserWallpaperDelegate::GetAnimationType() { 12 int DefaultUserWallpaperDelegate::GetAnimationType() {
13 return views::corewm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE; 13 return views::corewm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE;
14 } 14 }
15 15
16 int DefaultUserWallpaperDelegate::GetAnimationDurationOverride() {
17 return 0;
18 }
19
20 void DefaultUserWallpaperDelegate::SetAnimationDurationOverride(
21 int animation_duration_in_ms) {
22 }
23
16 bool DefaultUserWallpaperDelegate::ShouldShowInitialAnimation() { 24 bool DefaultUserWallpaperDelegate::ShouldShowInitialAnimation() {
17 return false; 25 return false;
18 } 26 }
19 27
20 void DefaultUserWallpaperDelegate::UpdateWallpaper() { 28 void DefaultUserWallpaperDelegate::UpdateWallpaper() {
21 } 29 }
22 30
23 void DefaultUserWallpaperDelegate::InitializeWallpaper() { 31 void DefaultUserWallpaperDelegate::InitializeWallpaper() {
24 ash::Shell::GetInstance()->desktop_background_controller()-> 32 ash::Shell::GetInstance()->desktop_background_controller()->
25 CreateEmptyWallpaper(); 33 CreateEmptyWallpaper();
26 } 34 }
27 35
28 void DefaultUserWallpaperDelegate::OpenSetWallpaperPage() { 36 void DefaultUserWallpaperDelegate::OpenSetWallpaperPage() {
29 } 37 }
30 38
31 bool DefaultUserWallpaperDelegate::CanOpenSetWallpaperPage() { 39 bool DefaultUserWallpaperDelegate::CanOpenSetWallpaperPage() {
32 return false; 40 return false;
33 } 41 }
34 42
35 void DefaultUserWallpaperDelegate::OnWallpaperAnimationFinished() { 43 void DefaultUserWallpaperDelegate::OnWallpaperAnimationFinished() {
36 } 44 }
37 45
38 void DefaultUserWallpaperDelegate::OnWallpaperBootAnimationFinished() { 46 void DefaultUserWallpaperDelegate::OnWallpaperBootAnimationFinished() {
39 } 47 }
40 48
41 } // namespace ash 49 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698