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

Unified Diff: ash/default_user_wallpaper_delegate.cc

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/default_user_wallpaper_delegate.cc
diff --git a/ash/default_user_wallpaper_delegate.cc b/ash/default_user_wallpaper_delegate.cc
deleted file mode 100644
index 3e22043b95a1de83b999330a657f20e289367105..0000000000000000000000000000000000000000
--- a/ash/default_user_wallpaper_delegate.cc
+++ /dev/null
@@ -1,46 +0,0 @@
-// 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_user_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 DefaultUserWallpaperDelegate::GetAnimationType() {
- return ::wm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE;
-}
-
-int DefaultUserWallpaperDelegate::GetAnimationDurationOverride() {
- return 0;
-}
-
-void DefaultUserWallpaperDelegate::SetAnimationDurationOverride(
- int animation_duration_in_ms) {}
-
-bool DefaultUserWallpaperDelegate::ShouldShowInitialAnimation() {
- return false;
-}
-
-void DefaultUserWallpaperDelegate::UpdateWallpaper(bool clear_cache) {}
-
-void DefaultUserWallpaperDelegate::InitializeWallpaper() {
- ash::Shell::GetInstance()
- ->desktop_background_controller()
- ->CreateEmptyWallpaper();
-}
-
-void DefaultUserWallpaperDelegate::OpenSetWallpaperPage() {}
-
-bool DefaultUserWallpaperDelegate::CanOpenSetWallpaperPage() {
- return false;
-}
-
-void DefaultUserWallpaperDelegate::OnWallpaperAnimationFinished() {}
-
-void DefaultUserWallpaperDelegate::OnWallpaperBootAnimationFinished() {}
-
-} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698