Searched refs:theme_service_ (Results 1 - 25 of 101) sorted by relevance

12345

/external/chromium/chrome/browser/extensions/
H A Dtheme_installed_infobar_delegate.cc28 theme_service_(ThemeServiceFactory::GetForProfile(profile_)),
33 theme_service_->OnInfobarDisplayed();
46 theme_service_->OnInfobarDestroyed();
56 theme_service_->SetTheme(previous_theme);
62 theme_service_->UseDefaultTheme();
103 if (theme_id_ != theme_service_->GetThemeID()) {
H A Dtheme_installed_infobar_delegate.h33 ThemeService* theme_service() { return theme_service_; }
53 ThemeService* theme_service_; member in class:ThemeInstalledInfoBarDelegate
/external/chromium_org/chrome/browser/ui/gtk/bookmarks/
H A Dbookmark_bar_instructions_gtk.cc24 theme_service_(GtkThemeService::GetFrom(profile_)) {
37 instructions_link_ = theme_service_->BuildChromeLinkButton(
55 content::Source<ThemeService>(theme_service_));
56 theme_service_->InitThemesFor(this);
72 GdkColor bookmark_color = theme_service_->GetGdkColor(
74 if (theme_service_->UsingNativeTheme()) {
84 if (theme_service_->GetColor(ThemeProperties::COLOR_BOOKMARK_TEXT) ==
H A Dbookmark_bar_instructions_gtk.h42 GtkThemeService* theme_service_; member in class:BookmarkBarInstructionsGtk
/external/chromium/chrome/browser/ui/gtk/bookmarks/
H A Dbookmark_bar_instructions_gtk.cc20 theme_service_(GtkThemeService::GetFrom(profile_)) {
52 theme_service_->InitThemesFor(this);
69 theme_service_->UseGtkTheme());
71 GdkColor bookmark_color = theme_service_->GetGdkColor(
73 if (theme_service_->UseGtkTheme()) {
83 if (theme_service_->GetColor(ThemeService::COLOR_BOOKMARK_TEXT) ==
H A Dbookmark_bar_instructions_gtk.h50 GtkThemeService* theme_service_; member in class:BookmarkBarInstructionsGtk
/external/chromium_org/chrome/browser/extensions/
H A Dtheme_installed_infobar_delegate.cc87 theme_service_(theme_service),
93 content::Source<ThemeService>(theme_service_));
100 theme_service_->OnInfobarDestroyed();
138 theme_service_->SetTheme(previous_theme);
144 theme_service_->SetNativeTheme();
146 theme_service_->UseDefaultTheme();
157 if (theme_id_ != theme_service_->GetThemeID())
/external/chromium_org/chrome/browser/ui/gtk/infobars/
H A Dinfobar_gtk.cc59 theme_service_(NULL),
67 DCHECK(theme_service_);
68 return theme_service_->GetBorderColor();
93 DCHECK(!theme_service_);
94 theme_service_ = GtkThemeService::GetFrom(Profile::FromBrowserContext(
124 close_button_.reset(CustomDrawButton::CloseButtonBar(theme_service_));
138 content::Source<ThemeService>(theme_service_));
185 DCHECK(theme_service_);
186 return theme_service_->BuildLabel(text, ui::kGdkBlack);
190 DCHECK(theme_service_);
[all...]
/external/chromium_org/chrome/browser/ui/gtk/
H A Dthrobber_gtk.cc23 : theme_service_(theme_service),
26 DCHECK(theme_service_);
88 theme_service_->InitThemesFor(this);
90 content::Source<ThemeService>(theme_service_));
94 frames_ = theme_service_->GetImageNamed(IDR_THROBBER);
H A Dcustom_button.cc45 theme_service_(theme_provider),
161 DCHECK(theme_service_);
165 theme_service_->GetRTLEnabledPixbufNamed(normal_id_) : NULL);
167 theme_service_->GetRTLEnabledPixbufNamed(pressed_id_) : NULL);
169 theme_service_->GetRTLEnabledPixbufNamed(hover_id_) : NULL);
172 theme_service_->GetRTLEnabledPixbufNamed(disabled_id_) : NULL);
240 theme_service_(NULL),
257 theme_service_(theme_provider),
263 theme_service_->InitThemesFor(this);
278 theme_service_(theme_provide
[all...]
H A Dreload_button_gtk.cc51 theme_service_(browser ?
53 reload_(theme_service_, IDR_RELOAD, IDR_RELOAD_P, IDR_RELOAD_H, 0),
54 stop_(theme_service_, IDR_STOP, IDR_STOP_P, IDR_STOP_H, IDR_STOP_D),
94 if (theme_service_) {
95 theme_service_->InitThemesFor(this);
98 content::Source<ThemeService>(theme_service_));
173 DCHECK_EQ(provider, theme_service_);
273 if (theme_service_ && theme_service_->UsingNativeTheme())
344 bool use_gtk = theme_service_
[all...]
H A Davatar_menu_bubble_gtk.cc44 theme_service_(GtkThemeService::GetFrom(browser->profile())),
62 theme_service_,
134 this, menu_item, i, theme_service_);
149 new_profile_link_ = theme_service_->BuildChromeLinkButton(
168 this, menu_item, active_index, theme_service_);
184 theme_service_->BuildLabel(std::string(), ui::kGdkBlack);
202 GtkWidget* switch_profile_link = theme_service_->BuildChromeLinkButton(
H A Dbrowser_toolbar_gtk.cc132 theme_service_ = GtkThemeService::GetFrom(profile);
135 content::Source<ThemeService>(theme_service_));
154 if (!theme_service_->UsingNativeTheme())
187 home_.reset(new CustomDrawButton(theme_service_, IDR_HOME, IDR_HOME_P,
220 theme_service_->GetRTLEnabledPixbufNamed(IDR_TOOLS));
221 wrench_menu_button_.reset(new CustomDrawButton(theme_service_, IDR_TOOLS,
270 theme_service_->InitThemesFor(this);
353 return theme_service_->GetIconSetForId(idr);
383 bool use_gtk = theme_service_->UsingNativeTheme();
410 theme_service_
[all...]
H A Dthrobber_gtk.h57 GtkThemeService* theme_service_; member in class:ThrobberGtk
H A Dfullscreen_exit_bubble_gtk.cc35 theme_service_(NULL),
99 theme_service_ = GtkThemeService::GetFrom(browser_->profile());
103 message_label_ = theme_service_->BuildLabel(GetMessage(url_).c_str(),
160 theme_service_->InitThemesFor(this);
162 content::Source<ThemeService>(theme_service_));
272 if (theme_service_->UsingNativeTheme())
H A Davatar_menu_item_gtk.cc53 theme_service_(theme_service),
57 Init(theme_service_);
60 content::Source<ThemeService>(theme_service_));
61 theme_service_->InitThemesFor(this);
142 bool using_native = theme_service_->UsingNativeTheme();
247 status_label_ = theme_service_->BuildLabel(std::string(), ui::kGdkBlack);
259 edit_profile_link_ = theme_service_->BuildChromeLinkButton(
H A Dstatus_bubble_gtk.cc45 : theme_service_(GtkThemeService::GetFrom(profile)),
56 theme_service_->InitThemesFor(this);
58 content::Source<ThemeService>(theme_service_));
294 if (theme_service_->UsingNativeTheme()) {
302 theme_service_->GetGdkColor(ThemeProperties::COLOR_BOOKMARK_TEXT);
306 theme_service_->GetGdkColor(ThemeProperties::COLOR_TOOLBAR);
311 theme_service_->GetBorderColor());
/external/chromium/chrome/browser/ui/gtk/
H A Dreload_button_gtk.cc35 theme_service_(browser ?
37 reload_(theme_service_, IDR_RELOAD, IDR_RELOAD_P, IDR_RELOAD_H, 0),
38 stop_(theme_service_, IDR_STOP, IDR_STOP_P, IDR_STOP_H, IDR_STOP_D),
60 if (theme_service_) {
61 theme_service_->InitThemesFor(this);
64 Source<ThemeService>(theme_service_));
136 DCHECK_EQ(provider, theme_service_);
197 if (theme_service_ && theme_service_->UseGtkTheme())
225 bool use_gtk = theme_service_
[all...]
H A Dcustom_button.cc30 theme_service_(theme_provider),
145 DCHECK(theme_service_);
149 theme_service_->GetRTLEnabledPixbufNamed(normal_id_) : NULL);
151 theme_service_->GetRTLEnabledPixbufNamed(pressed_id_) : NULL);
153 theme_service_->GetRTLEnabledPixbufNamed(hover_id_) : NULL);
156 theme_service_->GetRTLEnabledPixbufNamed(disabled_id_) : NULL);
224 theme_service_(NULL) {
240 theme_service_(theme_provider) {
245 theme_service_->InitThemesFor(this);
260 theme_service_(theme_provide
[all...]
H A Dpage_info_bubble_gtk.cc89 GtkThemeService* theme_service_; member in class:__anon2666::PageInfoBubbleGtk
113 theme_service_(GtkThemeService::GetFrom(profile)) {
134 theme_service_,
158 theme_service_->UseGtkTheme());
161 if (theme_service_->UseGtkTheme()) {
209 theme_service_->InitThemesFor(this);
H A Dbrowser_toolbar_gtk.cc122 theme_service_ = GtkThemeService::GetFrom(profile);
133 if (!theme_service_->UseGtkTheme())
193 theme_service_->GetRTLEnabledPixbufNamed(IDR_TOOLS));
239 theme_service_->InitThemesFor(this);
318 return theme_service_->GetIconSetForId(idr);
348 bool use_gtk = theme_service_->UseGtkTheme();
375 theme_service_->GetRTLEnabledPixbufNamed(IDR_TOOLS));
431 bool should_be_rounded = theme_service_->UseGtkTheme() &&
456 if (theme_service_->UseGtkTheme())
466 GdkColor color = theme_service_
[all...]
/external/chromium_org/chrome/browser/ui/gtk/download/
H A Ddownload_shelf_gtk.cc74 theme_service_(GtkThemeService::GetFrom(browser->profile())),
123 close_button_.reset(CustomDrawButton::CloseButtonBar(theme_service_));
129 link_button_ = theme_service_->BuildChromeLinkButton(
153 theme_service_->InitThemesFor(this);
155 content::Source<ThemeService>(theme_service_));
249 GdkColor color = theme_service_->GetGdkColor(
253 color = theme_service_->GetBorderColor();
259 bool use_default_color = theme_service_->GetColor(
263 GdkColor bookmark_color = theme_service_->GetGdkColor(
271 theme_service_
[all...]
/external/chromium/chrome/browser/ui/gtk/download/
H A Ddownload_shelf_gtk.cc63 theme_service_(GtkThemeService::GetFrom(browser->profile())),
112 close_button_.reset(CustomDrawButton::CloseButton(theme_service_));
143 theme_service_->InitThemesFor(this);
226 GdkColor color = theme_service_->GetGdkColor(
230 color = theme_service_->GetBorderColor();
234 GTK_CHROME_LINK_BUTTON(link_button_), theme_service_->UseGtkTheme());
239 bool use_default_color = theme_service_->GetColor(
243 GdkColor bookmark_color = theme_service_->GetGdkColor(
251 theme_service_->GetColor(ThemeService::COLOR_TAB_TEXT),
/external/chromium_org/chrome/browser/themes/
H A Dtheme_syncable_service.cc43 theme_service_(theme_service),
46 DCHECK(theme_service_);
231 theme_service_->SetTheme(extension);
246 theme_service_->SetNativeTheme();
249 theme_service_->UseDefaultTheme();
256 theme_service_->UsingDefaultTheme() ?
259 GetExtensionById(theme_service_->GetThemeID(), false);
271 if (theme_service_->UsingNativeTheme()) {
273 } else if (theme_service_->UsingDefaultTheme()) {
/external/chromium_org/chrome/browser/ui/gtk/tabs/
H A Dtab_renderer_gtk.cc189 theme_service_(theme_service),
194 content::Source<ThemeService>(theme_service_));
200 theme_service_(NULL),
241 data_.reset(new Data(theme_service_));
312 theme_service_(theme_service),
319 theme_service_->InitThemesFor(this);
321 content::Source<ThemeService>(theme_service_));
345 theme_service_->GetColor(ThemeProperties::COLOR_TAB_TEXT);
347 theme_service_->GetColor(ThemeProperties::COLOR_BACKGROUND_TAB_TEXT);
496 if (!theme_service_
[all...]

Completed in 516 milliseconds

12345