/external/chromium_org/chrome/browser/themes/ |
D | theme_service_unittest.cc | 90 const CustomThemeSupplier* get_theme_supplier(ThemeService* theme_service) { in get_theme_supplier() argument 91 return theme_service->get_theme_supplier(); in get_theme_supplier() 108 ThemeService* theme_service = in TEST_F() local 110 theme_service->UseDefaultTheme(); in TEST_F() 117 EXPECT_FALSE(theme_service->UsingDefaultTheme()); in TEST_F() 118 EXPECT_EQ(extension_id, theme_service->GetThemeID()); in TEST_F() 122 EXPECT_TRUE(theme_service->UsingDefaultTheme()); in TEST_F() 129 ThemeService* theme_service = in TEST_F() local 131 theme_service->UseDefaultTheme(); in TEST_F() 142 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.UsingNativeTheme() && 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 …]
|
/external/chromium/chrome/browser/ |
D | renderer_preferences_util.cc | 23 GtkThemeService* theme_service = GtkThemeService::GetFrom(profile); in UpdateFromSystemSettings() local 25 prefs->focus_ring_color = theme_service->get_focus_ring_color(); in UpdateFromSystemSettings() 26 prefs->thumb_active_color = theme_service->get_thumb_active_color(); in UpdateFromSystemSettings() 27 prefs->thumb_inactive_color = theme_service->get_thumb_inactive_color(); in UpdateFromSystemSettings() 28 prefs->track_color = theme_service->get_track_color(); in UpdateFromSystemSettings() 30 theme_service->get_active_selection_bg_color(); in UpdateFromSystemSettings() 32 theme_service->get_active_selection_fg_color(); in UpdateFromSystemSettings() 34 theme_service->get_inactive_selection_bg_color(); in UpdateFromSystemSettings() 36 theme_service->get_inactive_selection_fg_color(); in UpdateFromSystemSettings()
|
/external/chromium_org/chrome/browser/ui/search/ |
D | search_ui.cc | 13 SkColor GetDetachedBookmarkBarBackgroundColor(ThemeService* theme_service) { in GetDetachedBookmarkBarBackgroundColor() argument 14 if (!theme_service->UsingDefaultTheme()) in GetDetachedBookmarkBarBackgroundColor() 15 return theme_service->GetColor(ThemeProperties::COLOR_TOOLBAR); in GetDetachedBookmarkBarBackgroundColor() 19 SkColor GetDetachedBookmarkBarSeparatorColor(ThemeService* theme_service) { in GetDetachedBookmarkBarSeparatorColor() argument 20 if (theme_service->UsingDefaultTheme()) { in GetDetachedBookmarkBarSeparatorColor() 27 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/ |
D | renderer_preferences_util.cc | 88 GtkThemeService* theme_service = GtkThemeService::GetFrom(profile); in UpdateFromSystemSettings() local 89 prefs->focus_ring_color = theme_service->get_focus_ring_color(); in UpdateFromSystemSettings() 90 prefs->thumb_active_color = theme_service->get_thumb_active_color(); in UpdateFromSystemSettings() 91 prefs->thumb_inactive_color = theme_service->get_thumb_inactive_color(); in UpdateFromSystemSettings() 92 prefs->track_color = theme_service->get_track_color(); in UpdateFromSystemSettings() 94 theme_service->get_active_selection_bg_color(); in UpdateFromSystemSettings() 96 theme_service->get_active_selection_fg_color(); in UpdateFromSystemSettings() 98 theme_service->get_inactive_selection_bg_color(); in UpdateFromSystemSettings() 100 theme_service->get_inactive_selection_fg_color(); in UpdateFromSystemSettings()
|
/external/chromium_org/chrome/browser/search/ |
D | instant_service.cc | 328 void InstantService::OnThemeChanged(ThemeService* theme_service) { in OnThemeChanged() argument 329 if (!theme_service) { in OnThemeChanged() 340 theme_info_->using_default_theme = theme_service->UsingDefaultTheme(); in OnThemeChanged() 344 theme_service->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND); in OnThemeChanged() 346 theme_service->GetColor(ThemeProperties::COLOR_NTP_TEXT); in OnThemeChanged() 348 theme_service->GetColor(ThemeProperties::COLOR_NTP_LINK); in OnThemeChanged() 350 theme_service->GetColor(ThemeProperties::COLOR_NTP_TEXT_LIGHT); in OnThemeChanged() 352 theme_service->GetColor(ThemeProperties::COLOR_NTP_HEADER); in OnThemeChanged() 378 int logo_alternate = theme_service->GetDisplayProperty( in OnThemeChanged() 382 if (theme_service->HasCustomImage(IDR_THEME_NTP_BACKGROUND)) { in OnThemeChanged() [all …]
|
/external/chromium_org/chrome/browser/extensions/ |
D | theme_installed_infobar_delegate.cc | 50 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile); in Create() local 53 profile->GetExtensionService(), theme_service, new_theme, in Create() 68 theme_service->OnInfobarDisplayed(); in Create() 76 theme_service->OnInfobarDisplayed(); in Create() 81 ThemeService* theme_service, in ThemeInstalledInfoBarDelegate() argument 87 theme_service_(theme_service), in ThemeInstalledInfoBarDelegate()
|
/external/chromium_org/chrome/browser/ui/gtk/bubble/ |
D | bubble_gtk_browsertest.cc | 75 GtkThemeService* theme_service = GtkThemeService::GetFrom(GetProfile()); in IN_PROC_BROWSER_TEST_F() local 81 GtkWidget* label = theme_service->BuildLabel(kText, ui::kGdkBlack); in IN_PROC_BROWSER_TEST_F() 90 theme_service, in IN_PROC_BROWSER_TEST_F() 116 GtkThemeService* theme_service = GtkThemeService::GetFrom(GetProfile()); in IN_PROC_BROWSER_TEST_F() local 122 GtkWidget* label = theme_service->BuildLabel(kText, ui::kGdkBlack); in IN_PROC_BROWSER_TEST_F() 131 theme_service, in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/gtk/ |
D | first_run_bubble.cc | 46 GtkThemeService* theme_service = GtkThemeService::GetFrom(browser->profile()); in FirstRunBubble() local 47 GtkWidget* title = theme_service->BuildLabel(std::string(), ui::kGdkBlack); in FirstRunBubble() 56 GtkWidget* change = theme_service->BuildChromeLinkButton( in FirstRunBubble() 60 GtkWidget* subtext = theme_service->BuildLabel( in FirstRunBubble() 81 theme_service, in FirstRunBubble()
|
D | overflow_button.cc | 21 GtkThemeService* theme_service = GtkThemeService::GetFrom(profile); in OverflowButton() local 23 content::Source<ThemeService>(theme_service)); in OverflowButton() 24 theme_service->InitThemesFor(this); in OverflowButton()
|
D | confirm_bubble_gtk.cc | 70 GtkThemeService* theme_service = GtkThemeService::GetFrom( in Show() local 83 GtkWidget* title_label = theme_service->BuildLabel( in Show() 88 close_button_.reset(CustomDrawButton::CloseButtonBubble(theme_service)); in Show() 95 GtkWidget* message_label = theme_service->BuildLabel( in Show() 150 theme_service, in Show()
|
D | global_error_bubble.cc | 48 GtkThemeService* theme_service = in GlobalErrorBubble() local 56 GtkWidget* title_label = theme_service->BuildLabel( in GlobalErrorBubble() 61 message_labels_.push_back(theme_service->BuildLabel( in GlobalErrorBubble() 117 theme_service, in GlobalErrorBubble()
|
D | manage_passwords_bubble_gtk.cc | 63 GtkThemeService* theme_service = GtkThemeService::GetFrom( in ManagePasswordsBubbleGtk() local 69 GtkWidget* label = theme_service->BuildLabel( in ManagePasswordsBubbleGtk() 100 theme_service, in ManagePasswordsBubbleGtk()
|
D | avatar_menu_item_gtk.h | 37 GtkThemeService* theme_service); 70 void Init(GtkThemeService* theme_service);
|
D | avatar_menu_item_gtk.cc | 49 GtkThemeService* theme_service) in AvatarMenuItemGtk() argument 53 theme_service_(theme_service), in AvatarMenuItemGtk() 179 void AvatarMenuItemGtk::Init(GtkThemeService* theme_service) { in Init() argument 234 name_label = theme_service->BuildLabel(UTF16ToUTF8(elided_name), in Init()
|
D | zoom_bubble_gtk.cc | 93 GtkThemeService* theme_service = in ZoomBubbleGtk() local 107 label_ = theme_service->BuildLabel(percentage_text, ui::kGdkBlack); in ZoomBubbleGtk() 137 theme_service, NULL); in ZoomBubbleGtk()
|
D | throbber_gtk.cc | 22 ThrobberGtk::ThrobberGtk(GtkThemeService* theme_service) in ThrobberGtk() argument 23 : theme_service_(theme_service), in ThrobberGtk()
|
D | password_generation_bubble_gtk.cc | 89 GtkThemeService* theme_service = GtkThemeService::GetFrom( in PasswordGenerationBubbleGtk() local 99 theme_service, in PasswordGenerationBubbleGtk()
|
D | tab_modal_confirm_dialog_gtk.cc | 61 GtkThemeService* theme_service = GtkThemeService::GetFrom( in TabModalConfirmDialogGtk() local 64 GtkWidget* link = theme_service->BuildChromeLinkButton(UTF16ToUTF8( in TabModalConfirmDialogGtk()
|
/external/chromium_org/chrome/browser/ui/gtk/website_settings/ |
D | permission_selector.cc | 40 PermissionSelector::PermissionSelector(GtkThemeService* theme_service, in PermissionSelector() argument 68 GtkWidget* label = theme_service->BuildLabel(l10n_util::GetStringFUTF8( in PermissionSelector() 77 menu_button_ = theme_service->BuildChromeButton(); in PermissionSelector() 81 GtkWidget* button_label = theme_service->BuildLabel( in PermissionSelector() 94 if (theme_service->UsingNativeTheme()) { in PermissionSelector()
|
D | website_settings_popup_gtk.cc | 67 GtkThemeService* theme_service, in CreateTextLabel() argument 69 GtkWidget* label = theme_service->BuildLabel(text, color); in CreateTextLabel() 107 GtkThemeService* theme_service) { in CreatePermissionTabSection() argument 113 GtkWidget* label = theme_service->BuildLabel(section_title, ui::kGdkBlack); in CreatePermissionTabSection() 158 GtkThemeService* theme_service = GtkThemeService::GetFrom(profile); in InternalPageInfoPopupGtk() local 159 GtkWidget* label = theme_service->BuildLabel( in InternalPageInfoPopupGtk() 177 theme_service, in InternalPageInfoPopupGtk()
|
/external/chromium_org/chrome/browser/search_engines/ |
D | search_terms_data.cc | 208 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile_); in NTPIsThemedParam() local 210 if (theme_service && !theme_service->UsingDefaultTheme() && in NTPIsThemedParam() 211 !theme_service->UsingNativeTheme()) in NTPIsThemedParam()
|
/external/chromium/chrome/browser/extensions/ |
D | gtk_theme_installed_infobar_delegate.cc | 20 theme_service()->SetNativeTheme(); in Cancel()
|
/external/chromium_org/chrome/browser/ui/gtk/tabs/ |
D | tab_renderer_gtk.h | 55 explicit Data(GtkThemeService* theme_service); 63 explicit LoadingAnimation(GtkThemeService* theme_service); 101 explicit TabRendererGtk(GtkThemeService* theme_service);
|