Home
last modified time | relevance | path

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

1234

/external/chromium_org/chrome/browser/themes/
Dtheme_service_unittest.cc90 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 …]
Dtheme_service_browsertest.cc21 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/
Drenderer_preferences_util.cc23 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/
Dsearch_ui.cc13 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()
Dsearch_ui.h15 SkColor GetDetachedBookmarkBarBackgroundColor(ThemeService* theme_service);
18 SkColor GetDetachedBookmarkBarSeparatorColor(ThemeService* theme_service);
/external/chromium_org/chrome/browser/
Drenderer_preferences_util.cc88 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/
Dinstant_service.cc328 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/
Dtheme_installed_infobar_delegate.cc50 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/
Dbubble_gtk_browsertest.cc75 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/
Dfirst_run_bubble.cc46 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()
Doverflow_button.cc21 GtkThemeService* theme_service = GtkThemeService::GetFrom(profile); in OverflowButton() local
23 content::Source<ThemeService>(theme_service)); in OverflowButton()
24 theme_service->InitThemesFor(this); in OverflowButton()
Dconfirm_bubble_gtk.cc70 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()
Dglobal_error_bubble.cc48 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()
Dmanage_passwords_bubble_gtk.cc63 GtkThemeService* theme_service = GtkThemeService::GetFrom( in ManagePasswordsBubbleGtk() local
69 GtkWidget* label = theme_service->BuildLabel( in ManagePasswordsBubbleGtk()
100 theme_service, in ManagePasswordsBubbleGtk()
Davatar_menu_item_gtk.h37 GtkThemeService* theme_service);
70 void Init(GtkThemeService* theme_service);
Davatar_menu_item_gtk.cc49 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()
Dzoom_bubble_gtk.cc93 GtkThemeService* theme_service = in ZoomBubbleGtk() local
107 label_ = theme_service->BuildLabel(percentage_text, ui::kGdkBlack); in ZoomBubbleGtk()
137 theme_service, NULL); in ZoomBubbleGtk()
Dthrobber_gtk.cc22 ThrobberGtk::ThrobberGtk(GtkThemeService* theme_service) in ThrobberGtk() argument
23 : theme_service_(theme_service), in ThrobberGtk()
Dpassword_generation_bubble_gtk.cc89 GtkThemeService* theme_service = GtkThemeService::GetFrom( in PasswordGenerationBubbleGtk() local
99 theme_service, in PasswordGenerationBubbleGtk()
Dtab_modal_confirm_dialog_gtk.cc61 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/
Dpermission_selector.cc40 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()
Dwebsite_settings_popup_gtk.cc67 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/
Dsearch_terms_data.cc208 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/
Dgtk_theme_installed_infobar_delegate.cc20 theme_service()->SetNativeTheme(); in Cancel()
/external/chromium_org/chrome/browser/ui/gtk/tabs/
Dtab_renderer_gtk.h55 explicit Data(GtkThemeService* theme_service);
63 explicit LoadingAnimation(GtkThemeService* theme_service);
101 explicit TabRendererGtk(GtkThemeService* theme_service);

1234