Home | History | Annotate | Download | only in glue

Lines Matching refs:profile

17 #include "chrome/browser/profiles/profile.h"
39 bool UseSystemTheme(Profile* profile) {
41 return GtkThemeService::GetFrom(profile)->UseGtkTheme();
88 Profile* profile) {
89 DCHECK(profile);
97 profile->GetExtensionService();
113 ThemeServiceFactory::GetThemeForProfile(profile);
119 bool previous_use_system_theme = UseSystemTheme(profile);
122 ThemeServiceFactory::GetForProfile(profile)->SetTheme(extension);
126 extension, profile);
143 ThemeServiceFactory::GetForProfile(profile)->SetNativeTheme();
145 ThemeServiceFactory::GetForProfile(profile)->UseDefaultTheme();
150 Profile* profile, sync_pb::ThemeSpecifics* theme_specifics) {
152 (ThemeServiceFactory::GetThemeForProfile(profile) ||
153 (UseSystemTheme(profile) &&
155 GetThemeSpecificsFromCurrentTheme(profile, theme_specifics);
158 SetCurrentThemeFromThemeSpecificsIfNecessary(*theme_specifics, profile);
164 Profile* profile,
166 DCHECK(profile);
168 ThemeServiceFactory::GetThemeForProfile(profile);
175 UseSystemTheme(profile),
208 const sync_pb::ThemeSpecifics& theme_specifics, Profile* profile) {
209 DCHECK(profile);
211 GetThemeSpecificsFromCurrentTheme(profile, &old_theme_specifics);
213 SetCurrentThemeFromThemeSpecifics(theme_specifics, profile);