/external/chromium_org/chrome/browser/themes/ |
D | theme_service_unittest.cc | 97 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 …]
|
D | theme_service_browsertest.cc | 21 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 …]
|
D | theme_syncable_service.h | 27 ThemeService* theme_service);
|
D | theme_syncable_service.cc | 33 ThemeService* theme_service) in ThemeSyncableService() argument 35 theme_service_(theme_service), in ThemeSyncableService()
|
D | theme_service_mac.mm | 5 #include "chrome/browser/themes/theme_service.h"
|
/external/chromium_org/chrome/browser/ui/search/ |
D | search_ui.cc | 12 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()
|
D | search_ui.h | 15 SkColor GetDetachedBookmarkBarBackgroundColor(ThemeService* theme_service); 18 SkColor GetDetachedBookmarkBarSeparatorColor(ThemeService* theme_service);
|
/external/chromium_org/chrome/browser/search/ |
D | instant_service.cc | 285 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 …]
|
D | instant_service.h | 133 void OnThemeChanged(ThemeService* theme_service);
|
/external/chromium_org/chrome/browser/extensions/ |
D | theme_installed_infobar_delegate.cc | 51 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()
|
D | theme_installed_infobar_delegate.h | 38 ThemeService* theme_service,
|
/external/chromium_org/chrome/browser/search_engines/ |
D | ui_thread_search_terms_data.cc | 166 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/ |
D | themes_helper.cc | 233 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/ |
D | profile_resetter_unittest.cc | 591 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/ |
D | download_shelf_view.mm | 8 #include "chrome/browser/themes/theme_service.h"
|
D | download_show_all_cell.mm | 8 #import "chrome/browser/themes/theme_service.h"
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_bar_toolbar_view.mm | 9 #include "chrome/browser/themes/theme_service.h"
|
D | bookmark_bar_toolbar_view_unittest.mm | 9 #include "chrome/browser/themes/theme_service.h"
|
D | bookmark_bar_view.mm | 9 #import "chrome/browser/themes/theme_service.h"
|
/external/chromium_org/chrome/browser/supervised_user/ |
D | supervised_user_service.cc | 723 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/ |
D | background_gradient_view.mm | 8 #import "chrome/browser/themes/theme_service.h"
|
D | styled_text_field_cell.mm | 9 #include "chrome/browser/themes/theme_service.h"
|
D | image_button_cell.mm | 8 #import "chrome/browser/themes/theme_service.h"
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | browser_options_handler.cc | 1310 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/ |
D | browser_view.cc | 180 ThemeService* theme_service) { in PaintDetachedBookmarkBar() argument 183 chrome::GetDetachedBookmarkBarBackgroundColor(theme_service)); in PaintDetachedBookmarkBar() 187 chrome::GetDetachedBookmarkBarSeparatorColor(theme_service); in PaintDetachedBookmarkBar()
|