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

Unified Diff: ash/desktop_background/user_wallpaper_delegate.h

Issue 2271373002: mash: Port mojo:ash_sysui's ContextMenuMus to mojo:ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move factory ownership to WindowManagerApplication; to match AuraInit/ViewsDelegate. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: ash/desktop_background/user_wallpaper_delegate.h
diff --git a/ash/desktop_background/user_wallpaper_delegate.h b/ash/desktop_background/user_wallpaper_delegate.h
deleted file mode 100644
index 87ee44ea2441e81c2c07749631a3cb61be0988b9..0000000000000000000000000000000000000000
--- a/ash/desktop_background/user_wallpaper_delegate.h
+++ /dev/null
@@ -1,59 +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"
-
-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;
-
- // Returns the wallpaper animation duration in ms. A value of 0 indicates
- // that the default should be used.
- virtual int GetAnimationDurationOverride() = 0;
-
- // Sets wallpaper animation duration in ms. Pass 0 to use the default.
- virtual void SetAnimationDurationOverride(int animation_duration_in_ms) = 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. If |clear_cache| is true, all wallpaper
- // cache should be cleared. This is required when the display's native
- // resolution changes to a larger resolution (e.g. when hooked up a large
- // external display) and we need to load a larger resolution wallpaper for the
- // large display. All the previous small resolution wallpaper cache should be
- // cleared.
- virtual void UpdateWallpaper(bool clear_cache) = 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.
- 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_

Powered by Google App Engine
This is Rietveld 408576698