#include "cc/resources/ui_resource_manager.h"
#include <unordered_map>
#include <utility>
#include "base/check.h"
#include "base/containers/contains.h"
#include "cc/resources/scoped_ui_resource.h"
namespace cc {
UIResourceManager::UIResourceManager() : … { … }
UIResourceManager::~UIResourceManager() = default;
UIResourceId UIResourceManager::CreateUIResource(UIResourceClient* client) { … }
void UIResourceManager::DeleteUIResource(UIResourceId uid) { … }
void UIResourceManager::RecreateUIResources() { … }
base::flat_map<UIResourceId, gfx::Size> UIResourceManager::GetUIResourceSizes()
const { … }
std::vector<UIResourceRequest> UIResourceManager::TakeUIResourcesRequests() { … }
UIResourceId UIResourceManager::GetOrCreateUIResource(const SkBitmap& bitmap) { … }
}