chromium/chrome/browser/ui/webui/theme_handler.h

// Copyright 2013 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_UI_WEBUI_THEME_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_THEME_HANDLER_H_

#include "base/scoped_observation.h"
#include "chrome/browser/themes/theme_service_observer.h"
#include "content/public/browser/web_ui_message_handler.h"
#include "ui/native_theme/native_theme.h"
#include "ui/native_theme/native_theme_observer.h"

class Profile;

namespace ui {
class NativeTheme;
}

// A class to keep the ThemeSource up to date when theme changes.
class ThemeHandler : public content::WebUIMessageHandler,
                     public ThemeServiceObserver,
                     public ui::NativeThemeObserver {};

#endif  // CHROME_BROWSER_UI_WEBUI_THEME_HANDLER_H_