Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Side by Side Diff: Source/core/css/CSSParser.h

Issue 18328028: Enable MQ evaluation off the main thread (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@threaded_mqe_rebase
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/css/CSSParser-in.cpp » ('j') | Source/core/css/MediaQueryExp.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve d. 5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve d.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 StyleRuleBase* createSupportsRule(bool conditionIsSupported, RuleList*); 314 StyleRuleBase* createSupportsRule(bool conditionIsSupported, RuleList*);
315 void markSupportsRuleHeaderStart(); 315 void markSupportsRuleHeaderStart();
316 void markSupportsRuleHeaderEnd(); 316 void markSupportsRuleHeaderEnd();
317 PassRefPtr<CSSRuleSourceData> popSupportsRuleData(); 317 PassRefPtr<CSSRuleSourceData> popSupportsRuleData();
318 StyleRuleBase* createHostRule(RuleList* rules); 318 StyleRuleBase* createHostRule(RuleList* rules);
319 StyleRuleBase* createFilterRule(const CSSParserString&); 319 StyleRuleBase* createFilterRule(const CSSParserString&);
320 320
321 void startDeclarationsForMarginBox(); 321 void startDeclarationsForMarginBox();
322 void endDeclarationsForMarginBox(); 322 void endDeclarationsForMarginBox();
323 323
324 MediaQueryExp* createFloatingMediaQueryExp(const AtomicString&, CSSParserVal ueList*); 324 MediaQueryExp* createFloatingMediaQueryExp(const String&, CSSParserValueList *);
325 PassOwnPtr<MediaQueryExp> sinkFloatingMediaQueryExp(MediaQueryExp*); 325 PassOwnPtr<MediaQueryExp> sinkFloatingMediaQueryExp(MediaQueryExp*);
326 Vector<OwnPtr<MediaQueryExp> >* createFloatingMediaQueryExpList(); 326 Vector<OwnPtr<MediaQueryExp> >* createFloatingMediaQueryExpList();
327 PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > > sinkFloatingMediaQueryExpList(Ve ctor<OwnPtr<MediaQueryExp> >*); 327 PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > > sinkFloatingMediaQueryExpList(Ve ctor<OwnPtr<MediaQueryExp> >*);
328 MediaQuery* createFloatingMediaQuery(MediaQuery::Restrictor, const String&, PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > >); 328 MediaQuery* createFloatingMediaQuery(MediaQuery::Restrictor, const String&, PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > >);
329 MediaQuery* createFloatingMediaQuery(PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > >); 329 MediaQuery* createFloatingMediaQuery(PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > >);
330 MediaQuery* createFloatingNotAllQuery(); 330 MediaQuery* createFloatingNotAllQuery();
331 PassOwnPtr<MediaQuery> sinkFloatingMediaQuery(MediaQuery*); 331 PassOwnPtr<MediaQuery> sinkFloatingMediaQuery(MediaQuery*);
332 332
333 Vector<RefPtr<StyleKeyframe> >* createFloatingKeyframeVector(); 333 Vector<RefPtr<StyleKeyframe> >* createFloatingKeyframeVector();
334 PassOwnPtr<Vector<RefPtr<StyleKeyframe> > > sinkFloatingKeyframeVector(Vecto r<RefPtr<StyleKeyframe> >*); 334 PassOwnPtr<Vector<RefPtr<StyleKeyframe> > > sinkFloatingKeyframeVector(Vecto r<RefPtr<StyleKeyframe> >*);
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 } 742 }
743 743
744 inline int cssyylex(void* yylval, CSSParser* parser) 744 inline int cssyylex(void* yylval, CSSParser* parser)
745 { 745 {
746 return parser->lex(yylval); 746 return parser->lex(yylval);
747 } 747 }
748 748
749 } // namespace WebCore 749 } // namespace WebCore
750 750
751 #endif // CSSParser_h 751 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSParser-in.cpp » ('j') | Source/core/css/MediaQueryExp.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698