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

Side by Side Diff: ash/test/wallpaper_controller_test_api.h

Issue 2867413002: [ash-md] Updated the overflow shelf to change colors based on the wallpaper. (Closed)
Patch Set: Added ShelfViewTest.OverflowShelfColorIsDerivedFromWallpaper test. Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « ash/test/BUILD.gn ('k') | ash/test/wallpaper_controller_test_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ash/ash_export.h"
6 #include "base/macros.h"
7 #include "third_party/skia/include/core/SkColor.h"
8
9 namespace ash {
10
11 class WallpaperController;
12
13 namespace test {
14
15 class ASH_EXPORT WallpaperControllerTestApi {
16 public:
17 explicit WallpaperControllerTestApi(WallpaperController* controller);
18 virtual ~WallpaperControllerTestApi();
19
20 // Creates and sets a new wallpaper that cause the prominent color of the
21 // |controller_| to be a valid (aka not kInvalidColor) color. The
22 // WallpaperControllerObservers should be notified as well. This is assumes
23 // the default DARK-MUTED luma-saturation ranges are in effect.
24 //
25 // The expected prominent color is returned.
26 SkColor ApplyColorProducingWallpaper();
27
28 private:
29 WallpaperController* controller_;
30
31 DISALLOW_COPY_AND_ASSIGN(WallpaperControllerTestApi);
32 };
33
34 } // namespace test
35 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/BUILD.gn ('k') | ash/test/wallpaper_controller_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698