Lines Matching refs:type
52 void LoadBitmap(ui::SystemUIResourceManager::ResourceType type,
56 "browser", "SystemUIResourceManagerImpl::LoadBitmap", "type", type);
58 switch (type) {
133 void SystemUIResourceManagerImpl::PreloadResource(ResourceType type) {
134 GetEntry(type);
138 ResourceType type) {
139 return GetEntry(type)->GetUIResourceId();
143 ResourceType type) {
144 DCHECK_GE(type, RESOURCE_TYPE_FIRST);
145 DCHECK_LE(type, RESOURCE_TYPE_LAST);
146 if (!resource_map_[type]) {
147 resource_map_[type].reset(new Entry(ui_resource_provider_));
149 BuildResource(type);
151 return resource_map_[type].get();
154 void SystemUIResourceManagerImpl::BuildResource(ResourceType type) {
155 DCHECK(GetEntry(type)->bitmap().empty());
162 base::Bind(&LoadBitmap, type, bitmap, screen_size);
166 type,
173 ResourceType type,
176 GetEntry(type)->SetBitmap(*bitmap_holder);