Home
last modified time | relevance | path

Searched refs:theme_service_ (Results 1 – 25 of 46) sorted by relevance

12

/external/chromium/chrome/browser/ui/gtk/
Dreload_button_gtk.cc35 theme_service_(browser ? in ReloadButtonGtk()
37 reload_(theme_service_, IDR_RELOAD, IDR_RELOAD_P, IDR_RELOAD_H, 0), in ReloadButtonGtk()
38 stop_(theme_service_, IDR_STOP, IDR_STOP_P, IDR_STOP_H, IDR_STOP_D), in ReloadButtonGtk()
60 if (theme_service_) { in ReloadButtonGtk()
61 theme_service_->InitThemesFor(this); in ReloadButtonGtk()
64 Source<ThemeService>(theme_service_)); in ReloadButtonGtk()
136 DCHECK_EQ(provider, theme_service_); in Observe()
197 if (theme_service_ && theme_service_->UseGtkTheme()) in OnExpose()
225 bool use_gtk = theme_service_ && theme_service_->UseGtkTheme(); in UpdateThemeButtons()
Dcustom_button.cc30 theme_service_(theme_provider), in CustomDrawButtonBase()
145 DCHECK(theme_service_); in Observe()
149 theme_service_->GetRTLEnabledPixbufNamed(normal_id_) : NULL); in Observe()
151 theme_service_->GetRTLEnabledPixbufNamed(pressed_id_) : NULL); in Observe()
153 theme_service_->GetRTLEnabledPixbufNamed(hover_id_) : NULL); in Observe()
156 theme_service_->GetRTLEnabledPixbufNamed(disabled_id_) : NULL); in Observe()
224 theme_service_(NULL) { in CustomDrawButton()
240 theme_service_(theme_provider) { in CustomDrawButton()
245 theme_service_->InitThemesFor(this); in CustomDrawButton()
260 theme_service_(theme_provider) { in CustomDrawButton()
[all …]
Dbrowser_toolbar_gtk.cc122 theme_service_ = GtkThemeService::GetFrom(profile); in Init()
133 if (!theme_service_->UseGtkTheme()) in Init()
193 theme_service_->GetRTLEnabledPixbufNamed(IDR_TOOLS)); in Init()
239 theme_service_->InitThemesFor(this); in Init()
318 return theme_service_->GetIconSetForId(idr); in GetIconSetForId()
348 bool use_gtk = theme_service_->UseGtkTheme(); in Observe()
375 theme_service_->GetRTLEnabledPixbufNamed(IDR_TOOLS)); in Observe()
431 bool should_be_rounded = theme_service_->UseGtkTheme() && in UpdateRoundedness()
456 if (theme_service_->UseGtkTheme()) in OnAlignmentExpose()
466 GdkColor color = theme_service_->GetGdkColor( in OnAlignmentExpose()
[all …]
Dpage_info_bubble_gtk.cc89 GtkThemeService* theme_service_; member in __anon5d9539f50111::PageInfoBubbleGtk
113 theme_service_(GtkThemeService::GetFrom(profile)) { in PageInfoBubbleGtk()
134 theme_service_, in PageInfoBubbleGtk()
158 theme_service_->UseGtkTheme()); in Observe()
161 if (theme_service_->UseGtkTheme()) { in Observe()
209 theme_service_->InitThemesFor(this); in InitContents()
Dstatus_bubble_gtk.cc41 : theme_service_(GtkThemeService::GetFrom(profile)), in StatusBubbleGtk()
51 theme_service_->InitThemesFor(this); in StatusBubbleGtk()
281 if (theme_service_->UseGtkTheme()) { in UserChangedTheme()
289 theme_service_->GetGdkColor(ThemeService::COLOR_BOOKMARK_TEXT); in UserChangedTheme()
293 theme_service_->GetGdkColor(ThemeService::COLOR_TOOLBAR); in UserChangedTheme()
298 theme_service_->GetBorderColor()); in UserChangedTheme()
Dfind_bar_gtk.cc179 theme_service_(GtkThemeService::GetFrom(browser->profile())), in FindBarGtk()
238 close_button_.reset(CustomDrawButton::CloseButton(theme_service_)); in InitWidgets()
246 find_next_button_.reset(new CustomDrawButton(theme_service_, in InitWidgets()
256 find_previous_button_.reset(new CustomDrawButton(theme_service_, in InitWidgets()
305 theme_service_->InitThemesFor(this); in InitWidgets()
471 if (theme_service_->UseGtkTheme()) { in Observe()
538 theme_service_->GetColor(ThemeService::COLOR_TAB_TEXT), in Observe()
605 bool use_gtk = theme_service_->UseGtkTheme(); in UpdateMatchLabelAppearance()
815 if (bar->theme_service_->UseGtkTheme()) { in OnContentEventBoxExpose()
842 if (bar->theme_service_->UseGtkTheme()) { in OnExpose()
[all …]
Dfirst_run_bubble.cc60 if (theme_service_->UseGtkTheme()) { in Observe()
78 theme_service_(GtkThemeService::GetFrom(profile_)), in FirstRunBubble()
113 theme_service_, in FirstRunBubble()
122 theme_service_->InitThemesFor(this); in FirstRunBubble()
Dcustom_button.h84 GtkThemeService* theme_service_; variable
219 GtkThemeService* theme_service_; variable
Dbrowser_titlebar.cc217 theme_service_(NULL) { in BrowserTitlebar()
360 theme_service_ = GtkThemeService::GetFrom( in Init()
364 theme_service_->InitThemesFor(this); in Init()
674 if (theme_service_ && theme_service_->UseGtkTheme()) { in UpdateTextColor()
690 frame_color = theme_service_->GetGdkColor( in UpdateTextColor()
693 frame_color = theme_service_->GetGdkColor( in UpdateTextColor()
Dfirst_run_bubble.h69 GtkThemeService* theme_service_; variable
Dlocation_bar_view_gtk.cc167 theme_service_(NULL), in LocationBarViewGtk()
329 theme_service_ = GtkThemeService::GetFrom(profile_); in Init()
330 theme_service_->InitThemesFor(this); in Init()
451 if (theme_service_->UseGtkTheme()) { in Update()
765 if (theme_service_->UseGtkTheme()) { in Observe()
768 GdkColor border_color = theme_service_->GetGdkColor( in Observe()
865 theme_service_->GetPixbufNamed(resource_id)); in UpdateSiteTypeArea()
1089 GetTitle(), theme_service_); in OnIconDragBegin()
1148 theme_service_->GetPixbufNamed( in UpdateStarIcon()
Dreload_button_gtk.h80 GtkThemeService* theme_service_; variable
Dbrowser_actions_toolbar_gtk.cc367 theme_service_(GtkThemeService::GetFrom(browser->profile())), in BrowserActionsToolbarGtk()
383 theme_service_, in BrowserActionsToolbarGtk()
451 theme_service_->InitThemesFor(this); in BrowserActionsToolbarGtk()
480 if (theme_service_->UseGtkTheme()) in Observe()
521 new BrowserActionButton(this, extension, theme_service_)); in CreateButtonForExtension()
/external/chromium/chrome/browser/extensions/
Dtheme_installed_infobar_delegate.cc28 theme_service_(ThemeServiceFactory::GetForProfile(profile_)), in ThemeInstalledInfoBarDelegate()
33 theme_service_->OnInfobarDisplayed(); in ThemeInstalledInfoBarDelegate()
46 theme_service_->OnInfobarDestroyed(); in ~ThemeInstalledInfoBarDelegate()
56 theme_service_->SetTheme(previous_theme); in Cancel()
62 theme_service_->UseDefaultTheme(); in Cancel()
103 if (theme_id_ != theme_service_->GetThemeID()) { in Observe()
Dtheme_installed_infobar_delegate.h33 ThemeService* theme_service() { return theme_service_; } in theme_service()
53 ThemeService* theme_service_; variable
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_bar_instructions_gtk.cc20 theme_service_(GtkThemeService::GetFrom(profile_)) { in BookmarkBarInstructionsGtk()
52 theme_service_->InitThemesFor(this); in BookmarkBarInstructionsGtk()
69 theme_service_->UseGtkTheme()); in UpdateColors()
71 GdkColor bookmark_color = theme_service_->GetGdkColor( in UpdateColors()
73 if (theme_service_->UseGtkTheme()) { in UpdateColors()
83 if (theme_service_->GetColor(ThemeService::COLOR_BOOKMARK_TEXT) == in UpdateColors()
Dbookmark_bar_gtk.cc137 theme_service_(GtkThemeService::GetFrom(profile)), in BookmarkBarGtk()
212 theme_service_->GetGdkColor(ThemeService::COLOR_TOOLBAR); in Init()
248 overflow_button_ = theme_service_->BuildChromeButton(); in Init()
266 GtkWidget* vseparator = theme_service_->CreateToolbarSeparator(); in Init()
272 other_bookmarks_button_ = theme_service_->BuildChromeButton(); in Init()
284 sync_error_button_ = theme_service_->BuildChromeButton(); in Init()
319 if (theme_service_->UseGtkTheme()) { in Show()
490 bookmark_utils::ConfigureButtonForNode(node, model, button, theme_service_); in BookmarkNodeChanged()
523 model_, other_bookmarks_button_, theme_service_); in CreateAllBookmarkButtons()
580 GtkWidget* new_child = theme_service_->UseGtkTheme() ? in SetOverflowButtonAppearance()
[all …]
Dbookmark_bubble_gtk.cc70 theme_service_->UseGtkTheme()); in Observe()
72 if (theme_service_->UseGtkTheme()) { in Observe()
91 theme_service_(GtkThemeService::GetFrom(profile_)), in BookmarkBubbleGtk()
169 theme_service_, in BookmarkBubbleGtk()
193 theme_service_->InitThemesFor(this); in BookmarkBubbleGtk()
Dbookmark_bar_instructions_gtk.h50 GtkThemeService* theme_service_; variable
/external/chromium/chrome/browser/ui/gtk/download/
Ddownload_shelf_gtk.cc63 theme_service_(GtkThemeService::GetFrom(browser->profile())), in DownloadShelfGtk()
112 close_button_.reset(CustomDrawButton::CloseButton(theme_service_)); in DownloadShelfGtk()
143 theme_service_->InitThemesFor(this); in DownloadShelfGtk()
226 GdkColor color = theme_service_->GetGdkColor( in Observe()
230 color = theme_service_->GetBorderColor(); in Observe()
234 GTK_CHROME_LINK_BUTTON(link_button_), theme_service_->UseGtkTheme()); in Observe()
239 bool use_default_color = theme_service_->GetColor( in Observe()
243 GdkColor bookmark_color = theme_service_->GetGdkColor( in Observe()
251 theme_service_->GetColor(ThemeService::COLOR_TAB_TEXT), in Observe()
Ddownload_item_gtk.cc170 theme_service_(GtkThemeService::GetFrom( in DownloadItemGtk()
325 theme_service_->InitThemesFor(this); in DownloadItemGtk()
463 if (theme_service_->UseGtkTheme()) { in Observe()
561 GdkColor color = theme_service_->GetGdkColor( in UpdateNameLabel()
563 gtk_util::SetLabelColor(name_label_, theme_service_->UseGtkTheme() ? in UpdateNameLabel()
574 if (!theme_service_->UseGtkTheme()) { in UpdateStatusLabel()
575 SkColor color = theme_service_->GetColor( in UpdateStatusLabel()
594 gtk_util::SetLabelColor(status_label_, theme_service_->UseGtkTheme() ? in UpdateStatusLabel()
627 if (theme_service_->UseGtkTheme()) { in UpdateDangerWarning()
630 GdkColor color = theme_service_->GetGdkColor( in UpdateDangerWarning()
[all …]
/external/chromium/chrome/browser/ui/gtk/tabs/
Dtab_renderer_gtk.cc153 theme_service_(theme_provider), in LoadingAnimation()
164 theme_service_(NULL), in LoadingAnimation()
205 data_.reset(new Data(theme_service_)); in Observe()
289 theme_service_ = GtkThemeService::GetFrom(contents->profile()); in UpdateData()
397 if (!theme_service_->HasCustomImage(theme_id)) in PaintFaviconArea()
400 SkBitmap* tab_bg = theme_service_->GetBitmapNamed(theme_id); in PaintFaviconArea()
415 SkBitmap* active_bg = theme_service_->GetBitmapNamed(IDR_THEME_TOOLBAR); in PaintFaviconArea()
708 if (theme_service_) { in Layout()
710 theme_service_->GetColor(ThemeService::COLOR_TAB_TEXT); in Layout()
843 if (data_.is_default_favicon && theme_service_->UseGtkTheme()) { in PaintIcon()
[all …]
/external/chromium/chrome/browser/ui/gtk/infobars/
Dinfobar_gtk.cc40 theme_service_(NULL), in InfoBar()
145 if (theme_service_) { in SetThemeProvider()
150 theme_service_ = theme_service; in SetThemeProvider()
272 GdkColor border_color = theme_service_->GetBorderColor(); in OnBackgroundExpose()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_popup_view_gtk.cc280 theme_service_(GtkThemeService::GetFrom(profile)), in AutocompletePopupViewGtk()
317 theme_service_->InitThemesFor(this); in AutocompletePopupViewGtk()
397 if (theme_service_->UseGtkTheme()) { in Observe()
400 border_color_ = theme_service_->GetBorderColor(); in Observe()
522 return theme_service_->GetPixbufNamed(icon); in IconForMatch()
Dautocomplete_edit_view_gtk.cc189 theme_service_(GtkThemeService::GetFrom(profile)), in AutocompleteEditViewGtk()
414 theme_service_->InitThemesFor(this); in Init()
947 bool use_gtk = theme_service_->UseGtkTheme(); in SetBaseColor()
990 theme_service_->get_active_selection_bg_color()); in SetBaseColor()
994 theme_service_->get_active_selection_fg_color()); in SetBaseColor()
998 theme_service_->get_inactive_selection_bg_color()); in SetBaseColor()
1002 theme_service_->get_inactive_selection_fg_color()); in SetBaseColor()
1025 bool use_gtk = theme_service_->UseGtkTheme(); in UpdateInstantViewColors()
1052 theme_service_->get_active_selection_fg_color(); in UpdateInstantViewColors()
1054 theme_service_->get_active_selection_bg_color(); in UpdateInstantViewColors()
[all …]

12