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

Unified Diff: components/wallpaper/wallpaper_color_extraction_result.h

Issue 2943333003: Extracting more than one wallpaper prominent color (Closed)
Patch Set: UMA 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 side-by-side diff with in-line comments
Download patch
Index: components/wallpaper/wallpaper_color_extraction_result.h
diff --git a/components/wallpaper/wallpaper_color_extraction_result.h b/components/wallpaper/wallpaper_color_extraction_result.h
new file mode 100644
index 0000000000000000000000000000000000000000..3046312525ef8e80081815466672304b398bb87a
--- /dev/null
+++ b/components/wallpaper/wallpaper_color_extraction_result.h
@@ -0,0 +1,30 @@
+// Copyright 2017 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 COMPONENTS_WALLPAPER_WALLPAPER_COLOR_EXTRACTION_RESULT_H_
+#define COMPONENTS_WALLPAPER_WALLPAPER_COLOR_EXTRACTION_RESULT_H_
+
+namespace wallpaper {
+
+// This enum is used to back a histogram, and should therefore be treated as
+// append-only.
+enum WallpaperColorExtractionResult {
+ RESULT_DARK_VIBRANT_TRANSPARENT = 0,
+ RESULT_DARK_VIBRANT_OPAQUE,
+ RESULT_NORMAL_VIBRANT_TRANSPARENT,
+ RESULT_NORMAL_VIBRANT_OPAQUE,
+ RESULT_LIGHT_VIBRANT_TRANSPARENT,
+ RESULT_LIGHT_VIBRANT_OPAQUE,
+ RESULT_DARK_MUTED_TRANSPARENT,
+ RESULT_DARK_MUTED_OPAQUE,
+ RESULT_NORMAL_MUTED_TRANSPARENT,
+ RESULT_NORMAL_MUTED_OPAQUE,
+ RESULT_LIGHT_MUTED_TRANSPARENT,
+ RESULT_LIGHT_MUTED_OPAQUE,
+ NUM_COLOR_EXTRACTION_RESULTS,
+};
+
+} // namespace wallpaper
+
+#endif // COMPONENTS_WALLPAPER_WALLPAPER_COLOR_EXTRACTION_RESULT_H_

Powered by Google App Engine
This is Rietveld 408576698