color_mixers.h 586 B

12345678910111213141516171819202122
  1. // Copyright 2019 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 UI_COLOR_COLOR_MIXERS_H_
  5. #define UI_COLOR_COLOR_MIXERS_H_
  6. #include "base/component_export.h"
  7. #include "ui/color/color_provider_manager.h"
  8. namespace ui {
  9. class ColorProvider;
  10. // Adds all ui/-side color mixers to `provider`.
  11. COMPONENT_EXPORT(COLOR)
  12. void AddColorMixers(ColorProvider* provider,
  13. const ColorProviderManager::Key& key);
  14. } // namespace ui
  15. #endif // UI_COLOR_COLOR_MIXERS_H_