| Index: ash/default_wallpaper_delegate.cc
|
| diff --git a/ash/default_wallpaper_delegate.cc b/ash/default_wallpaper_delegate.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..23a47ce60af32faa305f1612a8586d181e74811b
|
| --- /dev/null
|
| +++ b/ash/default_wallpaper_delegate.cc
|
| @@ -0,0 +1,46 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ash/default_wallpaper_delegate.h"
|
| +
|
| +#include "ash/desktop_background/desktop_background_controller.h"
|
| +#include "ash/shell.h"
|
| +#include "ui/wm/core/window_animations.h"
|
| +
|
| +namespace ash {
|
| +
|
| +int DefaultWallpaperDelegate::GetAnimationType() {
|
| + return ::wm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE;
|
| +}
|
| +
|
| +int DefaultWallpaperDelegate::GetAnimationDurationOverride() {
|
| + return 0;
|
| +}
|
| +
|
| +void DefaultWallpaperDelegate::SetAnimationDurationOverride(
|
| + int animation_duration_in_ms) {}
|
| +
|
| +bool DefaultWallpaperDelegate::ShouldShowInitialAnimation() {
|
| + return false;
|
| +}
|
| +
|
| +void DefaultWallpaperDelegate::UpdateWallpaper(bool clear_cache) {}
|
| +
|
| +void DefaultWallpaperDelegate::InitializeWallpaper() {
|
| + ash::Shell::GetInstance()
|
| + ->desktop_background_controller()
|
| + ->CreateEmptyWallpaper();
|
| +}
|
| +
|
| +void DefaultWallpaperDelegate::OpenSetWallpaperPage() {}
|
| +
|
| +bool DefaultWallpaperDelegate::CanOpenSetWallpaperPage() {
|
| + return false;
|
| +}
|
| +
|
| +void DefaultWallpaperDelegate::OnWallpaperAnimationFinished() {}
|
| +
|
| +void DefaultWallpaperDelegate::OnWallpaperBootAnimationFinished() {}
|
| +
|
| +} // namespace ash
|
|
|