Home
last modified time | relevance | path

Searched refs:theme_pack_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/themes/
Dbrowser_theme_pack_unittest.cc27 theme_pack_(new BrowserThemePack) { in BrowserThemePackTest()
73 theme_pack_->GetColor(it->first, &color); in VerifyColorMap()
85 theme_pack_->BuildColorsFromJSON(value); in LoadColorDictionary()
95 theme_pack_->BuildTintsFromJSON(value); in LoadTintDictionary()
105 theme_pack_->BuildDisplayPropertiesFromJSON(value); in LoadDisplayPropertiesDictionary()
118 theme_pack_->ParseImageNamesFromJSON(value, FilePath(), out_file_paths); in ParseImageNamesDictionary()
121 theme_pack_->BuildSourceImagesArray(*out_file_paths); in ParseImageNamesDictionary()
125 return theme_pack_->LoadRawBitmapsTo(out_file_paths, in LoadRawBitmapsTo()
126 &theme_pack_->prepared_images_); in LoadRawBitmapsTo()
197 scoped_refptr<BrowserThemePack> theme_pack_; member in BrowserThemePackTest
[all …]
Dtheme_service.cc177 : theme_pack_(pack), pack_path_(path) {} in WritePackToDiskTask()
180 if (!theme_pack_->WriteToDisk(pack_path_)) { in Run()
186 scoped_refptr<BrowserThemePack> theme_pack_; member in __anonc78cf6960111::WritePackToDiskTask
228 if (theme_pack_.get()) in GetBitmapNamed()
229 bitmap = theme_pack_->GetBitmapNamed(id); in GetBitmapNamed()
241 if (theme_pack_.get() && theme_pack_->GetColor(id, &color)) in GetColor()
263 if (theme_pack_.get()) in GetDisplayProperty()
264 return theme_pack_->GetDisplayProperty(id, result); in GetDisplayProperty()
283 if (theme_pack_) in HasCustomImage()
284 return theme_pack_->HasCustomImage(id); in HasCustomImage()
[all …]
Dtheme_service_mac.mm113 if (theme_pack_.get() && theme_pack_->GetColor(id, &sk_color)) {
149 if (theme_pack_.get() && theme_pack_->GetTint(id, &tint)) {
Dtheme_service.h288 scoped_refptr<BrowserThemePack> theme_pack_; variable