Searched refs:mediaQueries (Results 1 – 14 of 14) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSMediaRule.cpp | 42 MediaQuerySet* CSSMediaRule::mediaQueries() const in mediaQueries() function in WebCore::CSSMediaRule 44 return toStyleRuleMedia(m_groupRule.get())->mediaQueries(); in mediaQueries() 51 if (mediaQueries()) { in cssText() 52 result.append(mediaQueries()->mediaText()); in cssText() 63 if (!mediaQueries()) in media() 66 m_mediaCSSOMWrapper = MediaList::create(mediaQueries(), const_cast<CSSMediaRule*>(this)); in media() 73 if (m_mediaCSSOMWrapper && mediaQueries()) in reattach() 74 m_mediaCSSOMWrapper->reattach(mediaQueries()); in reattach()
|
D | MediaList.cpp | 162 MediaList::MediaList(MediaQuerySet* mediaQueries, CSSStyleSheet* parentSheet) in MediaList() argument 163 : m_mediaQueries(mediaQueries) in MediaList() 169 MediaList::MediaList(MediaQuerySet* mediaQueries, CSSRule* parentRule) in MediaList() argument 170 : m_mediaQueries(mediaQueries) in MediaList() 225 void MediaList::reattach(MediaQuerySet* mediaQueries) in reattach() argument 227 ASSERT(mediaQueries); in reattach() 228 m_mediaQueries = mediaQueries; in reattach() 267 const Vector<OwnPtr<MediaQuery> >& mediaQueries = mediaQuerySet->queryVector(); in reportMediaQueryWarningIfNeeded() local 268 const size_t queryCount = mediaQueries.size(); in reportMediaQueryWarningIfNeeded() 274 const MediaQuery* query = mediaQueries[i].get(); in reportMediaQueryWarningIfNeeded()
|
D | MediaList.h | 70 static PassRefPtr<MediaList> create(MediaQuerySet* mediaQueries, CSSStyleSheet* parentSheet) in create() argument 72 return adoptRef(new MediaList(mediaQueries, parentSheet)); in create() 74 static PassRefPtr<MediaList> create(MediaQuerySet* mediaQueries, CSSRule* parentRule) in create() argument 76 return adoptRef(new MediaList(mediaQueries, parentRule)); in create()
|
D | CSSImportRule.cpp | 55 …m_mediaCSSOMWrapper = MediaList::create(m_importRule->mediaQueries(), const_cast<CSSImportRule*>(t… in media() 66 if (m_importRule->mediaQueries()) { in cssText() 67 String mediaText = m_importRule->mediaQueries()->mediaText(); in cssText()
|
D | CSSMediaRule.h | 48 MediaQuerySet* mediaQueries() const;
|
D | RuleSet.cpp | 381 …if ((!mediaRule->mediaQueries() || medium.eval(mediaRule->mediaQueries(), &m_viewportDependentMedi… in addChildRules() 405 …if (importRule->styleSheet() && (!importRule->mediaQueries() || medium.eval(importRule->mediaQueri… in addRulesFromSheet()
|
D | StyleSheetContents.cpp | 140 if (importRule->mediaQueries()) in parserAppendRule() 151 …portMediaQueryWarningIfNeeded(singleOwnerDocument(), toStyleRuleMedia(rule.get())->mediaQueries()); in parserAppendRule() 236 if (importRule->mediaQueries()) in wrapperInsertRule()
|
D | StyleRuleImport.h | 50 MediaQuerySet* mediaQueries() { return m_mediaQueries.get(); } in mediaQueries() function
|
D | CSSStyleSheet.cpp | 230 void CSSStyleSheet::setMediaQueries(PassRefPtr<MediaQuerySet> mediaQueries) in setMediaQueries() argument 232 m_mediaQueries = mediaQueries; in setMediaQueries()
|
D | CSSStyleSheet.h | 87 MediaQuerySet* mediaQueries() const { return m_mediaQueries.get(); } in mediaQueries() function
|
D | StyleRule.h | 189 MediaQuerySet* mediaQueries() const { return m_mediaQueries.get(); } in mediaQueries() function
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | StyleElement.cpp | 133 RefPtr<MediaQuerySet> mediaQueries = MediaQuerySet::create(media()); in createSheet() local 137 if (screenEval.eval(mediaQueries.get()) || printEval.eval(mediaQueries.get())) { in createSheet() 143 m_sheet->setMediaQueries(mediaQueries.release()); in createSheet()
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
D | HTMLResourcePreloader.cpp | 78 RefPtr<MediaQuerySet> mediaQueries = MediaQuerySet::create(attributeValue); in mediaAttributeMatches() local 80 return mediaQueryEvaluator.eval(mediaQueries.get()); in mediaAttributeMatches()
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
D | StyleResolver.cpp | 202 …if (cssSheet->mediaQueries() && !m_medium->eval(cssSheet->mediaQueries(), &m_viewportDependentMedi… in appendCSSStyleSheet()
|