Home
last modified time | relevance | path

Searched refs:theme_service (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium_org/chrome/browser/themes/
Dtheme_service_unittest.cc97 const CustomThemeSupplier* get_theme_supplier(ThemeService* theme_service) { in get_theme_supplier() argument
98 return theme_service->get_theme_supplier(); in get_theme_supplier()
110 ThemeService* theme_service = in TEST_F() local
112 theme_service->UseDefaultTheme(); in TEST_F()
119 EXPECT_FALSE(theme_service->UsingDefaultTheme()); in TEST_F()
120 EXPECT_EQ(extension_id, theme_service->GetThemeID()); in TEST_F()
127 EXPECT_TRUE(theme_service->UsingDefaultTheme()); in TEST_F()
134 ThemeService* theme_service = in TEST_F() local
136 theme_service->UseDefaultTheme(); in TEST_F()
147 EXPECT_FALSE(theme_service->UsingDefaultTheme()); in TEST_F()
[all …]
Dtheme_service_browsertest.cc21 bool UsingCustomTheme(const ThemeService& theme_service) { in UsingCustomTheme() argument
22 return !theme_service.UsingSystemTheme() && in UsingCustomTheme()
23 !theme_service.UsingDefaultTheme(); in UsingCustomTheme()
48 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile); in IN_PROC_BROWSER_TEST_F() local
51 EXPECT_FALSE(UsingCustomTheme(*theme_service)); in IN_PROC_BROWSER_TEST_F()
52 EXPECT_NE(kThemeToolbarColor, theme_service->GetColor( in IN_PROC_BROWSER_TEST_F()
60 EXPECT_TRUE(UsingCustomTheme(*theme_service)); in IN_PROC_BROWSER_TEST_F()
61 EXPECT_EQ(kThemeToolbarColor, theme_service->GetColor( in IN_PROC_BROWSER_TEST_F()
75 ThemeService* theme_service = ThemeServiceFactory::GetForProfile( in IN_PROC_BROWSER_TEST_F() local
77 EXPECT_TRUE(UsingCustomTheme(*theme_service)); in IN_PROC_BROWSER_TEST_F()
[all …]
Dtheme_syncable_service.h27 ThemeService* theme_service);
Dtheme_syncable_service.cc33 ThemeService* theme_service) in ThemeSyncableService() argument
35 theme_service_(theme_service), in ThemeSyncableService()
Dtheme_service_mac.mm5 #include "chrome/browser/themes/theme_service.h"
/external/chromium_org/chrome/browser/ui/search/
Dsearch_ui.cc12 SkColor GetDetachedBookmarkBarBackgroundColor(ThemeService* theme_service) { in GetDetachedBookmarkBarBackgroundColor() argument
13 if (!theme_service->UsingDefaultTheme()) in GetDetachedBookmarkBarBackgroundColor()
14 return theme_service->GetColor(ThemeProperties::COLOR_TOOLBAR); in GetDetachedBookmarkBarBackgroundColor()
18 SkColor GetDetachedBookmarkBarSeparatorColor(ThemeService* theme_service) { in GetDetachedBookmarkBarSeparatorColor() argument
19 if (theme_service->UsingDefaultTheme()) { in GetDetachedBookmarkBarSeparatorColor()
26 theme_service->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT), 128); in GetDetachedBookmarkBarSeparatorColor()
Dsearch_ui.h15 SkColor GetDetachedBookmarkBarBackgroundColor(ThemeService* theme_service);
18 SkColor GetDetachedBookmarkBarSeparatorColor(ThemeService* theme_service);
/external/chromium_org/chrome/browser/search/
Dinstant_service.cc285 void InstantService::OnThemeChanged(ThemeService* theme_service) { in OnThemeChanged() argument
286 if (!theme_service) { in OnThemeChanged()
297 theme_info_->using_default_theme = theme_service->UsingDefaultTheme(); in OnThemeChanged()
301 theme_service->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND); in OnThemeChanged()
303 theme_service->GetColor(ThemeProperties::COLOR_NTP_TEXT); in OnThemeChanged()
305 theme_service->GetColor(ThemeProperties::COLOR_NTP_LINK); in OnThemeChanged()
307 theme_service->GetColor(ThemeProperties::COLOR_NTP_TEXT_LIGHT); in OnThemeChanged()
309 theme_service->GetColor(ThemeProperties::COLOR_NTP_HEADER); in OnThemeChanged()
335 int logo_alternate = theme_service->GetDisplayProperty( in OnThemeChanged()
339 if (theme_service->HasCustomImage(IDR_THEME_NTP_BACKGROUND)) { in OnThemeChanged()
[all …]
Dinstant_service.h133 void OnThemeChanged(ThemeService* theme_service);
/external/chromium_org/chrome/browser/extensions/
Dtheme_installed_infobar_delegate.cc51 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile); in Create() local
56 theme_service, new_theme, in Create()
71 theme_service->OnInfobarDisplayed(); in Create()
79 theme_service->OnInfobarDisplayed(); in Create()
84 ThemeService* theme_service, in ThemeInstalledInfoBarDelegate() argument
90 theme_service_(theme_service), in ThemeInstalledInfoBarDelegate()
Dtheme_installed_infobar_delegate.h38 ThemeService* theme_service,
/external/chromium_org/chrome/browser/search_engines/
Dui_thread_search_terms_data.cc166 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile_); in NTPIsThemedParam() local
168 if (theme_service && !theme_service->UsingDefaultTheme() && in NTPIsThemedParam()
169 !theme_service->UsingSystemTheme()) in NTPIsThemedParam()
/external/chromium_org/chrome/browser/sync/test/integration/
Dthemes_helper.cc233 bool UsingSystemThemeFunc(ThemeService* theme_service) { in UsingSystemThemeFunc() argument
234 return theme_service->UsingSystemTheme(); in UsingSystemThemeFunc()
238 bool UsingDefaultThemeFunc(ThemeService* theme_service) { in UsingDefaultThemeFunc() argument
239 return theme_service->UsingDefaultTheme(); in UsingDefaultThemeFunc()
/external/chromium_org/chrome/browser/profile_resetter/
Dprofile_resetter_unittest.cc591 ThemeService* theme_service = in TEST_F() local
593 EXPECT_FALSE(theme_service->UsingDefaultTheme()); in TEST_F()
641 EXPECT_TRUE(theme_service->UsingDefaultTheme()); in TEST_F()
687 ThemeService* theme_service = in TEST_F() local
689 EXPECT_FALSE(theme_service->UsingDefaultTheme()); in TEST_F()
714 EXPECT_TRUE(theme_service->UsingDefaultTheme()); in TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_shelf_view.mm8 #include "chrome/browser/themes/theme_service.h"
Ddownload_show_all_cell.mm8 #import "chrome/browser/themes/theme_service.h"
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_toolbar_view.mm9 #include "chrome/browser/themes/theme_service.h"
Dbookmark_bar_toolbar_view_unittest.mm9 #include "chrome/browser/themes/theme_service.h"
Dbookmark_bar_view.mm9 #import "chrome/browser/themes/theme_service.h"
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_service.cc723 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile_); in SetActive() local
724 if (theme_service->UsingDefaultTheme() || theme_service->UsingSystemTheme()) { in SetActive()
/external/chromium_org/chrome/browser/ui/cocoa/
Dbackground_gradient_view.mm8 #import "chrome/browser/themes/theme_service.h"
Dstyled_text_field_cell.mm9 #include "chrome/browser/themes/theme_service.h"
Dimage_button_cell.mm8 #import "chrome/browser/themes/theme_service.h"
/external/chromium_org/chrome/browser/ui/webui/options/
Dbrowser_options_handler.cc1310 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile); in ObserveThemeChanged() local
1315 is_system_theme = theme_service->UsingSystemTheme(); in ObserveThemeChanged()
1323 theme_service->UsingDefaultTheme(); in ObserveThemeChanged()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_view.cc180 ThemeService* theme_service) { in PaintDetachedBookmarkBar() argument
183 chrome::GetDetachedBookmarkBarBackgroundColor(theme_service)); in PaintDetachedBookmarkBar()
187 chrome::GetDetachedBookmarkBarSeparatorColor(theme_service); in PaintDetachedBookmarkBar()

12