Android: add UMA instrumentation for inertial sensors.
[chromium-blink-merge.git] / ash / default_user_wallpaper_delegate.cc
blob168fc9d45225398be2220baf1831196f5fb4d7e9
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
3 // found in the LICENSE file.
5 #include "ash/default_user_wallpaper_delegate.h"
7 #include "ash/desktop_background/desktop_background_controller.h"
8 #include "ash/shell.h"
10 namespace ash {
12 int DefaultUserWallpaperDelegate::GetAnimationType() {
13 return views::corewm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE;
16 bool DefaultUserWallpaperDelegate::ShouldShowInitialAnimation() {
17 return false;
20 void DefaultUserWallpaperDelegate::UpdateWallpaper() {
23 void DefaultUserWallpaperDelegate::InitializeWallpaper() {
24 ash::Shell::GetInstance()->desktop_background_controller()->
25 CreateEmptyWallpaper();
28 void DefaultUserWallpaperDelegate::OpenSetWallpaperPage() {
31 bool DefaultUserWallpaperDelegate::CanOpenSetWallpaperPage() {
32 return false;
35 void DefaultUserWallpaperDelegate::OnWallpaperAnimationFinished() {
38 void DefaultUserWallpaperDelegate::OnWallpaperBootAnimationFinished() {
41 } // namespace ash