Home
last modified time | relevance | path

Searched refs:MediaQueryEvaluator (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/css/
DMediaQueryEvaluator.h55 class MediaQueryEvaluator {
56 WTF_MAKE_NONCOPYABLE(MediaQueryEvaluator); WTF_MAKE_FAST_ALLOCATED;
62 explicit MediaQueryEvaluator(bool mediaFeatureResult = false);
68 MediaQueryEvaluator(const char* acceptedMediaType, bool mediaFeatureResult = false);
71 explicit MediaQueryEvaluator(LocalFrame*);
74 explicit MediaQueryEvaluator(const MediaValues&);
76 ~MediaQueryEvaluator();
DMediaQueryEvaluatorTest.cpp78 void testMQEvaluator(TestCase* testCases, const MediaQueryEvaluator& mediaQueryEvaluator) in testMQEvaluator()
104 MediaQueryEvaluator mediaQueryEvaluator(*mediaValues); in TEST()
110 MediaQueryEvaluator printMediaQueryEvaluator(*mediaValues); in TEST()
119 MediaQueryEvaluator mediaQueryEvaluator(&pageHolder->frame()); in TEST()
130 MediaQueryEvaluator mediaQueryEvaluator(&pageHolder->frame()); in TEST()
DMediaQueryEvaluator.cpp71 MediaQueryEvaluator::MediaQueryEvaluator(bool mediaFeatureResult) in MediaQueryEvaluator() function in blink::MediaQueryEvaluator
76 MediaQueryEvaluator::MediaQueryEvaluator(const char* acceptedMediaType, bool mediaFeatureResult) in MediaQueryEvaluator() function in blink::MediaQueryEvaluator
82 MediaQueryEvaluator::MediaQueryEvaluator(LocalFrame* frame) in MediaQueryEvaluator() function in blink::MediaQueryEvaluator
88 MediaQueryEvaluator::MediaQueryEvaluator(const MediaValues& mediaValues) in MediaQueryEvaluator() function in blink::MediaQueryEvaluator
94 MediaQueryEvaluator::~MediaQueryEvaluator() in ~MediaQueryEvaluator()
98 const String MediaQueryEvaluator::mediaType() const in mediaType()
109 bool MediaQueryEvaluator::mediaTypeMatch(const String& mediaTypeToMatch) const in mediaTypeMatch()
121 bool MediaQueryEvaluator::eval(const MediaQuery* query, MediaQueryResultList* viewportDependentMedi… in eval()
141 bool MediaQueryEvaluator::eval(const MediaQuerySet* querySet, MediaQueryResultList* viewportDepende… in eval()
645 bool MediaQueryEvaluator::eval(const MediaQueryExp* expr) const in eval()
DMediaQueryMatcher.h32 class MediaQueryEvaluator; variable
63 PassOwnPtr<MediaQueryEvaluator> createEvaluator() const;
66 OwnPtr<MediaQueryEvaluator> m_evaluator;
DCSSDefaultStyleSheets.cpp53 static const MediaQueryEvaluator& screenEval() in screenEval()
55 DEFINE_STATIC_LOCAL(const MediaQueryEvaluator, staticScreenEval, ("screen")); in screenEval()
59 static const MediaQueryEvaluator& printEval() in printEval()
61 DEFINE_STATIC_LOCAL(const MediaQueryEvaluator, staticPrintEval, ("print")); in printEval()
DMediaQueryMatcher.cpp55 PassOwnPtr<MediaQueryEvaluator> MediaQueryMatcher::createEvaluator() const in createEvaluator()
60 return adoptPtr(new MediaQueryEvaluator(m_document->frame())); in createEvaluator()
DRuleSet.h52 class MediaQueryEvaluator; variable
131 …void addRulesFromSheet(StyleSheetContents*, const MediaQueryEvaluator&, AddRuleFlags = RuleHasNoSp…
183 …const WillBeHeapVector<RefPtrWillBeMember<StyleRuleBase> >&, const MediaQueryEvaluator& medium, Ad…
DCSSTestHelper.cpp57 …RuleSet& ruleSet = m_styleSheet->contents()->ensureRuleSet(MediaQueryEvaluator(), RuleHasNoSpecial… in ruleSet()
DStyleMedia.cpp66 MediaQueryEvaluator screenEval(m_frame); in matchMedium()
DStyleSheetContents.h161 RuleSet& ensureRuleSet(const MediaQueryEvaluator&, AddRuleFlags);
DRuleSet.cpp273 …WillBeHeapVector<RefPtrWillBeMember<StyleRuleBase> >& rules, const MediaQueryEvaluator& medium, Ad… in addChildRules()
309 void RuleSet::addRulesFromSheet(StyleSheetContents* sheet, const MediaQueryEvaluator& medium, AddRu… in addRulesFromSheet()
DStyleSheetContents.cpp607 RuleSet& StyleSheetContents::ensureRuleSet(const MediaQueryEvaluator& medium, AddRuleFlags addRuleF… in ensureRuleSet()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DScopedStyleResolver.h40 class MediaQueryEvaluator; variable
66 void addRulesFromSheet(CSSStyleSheet*, const MediaQueryEvaluator&, StyleResolver*);
DStyleResolver.h55 class MediaQueryEvaluator; variable
278 OwnPtr<MediaQueryEvaluator> m_medium;
DScopedStyleResolver.cpp71 void ScopedStyleResolver::addRulesFromSheet(CSSStyleSheet* cssSheet, const MediaQueryEvaluator& med… in addRulesFromSheet()
DStyleResolver.cpp143 m_medium = adoptPtr(new MediaQueryEvaluator(&view->frame())); in StyleResolver()
146 m_medium = adoptPtr(new MediaQueryEvaluator("all")); in StyleResolver()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DStyleElement.cpp168 MediaQueryEvaluator screenEval("screen", true); in createSheet()
169 MediaQueryEvaluator printEval("print", true); in createSheet()
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DSizesAttributeParser.cpp94 MediaQueryEvaluator mediaQueryEvaluator(*m_mediaValues); in mediaConditionMatches()
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLPreloadScanner.cpp100 MediaQueryEvaluator mediaQueryEvaluator(mediaValues); in mediaAttributeMatches()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLLinkElement.cpp697 MediaQueryEvaluator evaluator(frame); in process()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorCSSAgent.cpp1010 …OwnPtr<MediaQueryEvaluator> mediaEvaluator = adoptPtr(new MediaQueryEvaluator(parentStyleSheet->ow… in buildMediaObject()
DInspectorPageAgent.cpp1430 ruleSet->addRulesFromSheet(styleSheet.get(), MediaQueryEvaluator("screen")); in applyViewportStyleOverride()
/external/chromium_org/third_party/WebKit/Source/core/
Dwebcore_remaining.target.linux-mips64.mk189 third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp \
Dwebcore_remaining.target.darwin-x86.mk189 third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp \
Dwebcore_remaining.target.darwin-arm.mk189 third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp \

12