HomeSort by relevance Sort by last modified time
    Searched full:cacheliveresourcepriority (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/frame/
ImageBitmapTest.cpp 104 // Verifies that HTMLImageElements are given an elevated CacheLiveResourcePriority when used to construct an ImageBitmap.
105 // ImageBitmaps that have crop rects outside of the bounds of the HTMLImageElement do not have elevated CacheLiveResourcePriority.
140 ASSERT_EQ(imageNoCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityLow);
141 ASSERT_EQ(imageInteriorCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityLow);
142 ASSERT_EQ(imageExteriorCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityLow);
143 ASSERT_EQ(imageOutsideCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityLow);
153 ASSERT_EQ(imageNoCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityHigh);
154 ASSERT_EQ(imageInteriorCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityHigh);
155 ASSERT_EQ(imageExteriorCrop->cachedImage()->cacheLiveResourcePriority(), Resource::CacheLiveResourcePriorityHigh);
157 // ImageBitmaps that do not contain any of the source image do not elevate CacheLiveResourcePriority
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/fetch/
Resource.h 88 enum CacheLiveResourcePriority {
178 void setCacheLiveResourcePriority(CacheLiveResourcePriority);
179 unsigned cacheLiveResourcePriority() const { return m_cacheLiveResourcePriority; }
352 unsigned m_cacheLiveResourcePriority : 2; // CacheLiveResourcePriority
MemoryCache.cpp 414 LRUList* list = &m_liveDecodedResources[resource->cacheLiveResourcePriority()];
454 LRUList* list = &m_liveDecodedResources[resource->cacheLiveResourcePriority()];
Resource.cpp 365 void Resource::setCacheLiveResourcePriority(CacheLiveResourcePriority priority)
367 if (inCache() && m_inLiveDecodedResourcesList && cacheLiveResourcePriority() != static_cast<unsigned>(priority)) {

Completed in 181 milliseconds