Lines Matching refs:ThemeService
126 const std::set<int>& buttons = ThemeService::GetTintableToolbarButtons();
256 : ThemeService(),
283 // We have to call this because FreePlatformCached() in ~ThemeService
293 ThemeService::Init(profile);
309 return ThemeService::GetBitmapNamed(id);
319 return ThemeService::GetColor(id);
326 return ThemeService::HasCustomImage(id);
331 Source<ThemeService>(this),
338 ThemeService::SetTheme(extension);
344 ThemeService::UseDefaultTheme();
355 return !use_gtk_ && ThemeService::UsingDefaultTheme();
365 ThemeService::Observe(type, source, details);
542 // same reason that ThemeService::GetPixbufImpl() does: so that if one
624 ThemeService::ClearAllThemeData();
632 ThemeService::LoadThemePrefs();
639 ThemeService::NotifyThemeChanged();
655 ThemeService::FreePlatformCaches();
693 SetThemeColorFromGtk(ThemeService::COLOR_CONTROL_BACKGROUND,
695 SetThemeColorFromGtk(ThemeService::COLOR_BUTTON_BACKGROUND,
699 SetThemeColorFromGtk(ThemeService::COLOR_TOOLBAR, &toolbar_color);
702 SetThemeTintFromGtk(ThemeService::TINT_BUTTONS, &button_color);
706 SetThemeColorFromGtk(ThemeService::COLOR_TAB_TEXT, &label_color);
707 SetThemeColorFromGtk(ThemeService::COLOR_BOOKMARK_TEXT, &label_color);
731 colors_[ThemeService::COLOR_BACKGROUND_TAB_TEXT] =
742 SetThemeColorFromGtk(ThemeService::COLOR_NTP_BACKGROUND,
744 SetThemeColorFromGtk(ThemeService::COLOR_NTP_TEXT,
752 SetThemeColorFromGtk(ThemeService::COLOR_NTP_HEADER,
754 SetThemeColorFromGtk(ThemeService::COLOR_NTP_SECTION,
756 SetThemeColorFromGtk(ThemeService::COLOR_NTP_SECTION_TEXT,
766 SetThemeColorFromGtk(ThemeService::COLOR_NTP_LINK,
768 SetThemeColorFromGtk(ThemeService::COLOR_NTP_LINK_UNDERLINE,
770 SetThemeColorFromGtk(ThemeService::COLOR_NTP_SECTION_LINK,
772 SetThemeColorFromGtk(ThemeService::COLOR_NTP_SECTION_LINK_UNDERLINE,
814 ThemeService::COLOR_FRAME,
815 ThemeService::TINT_FRAME);
816 SetThemeTintFromGtk(ThemeService::TINT_BACKGROUND_TAB, &frame_color);
822 ThemeService::COLOR_FRAME_INACTIVE,
823 ThemeService::TINT_FRAME_INACTIVE);
828 GetDefaultTint(ThemeService::TINT_FRAME_INCOGNITO),
829 ThemeService::COLOR_FRAME_INCOGNITO,
830 ThemeService::TINT_FRAME_INCOGNITO);
835 GetDefaultTint(ThemeService::TINT_FRAME_INCOGNITO_INACTIVE),
836 ThemeService::COLOR_FRAME_INCOGNITO_INACTIVE,
837 ThemeService::TINT_FRAME_INCOGNITO_INACTIVE);
944 return GenerateFrameImage(ThemeService::COLOR_FRAME,
947 return GenerateFrameImage(ThemeService::COLOR_FRAME_INACTIVE,
950 return GenerateFrameImage(ThemeService::COLOR_FRAME_INCOGNITO,
954 ThemeService::COLOR_FRAME_INCOGNITO_INACTIVE,
1028 *base_image, GetTint(ThemeService::TINT_BACKGROUND_TAB));
1113 GdkColor bottom_color = GetGdkColor(ThemeService::COLOR_TOOLBAR);