ash_color_mixer.h 925 B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2022 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. #ifndef ASH_STYLE_ASH_COLOR_MIXER_H_
  5. #define ASH_STYLE_ASH_COLOR_MIXER_H_
  6. #include "ash/ash_export.h"
  7. #include "ui/color/color_provider_manager.h"
  8. namespace ui {
  9. class ColorProvider;
  10. } // namespace ui
  11. namespace ash {
  12. // Adds a color mixer with colors generated from ui/chromeos/styles/*.json5.
  13. ASH_EXPORT void AddCrosStylesColorMixer(
  14. ui::ColorProvider* provider,
  15. const ui::ColorProviderManager::Key& key);
  16. // Adds a color mixer to `provider` that supplies default values for various
  17. // ash/ colors before taking into account any custom themes.
  18. ASH_EXPORT void AddAshColorMixer(ui::ColorProvider* provider,
  19. const ui::ColorProviderManager::Key& key);
  20. } // namespace ash
  21. #endif // ASH_STYLE_ASH_COLOR_MIXER_H_