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

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

Issue 17112022: Remove source line tracking from MediaList and related DevTools code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSGrammar.y.in ('k') | Source/core/css/CSSParser.cpp » ('j') | no next file with comments »
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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 CSSParserSelector* rewriteSpecifiersForShadowDistributed(CSSParserSelector* specifiers, CSSParserSelector* distributedPseudoElementSelector); 336 CSSParserSelector* rewriteSpecifiersForShadowDistributed(CSSParserSelector* specifiers, CSSParserSelector* distributedPseudoElementSelector);
337 337
338 void invalidBlockHit(); 338 void invalidBlockHit();
339 339
340 Vector<OwnPtr<CSSParserSelector> >* reusableSelectorVector() { return &m_reu sableSelectorVector; } 340 Vector<OwnPtr<CSSParserSelector> >* reusableSelectorVector() { return &m_reu sableSelectorVector; }
341 341
342 void setReusableRegionSelectorVector(Vector<OwnPtr<CSSParserSelector> >* sel ectors); 342 void setReusableRegionSelectorVector(Vector<OwnPtr<CSSParserSelector> >* sel ectors);
343 Vector<OwnPtr<CSSParserSelector> >* reusableRegionSelectorVector() { return &m_reusableRegionSelectorVector; } 343 Vector<OwnPtr<CSSParserSelector> >* reusableRegionSelectorVector() { return &m_reusableRegionSelectorVector; }
344 344
345 void updateLastSelectorLineAndPosition(); 345 void updateLastSelectorLineAndPosition();
346 void updateLastMediaLine(MediaQuerySet*);
347 346
348 void clearProperties(); 347 void clearProperties();
349 348
350 PassRefPtr<ImmutableStylePropertySet> createStylePropertySet(); 349 PassRefPtr<ImmutableStylePropertySet> createStylePropertySet();
351 350
352 CSSParserContext m_context; 351 CSSParserContext m_context;
353 352
354 bool m_important; 353 bool m_important;
355 CSSPropertyID m_id; 354 CSSPropertyID m_id;
356 StyleSheetContents* m_styleSheet; 355 StyleSheetContents* m_styleSheet;
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 } 737 }
739 738
740 inline int cssyylex(void* yylval, CSSParser* parser) 739 inline int cssyylex(void* yylval, CSSParser* parser)
741 { 740 {
742 return parser->lex(yylval); 741 return parser->lex(yylval);
743 } 742 }
744 743
745 } // namespace WebCore 744 } // namespace WebCore
746 745
747 #endif // CSSParser_h 746 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSGrammar.y.in ('k') | Source/core/css/CSSParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698