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

Side by Side Diff: components/wallpaper/wallpaper_color_extraction_result.h

Issue 2943333003: Extracting more than one wallpaper prominent color (Closed)
Patch Set: possible uninitialized local value Created 3 years, 6 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
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 #ifndef COMPONENTS_WALLPAPER_WALLPAPER_COLOR_EXTRACTION_RESULT_H_
6 #define COMPONENTS_WALLPAPER_WALLPAPER_COLOR_EXTRACTION_RESULT_H_
7
8 namespace wallpaper {
9
10 // This enum is used to back a histogram, and should therefore be treated as
11 // append-only.
12 // For result, transparent indicates extraction failure and opaque indicates
13 // extraction success.
14 enum WallpaperColorExtractionResult {
15 // Transparent result on (dark, vibrant) color profile.
16 RESULT_DARK_VIBRANT_TRANSPARENT = 0,
17 // Opaque result on (dark, vibrant) color profile.
18 RESULT_DARK_VIBRANT_OPAQUE,
19 // Transparent result on (normal, vibrant) color profile.
20 RESULT_NORMAL_VIBRANT_TRANSPARENT,
21 // Opaque result on (normal, vibrant) color profile.
22 RESULT_NORMAL_VIBRANT_OPAQUE,
23 // Transparent result on (light, vibrant) color profile.
24 RESULT_LIGHT_VIBRANT_TRANSPARENT,
25 // Opaque result on (light, vibrant) color profile.
26 RESULT_LIGHT_VIBRANT_OPAQUE,
27 // Transparent result on (dark, muted) color profile.
28 RESULT_DARK_MUTED_TRANSPARENT,
29 // Opaque result on (dark, muted) color profile.
30 RESULT_DARK_MUTED_OPAQUE,
31 // Transparent result on (normal, muted) color profile.
32 RESULT_NORMAL_MUTED_TRANSPARENT,
33 // Opaque result on (normal, muted) color profile.
34 RESULT_NORMAL_MUTED_OPAQUE,
35 // Transparent result on (light, muted) color profile.
36 RESULT_LIGHT_MUTED_TRANSPARENT,
37 // Opaque result on (light, muted) color profile.
38 RESULT_LIGHT_MUTED_OPAQUE,
39
40 NUM_COLOR_EXTRACTION_RESULTS,
41 };
42
43 } // namespace wallpaper
44
45 #endif // COMPONENTS_WALLPAPER_WALLPAPER_COLOR_EXTRACTION_RESULT_H_
OLDNEW
« no previous file with comments | « components/wallpaper/wallpaper_color_calculator_unittest.cc ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698