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

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

Issue 100463004: Make calls to AtomicString(const String&) explicit in css/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make MediaQuery::mediaType() return an AtomicString Created 7 years 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
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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 StyleRuleBase* createHostRule(RuleList* rules); 338 StyleRuleBase* createHostRule(RuleList* rules);
339 StyleRuleBase* createFilterRule(const CSSParserString&); 339 StyleRuleBase* createFilterRule(const CSSParserString&);
340 340
341 void startDeclarationsForMarginBox(); 341 void startDeclarationsForMarginBox();
342 void endDeclarationsForMarginBox(); 342 void endDeclarationsForMarginBox();
343 343
344 MediaQueryExp* createFloatingMediaQueryExp(const AtomicString&, CSSParserVal ueList*); 344 MediaQueryExp* createFloatingMediaQueryExp(const AtomicString&, CSSParserVal ueList*);
345 PassOwnPtr<MediaQueryExp> sinkFloatingMediaQueryExp(MediaQueryExp*); 345 PassOwnPtr<MediaQueryExp> sinkFloatingMediaQueryExp(MediaQueryExp*);
346 Vector<OwnPtr<MediaQueryExp> >* createFloatingMediaQueryExpList(); 346 Vector<OwnPtr<MediaQueryExp> >* createFloatingMediaQueryExpList();
347 PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > > sinkFloatingMediaQueryExpList(Ve ctor<OwnPtr<MediaQueryExp> >*); 347 PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > > sinkFloatingMediaQueryExpList(Ve ctor<OwnPtr<MediaQueryExp> >*);
348 MediaQuery* createFloatingMediaQuery(MediaQuery::Restrictor, const String&, PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > >); 348 MediaQuery* createFloatingMediaQuery(MediaQuery::Restrictor, const AtomicStr ing&, PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > >);
349 MediaQuery* createFloatingMediaQuery(PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > >); 349 MediaQuery* createFloatingMediaQuery(PassOwnPtr<Vector<OwnPtr<MediaQueryExp> > >);
350 MediaQuery* createFloatingNotAllQuery(); 350 MediaQuery* createFloatingNotAllQuery();
351 PassOwnPtr<MediaQuery> sinkFloatingMediaQuery(MediaQuery*); 351 PassOwnPtr<MediaQuery> sinkFloatingMediaQuery(MediaQuery*);
352 352
353 Vector<RefPtr<StyleKeyframe> >* createFloatingKeyframeVector(); 353 Vector<RefPtr<StyleKeyframe> >* createFloatingKeyframeVector();
354 PassOwnPtr<Vector<RefPtr<StyleKeyframe> > > sinkFloatingKeyframeVector(Vecto r<RefPtr<StyleKeyframe> >*); 354 PassOwnPtr<Vector<RefPtr<StyleKeyframe> > > sinkFloatingKeyframeVector(Vecto r<RefPtr<StyleKeyframe> >*);
355 355
356 void addNamespace(const AtomicString& prefix, const AtomicString& uri); 356 void addNamespace(const AtomicString& prefix, const AtomicString& uri);
357 QualifiedName determineNameInNamespace(const AtomicString& prefix, const Ato micString& localName); 357 QualifiedName determineNameInNamespace(const AtomicString& prefix, const Ato micString& localName);
358 358
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 bool isValidNthToken(const CSSParserString&); 665 bool isValidNthToken(const CSSParserString&);
666 666
667 inline int cssyylex(void* yylval, CSSParser* parser) 667 inline int cssyylex(void* yylval, CSSParser* parser)
668 { 668 {
669 return parser->m_tokenizer.lex(yylval); 669 return parser->m_tokenizer.lex(yylval);
670 } 670 }
671 671
672 } // namespace WebCore 672 } // namespace WebCore
673 673
674 #endif // CSSParser_h 674 #endif // CSSParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698