Home
last modified time | relevance | path

Searched refs:ThemeService (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/chrome/browser/themes/
Dtheme_service.cc53 const char* ThemeService::kDefaultThemeID = "";
96 ThemeService::ThemeService() in ThemeService() function in ThemeService
105 ThemeService::~ThemeService() { in ~ThemeService()
109 void ThemeService::Init(Profile* profile) { in Init()
122 gfx::Image ThemeService::GetImageNamed(int id) const { in GetImageNamed()
135 bool ThemeService::IsSystemThemeDistinctFromDefaultTheme() const { in IsSystemThemeDistinctFromDefaultTheme()
139 bool ThemeService::UsingSystemTheme() const { in UsingSystemTheme()
143 gfx::ImageSkia* ThemeService::GetImageSkiaNamed(int id) const { in GetImageSkiaNamed()
152 SkColor ThemeService::GetColor(int id) const { in GetColor()
202 int ThemeService::GetDisplayProperty(int id) const { in GetDisplayProperty()
[all …]
Dtheme_service_factory.cc23 ThemeService* ThemeServiceFactory::GetForProfile(Profile* profile) { in GetForProfile()
24 return static_cast<ThemeService*>( in GetForProfile()
32 if (id == ThemeService::kDefaultThemeID) in GetThemeForProfile()
53 ThemeService* provider = NULL; in BuildServiceInstanceFor()
57 provider = new ThemeService; in BuildServiceInstanceFor()
86 ThemeService::kDefaultThemeID, in RegisterProfilePrefs()
Dtheme_service.h59 class ThemeService : public base::NonThreadSafe,
67 ThemeService();
68 virtual ~ThemeService();
250 base::WeakPtrFactory<ThemeService> weak_ptr_factory_;
252 DISALLOW_COPY_AND_ASSIGN(ThemeService);
Dtheme_service_unittest.cc97 const CustomThemeSupplier* get_theme_supplier(ThemeService* theme_service) { in get_theme_supplier()
110 ThemeService* theme_service = in TEST_F()
134 ThemeService* theme_service = in TEST_F()
195 ThemeService* theme_service = in TEST_F()
219 content::Source<ThemeService>(theme_service)); in TEST_F()
251 ThemeService* theme_service = in TEST_F()
265 ThemeService* theme_service = in TEST_F()
Dtheme_service_browsertest.cc21 bool UsingCustomTheme(const ThemeService& theme_service) { in UsingCustomTheme()
48 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile); in IN_PROC_BROWSER_TEST_F()
75 ThemeService* theme_service = ThemeServiceFactory::GetForProfile( in IN_PROC_BROWSER_TEST_F()
Dtheme_syncable_service.h17 class ThemeService; variable
27 ThemeService* theme_service);
78 ThemeService* const theme_service_;
Dtheme_service_factory.h13 class ThemeService; variable
27 static ThemeService* GetForProfile(Profile* profile);
Dtheme_service_mac.mm38 NSImage* ThemeService::GetNSImageNamed(int id) const {
88 NSColor* ThemeService::GetNSImageColorNamed(int id) const {
108 NSColor* ThemeService::GetNSColor(int id) const {
126 NSColor* ThemeService::GetNSColorTint(int id) const {
155 NSGradient* ThemeService::GetNSGradient(int id) const {
260 void ThemeService::NotifyPlatformThemeChanged() {
266 void ThemeService::FreePlatformCaches() {
Dtheme_service_aurax11.h12 class ThemeServiceAuraX11 : public ThemeService {
Dtheme_service_aurax11.cc90 return ThemeService::UsingDefaultTheme() && !UsingSystemTheme(); in UsingDefaultTheme()
/external/chromium_org/chrome/browser/sync/test/integration/
Dthemes_helper.cc32 ThemeService* GetThemeService(Profile* profile) { in GetThemeService()
49 return GetThemeID(profile) != ThemeService::kDefaultThemeID; in UsingCustomTheme()
169 base::Callback<bool(ThemeService*)> exit_condition);
187 base::Callback<bool(ThemeService*)> exit_condition_;
195 base::Callback<bool(ThemeService*)> exit_condition) in ThemeConditionChecker()
223 content::Source<ThemeService>(GetThemeService(profile_))); in Wait()
233 bool UsingSystemThemeFunc(ThemeService* theme_service) { in UsingSystemThemeFunc()
238 bool UsingDefaultThemeFunc(ThemeService* theme_service) { in UsingDefaultThemeFunc()
/external/chromium_org/chrome/browser/ui/search/
Dsearch_ui.h10 class ThemeService; variable
15 SkColor GetDetachedBookmarkBarBackgroundColor(ThemeService* theme_service);
18 SkColor GetDetachedBookmarkBarSeparatorColor(ThemeService* theme_service);
Dsearch_ui.cc12 SkColor GetDetachedBookmarkBarBackgroundColor(ThemeService* theme_service) { in GetDetachedBookmarkBarBackgroundColor()
18 SkColor GetDetachedBookmarkBarSeparatorColor(ThemeService* theme_service) { in GetDetachedBookmarkBarSeparatorColor()
/external/chromium_org/chrome/browser/extensions/
Dtheme_installed_infobar_delegate.h18 class ThemeService; variable
38 ThemeService* theme_service,
60 ThemeService* theme_service_;
Dtheme_installed_infobar_delegate.cc51 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile); in Create()
84 ThemeService* theme_service, in ThemeInstalledInfoBarDelegate()
96 content::Source<ThemeService>(theme_service_)); in ThemeInstalledInfoBarDelegate()
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_toolbar_view.h20 class ThemeService; variable
31 - (ThemeService*)themeService;
Dbookmark_button.h15 class ThemeService; variable
130 - (ThemeService*)themeService;
Dbookmark_bar_toolbar_view_unittest.mm43 ThemeService* themeService_;
48 @property (nonatomic, assign) ThemeService* themeService;
/external/chromium_org/chrome/browser/ui/views/frame/
Dopaque_browser_frame_view_linux.h13 class ThemeService; variable
39 ThemeService* theme_service_;
Dbrowser_desktop_window_tree_host_x11.cc23 explicit DesktopThemeProvider(ThemeService* delegate) in DesktopThemeProvider()
57 ThemeService* delegate_;
/external/chromium_org/chrome/browser/search/
Dinstant_service.h29 class ThemeService; variable
133 void OnThemeChanged(ThemeService* theme_service);
Dinstant_service.cc111 content::Source<ThemeService>( in InstantService()
233 OnThemeChanged(content::Source<ThemeService>(source).ptr()); in Observe()
285 void InstantService::OnThemeChanged(ThemeService* theme_service) { in OnThemeChanged()
/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_shelf_view.mm63 ThemeService* themeProvider =
64 static_cast<ThemeService*>([[self window] themeProvider]);
/external/chromium_org/chrome/browser/ui/webui/
Dtheme_handler.cc33 content::Source<ThemeService>( in RegisterMessages()
/external/chromium_org/chrome/browser/ui/cocoa/
Dbackground_gradient_view.mm96 ThemeService* themeProvider =
97 static_cast<ThemeService*>([[self window] themeProvider]);

12