Home
last modified time | relevance | path

Searched refs:mediaQueries (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSMediaRule.cpp42 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()
DMediaList.cpp162 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()
DMediaList.h70 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()
DCSSImportRule.cpp55 …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()
DCSSMediaRule.h48 MediaQuerySet* mediaQueries() const;
DRuleSet.cpp381 …if ((!mediaRule->mediaQueries() || medium.eval(mediaRule->mediaQueries(), &m_viewportDependentMedi… in addChildRules()
405 …if (importRule->styleSheet() && (!importRule->mediaQueries() || medium.eval(importRule->mediaQueri… in addRulesFromSheet()
DStyleSheetContents.cpp140 if (importRule->mediaQueries()) in parserAppendRule()
151 …portMediaQueryWarningIfNeeded(singleOwnerDocument(), toStyleRuleMedia(rule.get())->mediaQueries()); in parserAppendRule()
236 if (importRule->mediaQueries()) in wrapperInsertRule()
DStyleRuleImport.h50 MediaQuerySet* mediaQueries() { return m_mediaQueries.get(); } in mediaQueries() function
DCSSStyleSheet.cpp230 void CSSStyleSheet::setMediaQueries(PassRefPtr<MediaQuerySet> mediaQueries) in setMediaQueries() argument
232 m_mediaQueries = mediaQueries; in setMediaQueries()
DCSSStyleSheet.h87 MediaQuerySet* mediaQueries() const { return m_mediaQueries.get(); } in mediaQueries() function
DStyleRule.h189 MediaQuerySet* mediaQueries() const { return m_mediaQueries.get(); } in mediaQueries() function
/external/chromium_org/third_party/WebKit/Source/core/dom/
DStyleElement.cpp133 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/
DHTMLResourcePreloader.cpp78 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/
DStyleResolver.cpp202 …if (cssSheet->mediaQueries() && !m_medium->eval(cssSheet->mediaQueries(), &m_viewportDependentMedi… in appendCSSStyleSheet()