/external/chromium/chrome/browser/ui/gtk/ |
D | reload_button_gtk.cc | 35 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()
|
D | custom_button.cc | 30 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 …]
|
D | browser_toolbar_gtk.cc | 122 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 …]
|
D | page_info_bubble_gtk.cc | 89 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()
|
D | status_bubble_gtk.cc | 41 : 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()
|
D | find_bar_gtk.cc | 179 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 …]
|
D | first_run_bubble.cc | 60 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()
|
D | custom_button.h | 84 GtkThemeService* theme_service_; variable 219 GtkThemeService* theme_service_; variable
|
D | browser_titlebar.cc | 217 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()
|
D | first_run_bubble.h | 69 GtkThemeService* theme_service_; variable
|
D | location_bar_view_gtk.cc | 167 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()
|
D | reload_button_gtk.h | 80 GtkThemeService* theme_service_; variable
|
D | browser_actions_toolbar_gtk.cc | 367 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/ |
D | theme_installed_infobar_delegate.cc | 28 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()
|
D | theme_installed_infobar_delegate.h | 33 ThemeService* theme_service() { return theme_service_; } in theme_service() 53 ThemeService* theme_service_; variable
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
D | bookmark_bar_instructions_gtk.cc | 20 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()
|
D | bookmark_bar_gtk.cc | 137 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 …]
|
D | bookmark_bubble_gtk.cc | 70 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()
|
D | bookmark_bar_instructions_gtk.h | 50 GtkThemeService* theme_service_; variable
|
/external/chromium/chrome/browser/ui/gtk/download/ |
D | download_shelf_gtk.cc | 63 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()
|
D | download_item_gtk.cc | 170 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/ |
D | tab_renderer_gtk.cc | 153 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/ |
D | infobar_gtk.cc | 40 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/ |
D | autocomplete_popup_view_gtk.cc | 280 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()
|
D | autocomplete_edit_view_gtk.cc | 189 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 …]
|