cursor_theme_manager_observer.h 802 B

1234567891011121314151617181920212223242526272829
  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_LINUX_CURSOR_THEME_MANAGER_OBSERVER_H_
  5. #define UI_LINUX_CURSOR_THEME_MANAGER_OBSERVER_H_
  6. #include <string>
  7. #include "base/observer_list_types.h"
  8. namespace ui {
  9. class CursorThemeManagerObserver : public base::CheckedObserver {
  10. public:
  11. // |cursor_theme_name| will be nonempty.
  12. virtual void OnCursorThemeNameChanged(
  13. const std::string& cursor_theme_name) = 0;
  14. // |cursor_theme_size| will be nonzero.
  15. virtual void OnCursorThemeSizeChanged(int cursor_theme_size) = 0;
  16. protected:
  17. ~CursorThemeManagerObserver() override = default;
  18. };
  19. } // namespace ui
  20. #endif // UI_LINUX_CURSOR_THEME_MANAGER_OBSERVER_H_