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

Unified Diff: ash/sysui/wallpaper_delegate_mus.h

Issue 2323063003: mash: Port sysui's WallpaperDelegateMus to mojo:ash. (Closed)
Patch Set: Alternative display info workaround. Created 4 years, 3 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/sysui/wallpaper_delegate_mus.h
diff --git a/ash/sysui/wallpaper_delegate_mus.h b/ash/sysui/wallpaper_delegate_mus.h
deleted file mode 100644
index 6c28e083f626bd3ae6baf14224b7c40942172ee2..0000000000000000000000000000000000000000
--- a/ash/sysui/wallpaper_delegate_mus.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2016 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_SYSUI_WALLPAPER_DELEGATE_MUS_H_
-#define ASH_SYSUI_WALLPAPER_DELEGATE_MUS_H_
-
-#include "ash/common/wallpaper/wallpaper_delegate.h"
-#include "ash/public/interfaces/wallpaper.mojom.h"
-#include "base/macros.h"
-
-namespace ash {
-namespace sysui {
-
-class WallpaperDelegateMus : public WallpaperDelegate,
- public mojom::WallpaperController {
- public:
- WallpaperDelegateMus();
- ~WallpaperDelegateMus() override;
-
- private:
- // WallpaperDelegate overrides:
- int GetAnimationType() override;
- int GetAnimationDurationOverride() override;
- void SetAnimationDurationOverride(int animation_duration_in_ms) override;
- bool ShouldShowInitialAnimation() override;
- void UpdateWallpaper(bool clear_cache) override;
- void InitializeWallpaper() override;
- void OpenSetWallpaperPage() override;
- bool CanOpenSetWallpaperPage() override;
- void OnWallpaperAnimationFinished() override;
- void OnWallpaperBootAnimationFinished() override;
-
- // mojom::WallpaperController overrides:
- void SetWallpaper(const SkBitmap& wallpaper,
- mojom::WallpaperLayout layout) override;
-
- DISALLOW_COPY_AND_ASSIGN(WallpaperDelegateMus);
-};
-
-} // namespace sysui
-} // namespace ash
-
-#endif // ASH_SYSUI_WALLPAPER_DELEGATE_MUS_H_

Powered by Google App Engine
This is Rietveld 408576698