blob: d14bca5b6e2c79d0b5fd65c2b38133aa29800843 [file] [log] [blame]
// 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 CHROME_BROWSER_THEMES_THEME_SERVICE_OBSERVER_H_
#define CHROME_BROWSER_THEMES_THEME_SERVICE_OBSERVER_H_
#include "base/observer_list_types.h"
class ThemeServiceObserver : public base::CheckedObserver {
public:
// Called when the user has changed the browser theme.
virtual void OnThemeChanged() = 0;
// Called when the theme is changed to one not generated by the ntp. This
// should not be necessary. https://crbug.com/341787825.
virtual void OnCustomNtpBackgroundObsolete() {}
protected:
~ThemeServiceObserver() override = default;
};
#endif // CHROME_BROWSER_THEMES_THEME_SERVICE_OBSERVER_H_