chromium/chrome/browser/ui/views/dark_mode_manager_linux.h

// Copyright 2023 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_VIEWS_DARK_MODE_MANAGER_LINUX_H_
#define CHROME_BROWSER_UI_VIEWS_DARK_MODE_MANAGER_LINUX_H_

#include <string>
#include <vector>

#include "base/gtest_prod_util.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "base/memory/weak_ptr.h"
#include "base/scoped_observation.h"
#include "ui/native_theme/native_theme.h"
#include "ui/native_theme/native_theme_observer.h"

namespace dbus {
class Bus;
class ErrorResponse;
class MessageReader;
class ObjectProxy;
class Response;
class Signal;
}  // namespace dbus

namespace ui {

class LinuxUiTheme;
class DarkModeManagerLinuxTest;

// Observes the system color scheme preference using
// org.freedesktop.portal.Settings. Falls back to the toolkit preference if
// org.freedesktop.portal.Settings is unavailable.  Propagates the dark mode
// preference to the web theme.
class DarkModeManagerLinux : public NativeThemeObserver {};

}  // namespace ui

#endif  // CHROME_BROWSER_UI_VIEWS_DARK_MODE_MANAGER_LINUX_H_