blob: 028a8bb7dfeb27ec1b5e59e8c8ce58dc89c7014a [file] [log] [blame]
// Copyright 2019 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 UI_BASE_CURSOR_CURSOR_THEME_MANAGER_OBSERVER_H_
#define UI_BASE_CURSOR_CURSOR_THEME_MANAGER_OBSERVER_H_
#include <string>
#include "base/observer_list_types.h"
namespace ui {
class CursorThemeManagerObserver : public base::CheckedObserver {
public:
// |cursor_theme_name| will be nonempty.
virtual void OnCursorThemeNameChanged(
const std::string& cursor_theme_name) = 0;
// |cursor_theme_size| will be nonzero.
virtual void OnCursorThemeSizeChanged(int cursor_theme_size) = 0;
protected:
~CursorThemeManagerObserver() override = default;
};
} // namespace ui
#endif // UI_BASE_CURSOR_CURSOR_THEME_MANAGER_OBSERVER_H_