/external/chromium_org/chrome/browser/ui/search/ |
search_ui.cc | 8 #include "chrome/browser/themes/theme_service.h" 12 SkColor GetDetachedBookmarkBarBackgroundColor(ThemeService* theme_service) { 13 if (!theme_service->UsingDefaultTheme()) 14 return theme_service->GetColor(ThemeProperties::COLOR_TOOLBAR); 18 SkColor GetDetachedBookmarkBarSeparatorColor(ThemeService* theme_service) { 19 if (theme_service->UsingDefaultTheme()) { 26 theme_service->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT), 128);
|
search_ui.h | 15 SkColor GetDetachedBookmarkBarBackgroundColor(ThemeService* theme_service); 18 SkColor GetDetachedBookmarkBarSeparatorColor(ThemeService* theme_service);
|
/external/chromium_org/chrome/browser/themes/ |
theme_service_browsertest.cc | 5 #include "chrome/browser/themes/theme_service.h" 21 bool UsingCustomTheme(const ThemeService& theme_service) { 22 return !theme_service.UsingSystemTheme() && 23 !theme_service.UsingDefaultTheme(); 48 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile); local 51 EXPECT_FALSE(UsingCustomTheme(*theme_service)); 52 EXPECT_NE(kThemeToolbarColor, theme_service->GetColor( 60 EXPECT_TRUE(UsingCustomTheme(*theme_service)); 61 EXPECT_EQ(kThemeToolbarColor, theme_service->GetColor( 75 ThemeService* theme_service = ThemeServiceFactory::GetForProfile local [all...] |
theme_service_unittest.cc | 5 #include "chrome/browser/themes/theme_service.h" 97 const CustomThemeSupplier* get_theme_supplier(ThemeService* theme_service) { 98 return theme_service->get_theme_supplier(); 110 ThemeService* theme_service = local 112 theme_service->UseDefaultTheme(); 119 EXPECT_FALSE(theme_service->UsingDefaultTheme()); 120 EXPECT_EQ(extension_id, theme_service->GetThemeID()); 127 EXPECT_TRUE(theme_service->UsingDefaultTheme()); 134 ThemeService* theme_service = local 136 theme_service->UseDefaultTheme() 195 ThemeService* theme_service = local 251 ThemeService* theme_service = local 265 ThemeService* theme_service = local [all...] |
theme_syncable_service.h | 26 ThemeSyncableService(Profile* profile, // Same profile used by theme_service. 27 ThemeService* theme_service);
|
theme_syncable_service.cc | 10 #include "chrome/browser/themes/theme_service.h" 33 ThemeService* theme_service) 35 theme_service_(theme_service),
|
/external/chromium_org/chrome/browser/extensions/ |
theme_installed_infobar_delegate.cc | 14 #include "chrome/browser/themes/theme_service.h" 51 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile); local 56 theme_service, new_theme, 71 theme_service->OnInfobarDisplayed(); 79 theme_service->OnInfobarDisplayed(); 84 ThemeService* theme_service, 90 theme_service_(theme_service),
|
theme_installed_infobar_delegate.h | 38 ThemeService* theme_service,
|
/external/chromium_org/chrome/browser/search/ |
instant_service.cc | 19 #include "chrome/browser/themes/theme_service.h" 285 void InstantService::OnThemeChanged(ThemeService* theme_service) { 286 if (!theme_service) { 297 theme_info_->using_default_theme = theme_service->UsingDefaultTheme(); 301 theme_service->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND); 303 theme_service->GetColor(ThemeProperties::COLOR_NTP_TEXT); 305 theme_service->GetColor(ThemeProperties::COLOR_NTP_LINK); 307 theme_service->GetColor(ThemeProperties::COLOR_NTP_TEXT_LIGHT); 309 theme_service->GetColor(ThemeProperties::COLOR_NTP_HEADER); 335 int logo_alternate = theme_service->GetDisplayProperty [all...] |
instant_service.h | 133 void OnThemeChanged(ThemeService* theme_service);
|
/external/chromium_org/chrome/browser/search_engines/ |
ui_thread_search_terms_data.cc | 18 #include "chrome/browser/themes/theme_service.h" 166 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile_); 168 if (theme_service && !theme_service->UsingDefaultTheme() && 169 !theme_service->UsingSystemTheme())
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
themes_helper.cc | 15 #include "chrome/browser/themes/theme_service.h" 233 bool UsingSystemThemeFunc(ThemeService* theme_service) { 234 return theme_service->UsingSystemTheme(); 238 bool UsingDefaultThemeFunc(ThemeService* theme_service) { 239 return theme_service->UsingDefaultTheme();
|
/external/chromium_org/chrome/browser/profile_resetter/ |
profile_resetter_unittest.cc | 21 #include "chrome/browser/themes/theme_service.h" 591 ThemeService* theme_service = local 593 EXPECT_FALSE(theme_service->UsingDefaultTheme()); 641 EXPECT_TRUE(theme_service->UsingDefaultTheme()); 687 ThemeService* theme_service = local 689 EXPECT_FALSE(theme_service->UsingDefaultTheme()); 714 EXPECT_TRUE(theme_service->UsingDefaultTheme()); [all...] |
/external/chromium_org/chrome/browser/supervised_user/ |
supervised_user_service.cc | 66 #include "chrome/browser/themes/theme_service.h" 723 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile_); local 724 if (theme_service->UsingDefaultTheme() || theme_service->UsingSystemTheme()) { [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
browser_view.cc | 180 ThemeService* theme_service) { 183 chrome::GetDetachedBookmarkBarBackgroundColor(theme_service)); 187 chrome::GetDetachedBookmarkBarSeparatorColor(theme_service); [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/ |
browser_options_handler.cc | 56 #include "chrome/browser/themes/theme_service.h" 1310 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile); local [all...] |