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

Unified Diff: ash/test/test_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: Address comments 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
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | ash/test/test_user_wallpaper_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_user_wallpaper_delegate.h
diff --git a/ash/test/test_user_wallpaper_delegate.h b/ash/test/test_user_wallpaper_delegate.h
deleted file mode 100644
index 8b5779a769d21c5840de7efa17cd877334d5631d..0000000000000000000000000000000000000000
--- a/ash/test/test_user_wallpaper_delegate.h
+++ /dev/null
@@ -1,44 +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.
-
-#ifndef ASH_TEST_TEST_USER_WALLPAPER_DELEGATE_H_
-#define ASH_TEST_TEST_USER_WALLPAPER_DELEGATE_H_
-
-#include "ash/default_user_wallpaper_delegate.h"
-
-#include "base/macros.h"
-#include "ui/gfx/image/image_skia.h"
-
-namespace ash {
-namespace test {
-
-class TestUserWallpaperDelegate : public DefaultUserWallpaperDelegate {
- public:
- TestUserWallpaperDelegate();
- ~TestUserWallpaperDelegate() override;
-
- void set_custom_wallpaper(const gfx::ImageSkia& wallpaper) {
- custom_wallpaper_ = wallpaper;
- }
-
- // DefaultUserWallpaperDelegate overrides:
- void UpdateWallpaper(bool clear_cache) override;
-
- // Returns and clears |update_wallpaper_count_|.
- int GetUpdateWallpaperCountAndReset();
-
- private:
- // Number of times that UpdateWallpaper() has been called.
- int update_wallpaper_count_;
-
- // If non-null, used as custom wallpaper by UpdateWallpaper().
- gfx::ImageSkia custom_wallpaper_;
-
- DISALLOW_COPY_AND_ASSIGN(TestUserWallpaperDelegate);
-};
-
-} // namespace test
-} // namespace ash
-
-#endif // ASH_TEST_TEST_USER_WALLPAPER_DELEGATE_H_
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | ash/test/test_user_wallpaper_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698