// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_COLOR_COLOR_PROVIDER_SOURCE_OBSERVER_H_ #define UI_COLOR_COLOR_PROVIDER_SOURCE_OBSERVER_H_ #include "base/component_export.h" #include "base/memory/raw_ptr.h" #include "base/scoped_observation.h" #include "ui/color/color_provider_source.h" namespace ui { // Implemented by classes wanting access to the ColorProviderSource's current // ColorProvider instance and receives updates on changes to the instance // supplied. Can only observe a single ColorProviderSource at a time. class COMPONENT_EXPORT(COLOR) ColorProviderSourceObserver : public base::CheckedObserver { … }; } // namespace ui #endif // UI_COLOR_COLOR_PROVIDER_SOURCE_OBSERVER_H_