Searched refs:mediaValues (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | MediaQueryEvaluator.cpp | 88 MediaQueryEvaluator::MediaQueryEvaluator(const MediaValues& mediaValues) in MediaQueryEvaluator() argument 90 , m_mediaValues(mediaValues.copy()) in MediaQueryEvaluator() 189 …FeatureEval(const MediaQueryExpValue& value, MediaFeaturePrefix op, const MediaValues& mediaValues) in colorMediaFeatureEval() argument 192 int bitsPerComponent = mediaValues.colorBitsPerComponent(); in colorMediaFeatureEval() 211 …FeatureEval(const MediaQueryExpValue& value, MediaFeaturePrefix op, const MediaValues& mediaValues) in monochromeMediaFeatureEval() argument 213 if (!mediaValues.monochromeBitsPerComponent()) { in monochromeMediaFeatureEval() 221 return colorMediaFeatureEval(value, op, mediaValues); in monochromeMediaFeatureEval() 224 …diaFeatureEval(const MediaQueryExpValue& value, MediaFeaturePrefix, const MediaValues& mediaValues) in orientationMediaFeatureEval() argument 226 int width = mediaValues.viewportWidth(); in orientationMediaFeatureEval() 227 int height = mediaValues.viewportHeight(); in orientationMediaFeatureEval() [all …]
|
D | MediaQueryEvaluatorTest.cpp | 102 RefPtr<MediaValues> mediaValues = MediaValuesCached::create(data); in TEST() local 104 MediaQueryEvaluator mediaQueryEvaluator(*mediaValues); in TEST() 109 mediaValues = MediaValuesCached::create(data); in TEST() 110 MediaQueryEvaluator printMediaQueryEvaluator(*mediaValues); in TEST()
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
D | HTMLPreloadScanner.cpp | 97 static bool mediaAttributeMatches(const MediaValues& mediaValues, const String& attributeValue) in mediaAttributeMatches() argument 100 MediaQueryEvaluator mediaQueryEvaluator(mediaValues); in mediaAttributeMatches() 106 StartTagScanner(const StringImpl* tagImpl, PassRefPtr<MediaValues> mediaValues) in StartTagScanner() argument 116 , m_mediaValues(mediaValues) in StartTagScanner() 373 …enPreloadScanner::TokenPreloadScanner(const KURL& documentURL, PassRefPtr<MediaValues> mediaValues) in TokenPreloadScanner() argument 378 , m_mediaValues(mediaValues) in TokenPreloadScanner() 489 …ner(const HTMLParserOptions& options, const KURL& documentURL, PassRefPtr<MediaValues> mediaValues) in HTMLPreloadScanner() argument 490 : m_scanner(documentURL, mediaValues) in HTMLPreloadScanner()
|
D | HTMLDocumentParser.cpp | 576 RefPtr<MediaValues> mediaValues = MediaValuesCached::create(*document); in createMediaValues() local 577 ASSERT(mediaValues->isSafeToSendToAnotherThread()); in createMediaValues() 578 return mediaValues; in createMediaValues()
|
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
D | SizesAttributeParserTest.cpp | 82 RefPtr<MediaValues> mediaValues = MediaValuesCached::create(data); in TEST() local 85 SizesAttributeParser parser(mediaValues, testCases[i].input); in TEST()
|
D | SizesCalcParserTest.cpp | 116 RefPtr<MediaValues> mediaValues = MediaValuesCached::create(data); in TEST() local 121 SizesCalcParser calcParser(tokens.begin(), tokens.end(), mediaValues); in TEST()
|
D | SizesAttributeParser.cpp | 15 SizesAttributeParser::SizesAttributeParser(PassRefPtr<MediaValues> mediaValues, const String& attri… in SizesAttributeParser() argument 16 : m_mediaValues(mediaValues) in SizesAttributeParser()
|
D | SizesCalcParser.cpp | 13 …er(MediaQueryTokenIterator start, MediaQueryTokenIterator end, PassRefPtr<MediaValues> mediaValues) in SizesCalcParser() argument 14 : m_mediaValues(mediaValues) in SizesCalcParser()
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | InspectorCSSAgent.cpp | 1013 …RefPtr<MediaValues> mediaValues = MediaValues::createDynamicIfFrameExists(parentStyleSheet->ownerD… in buildMediaObject() local 1032 if (mediaValues->computeLength(expValue.value, expValue.unit, computedLength)) in buildMediaObject()
|