Home
last modified time | relevance | path

Searched refs:mediaValues (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
DMediaQueryEvaluator.cpp88 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 …]
DMediaQueryEvaluatorTest.cpp102 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/
DHTMLPreloadScanner.cpp97 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()
DHTMLDocumentParser.cpp576 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/
DSizesAttributeParserTest.cpp82 RefPtr<MediaValues> mediaValues = MediaValuesCached::create(data); in TEST() local
85 SizesAttributeParser parser(mediaValues, testCases[i].input); in TEST()
DSizesCalcParserTest.cpp116 RefPtr<MediaValues> mediaValues = MediaValuesCached::create(data); in TEST() local
121 SizesCalcParser calcParser(tokens.begin(), tokens.end(), mediaValues); in TEST()
DSizesAttributeParser.cpp15 SizesAttributeParser::SizesAttributeParser(PassRefPtr<MediaValues> mediaValues, const String& attri… in SizesAttributeParser() argument
16 : m_mediaValues(mediaValues) in SizesAttributeParser()
DSizesCalcParser.cpp13 …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/
DInspectorCSSAgent.cpp1013 …RefPtr<MediaValues> mediaValues = MediaValues::createDynamicIfFrameExists(parentStyleSheet->ownerD… in buildMediaObject() local
1032 if (mediaValues->computeLength(expValue.value, expValue.unit, computedLength)) in buildMediaObject()