#ifndef CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_
#define CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_
#include <memory>
#include <string>
#include "base/memory/raw_ptr.h"
#include "base/memory/ref_counted.h"
#include "base/memory/ref_counted_memory.h"
#include "base/scoped_observation.h"
#include "chrome/browser/themes/theme_service_observer.h"
#include "components/keyed_service/core/keyed_service.h"
#include "components/prefs/pref_change_registrar.h"
#include "content/public/browser/web_contents.h"
#include "ui/native_theme/native_theme.h"
#include "ui/native_theme/native_theme_observer.h"
class Profile;
namespace base {
class RefCountedMemory;
class Value;
}
namespace policy {
class PolicyChangeRegistrar;
}
namespace ui {
class ColorProvider;
class ThemeProvider;
}
SkColor GetThemeColor(const ui::NativeTheme* native_theme,
const ui::ColorProvider& cp,
int id);
std::string GetNewTabBackgroundPositionCSS(
const ui::ThemeProvider& theme_provider);
std::string GetNewTabBackgroundTilingCSS(
const ui::ThemeProvider& theme_provider);
class NTPResourceCache : public ThemeServiceObserver,
public KeyedService,
public ui::NativeThemeObserver { … };
#endif