blob: 3084ba69811506c54cbac0d2299c509cb3fc6764 [file] [log] [blame]
// Copyright 2018 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_WALLPAPER_WALLPAPER_UTILS_WALLPAPER_COLOR_EXTRACTION_RESULT_H_
#define ASH_WALLPAPER_WALLPAPER_UTILS_WALLPAPER_COLOR_EXTRACTION_RESULT_H_
namespace ash {
// This enum is used to back a histogram, and should therefore be treated as
// append-only.
// For result, transparent indicates extraction failure and opaque indicates
// extraction success.
enum WallpaperColorExtractionResult {
// Transparent result on (dark, vibrant) color profile.
RESULT_DARK_VIBRANT_TRANSPARENT = 0,
// Opaque result on (dark, vibrant) color profile.
RESULT_DARK_VIBRANT_OPAQUE,
// Transparent result on (normal, vibrant) color profile.
RESULT_NORMAL_VIBRANT_TRANSPARENT,
// Opaque result on (normal, vibrant) color profile.
RESULT_NORMAL_VIBRANT_OPAQUE,
// Transparent result on (light, vibrant) color profile.
RESULT_LIGHT_VIBRANT_TRANSPARENT,
// Opaque result on (light, vibrant) color profile.
RESULT_LIGHT_VIBRANT_OPAQUE,
// Transparent result on (dark, muted) color profile.
RESULT_DARK_MUTED_TRANSPARENT,
// Opaque result on (dark, muted) color profile.
RESULT_DARK_MUTED_OPAQUE,
// Transparent result on (normal, muted) color profile.
RESULT_NORMAL_MUTED_TRANSPARENT,
// Opaque result on (normal, muted) color profile.
RESULT_NORMAL_MUTED_OPAQUE,
// Transparent result on (light, muted) color profile.
RESULT_LIGHT_MUTED_TRANSPARENT,
// Opaque result on (light, muted) color profile.
RESULT_LIGHT_MUTED_OPAQUE,
NUM_COLOR_EXTRACTION_RESULTS,
};
} // namespace ash
#endif // ASH_WALLPAPER_WALLPAPER_UTILS_WALLPAPER_COLOR_EXTRACTION_RESULT_H_