summaryrefslogtreecommitdiffstats
path: root/chromium/ash/desktop_background/user_wallpaper_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ash/desktop_background/user_wallpaper_delegate.h')
-rw-r--r--chromium/ash/desktop_background/user_wallpaper_delegate.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/chromium/ash/desktop_background/user_wallpaper_delegate.h b/chromium/ash/desktop_background/user_wallpaper_delegate.h
deleted file mode 100644
index 440d284eba1..00000000000
--- a/chromium/ash/desktop_background/user_wallpaper_delegate.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2012 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.
-
-#ifndef ASH_DESKTOP_BACKGROUND_USER_WALLPAPER_DELEGATE_H_
-#define ASH_DESKTOP_BACKGROUND_USER_WALLPAPER_DELEGATE_H_
-
-#include "ash/ash_export.h"
-#include "ui/views/corewm/window_animations.h"
-
-namespace ash {
-
-class ASH_EXPORT UserWallpaperDelegate {
- public:
- virtual ~UserWallpaperDelegate() {}
-
- // Returns the type of window animation that should be used when showing the
- // wallpaper.
- virtual int GetAnimationType() = 0;
-
- // Should the slower initial animation be shown (as opposed to the faster
- // animation that's used e.g. when switching from one user's wallpaper to
- // another's on the login screen)?
- virtual bool ShouldShowInitialAnimation() = 0;
-
- // Updates current wallpaper. It may switch the size of wallpaper based on the
- // current display's resolution.
- virtual void UpdateWallpaper() = 0;
-
- // Initialize wallpaper.
- virtual void InitializeWallpaper() = 0;
-
- // Opens the set wallpaper page in the browser.
- virtual void OpenSetWallpaperPage() = 0;
-
- // Returns true if user can open set wallpaper page. Only guest user returns
- // false currently.
- virtual bool CanOpenSetWallpaperPage() = 0;
-
- // Notifies delegate that wallpaper animation has finished.
- virtual void OnWallpaperAnimationFinished() = 0;
-
- // Notifies delegate that wallpaper boot animation has finished.
- virtual void OnWallpaperBootAnimationFinished() = 0;
-};
-
-} // namespace ash
-
-#endif // ASH_DESKTOP_BACKGROUND_USER_WALLPAPER_DELEGATE_H_