#include "chrome/browser/ui/webui/new_tab_page_third_party/new_tab_page_third_party_handler.h"
#include "base/feature_list.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/themes/theme_properties.h"
#include "chrome/browser/themes/theme_service.h"
#include "chrome/browser/themes/theme_service_factory.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/browser/ui/webui/ntp/ntp_resource_cache.h"
#include "chrome/browser/ui/webui/webui_util_desktop.h"
#include "chrome/common/pref_names.h"
#include "chrome/grit/theme_resources.h"
#include "components/prefs/pref_service.h"
#include "components/search/ntp_features.h"
#include "content/public/browser/web_contents.h"
#include "ui/color/color_provider.h"
#include "ui/gfx/color_utils.h"
NewTabPageThirdPartyHandler::NewTabPageThirdPartyHandler(
mojo::PendingReceiver<new_tab_page_third_party::mojom::PageHandler>
pending_page_handler,
mojo::PendingRemote<new_tab_page_third_party::mojom::Page> pending_page,
Profile* profile,
content::WebContents* web_contents)
: … { … }
NewTabPageThirdPartyHandler::~NewTabPageThirdPartyHandler() { … }
void NewTabPageThirdPartyHandler::UpdateTheme() { … }
void NewTabPageThirdPartyHandler::OnThemeChanged() { … }
void NewTabPageThirdPartyHandler::OnNativeThemeUpdated(
ui::NativeTheme* observed_theme) { … }
void NewTabPageThirdPartyHandler::NotifyAboutTheme() { … }