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

Side by Side Diff: Source/core/css/CSSGrammar.y.in

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 | « no previous file | Source/core/css/CSSParser.h » ('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) 2002-2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2002-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 App le Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 App le Inc. All rights reserved.
4 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) 4 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com)
5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
6 * Copyright (C) 2012 Intel Corporation. All rights reserved. 6 * Copyright (C) 2012 Intel Corporation. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 /* empty */ { 646 /* empty */ {
647 $$ = parser->createMediaQuerySet(); 647 $$ = parser->createMediaQuerySet();
648 } 648 }
649 | media_list 649 | media_list
650 ; 650 ;
651 651
652 media_list: 652 media_list:
653 media_query { 653 media_query {
654 $$ = parser->createMediaQuerySet(); 654 $$ = parser->createMediaQuerySet();
655 $$->addMediaQuery(parser->sinkFloatingMediaQuery($1)); 655 $$->addMediaQuery(parser->sinkFloatingMediaQuery($1));
656 parser->updateLastMediaLine($$);
657 } 656 }
658 | mq_list media_query { 657 | mq_list media_query {
659 $$ = $1; 658 $$ = $1;
660 $$->addMediaQuery(parser->sinkFloatingMediaQuery($2)); 659 $$->addMediaQuery(parser->sinkFloatingMediaQuery($2));
661 parser->updateLastMediaLine($$);
662 } 660 }
663 | mq_list { 661 | mq_list {
664 $$ = $1; 662 $$ = $1;
665 $$->addMediaQuery(parser->sinkFloatingMediaQuery(parser->createFloatingN otAllQuery())); 663 $$->addMediaQuery(parser->sinkFloatingMediaQuery(parser->createFloatingN otAllQuery()));
666 parser->updateLastMediaLine($$);
667 } 664 }
668 ; 665 ;
669 666
670 mq_list: 667 mq_list:
671 media_query ',' maybe_space { 668 media_query ',' maybe_space {
672 $$ = parser->createMediaQuerySet(); 669 $$ = parser->createMediaQuerySet();
673 $$->addMediaQuery(parser->sinkFloatingMediaQuery($1)); 670 $$->addMediaQuery(parser->sinkFloatingMediaQuery($1));
674 } 671 }
675 | mq_list media_query ',' maybe_space { 672 | mq_list media_query ',' maybe_space {
676 $$ = $1; 673 $$ = $1;
(...skipping 1192 matching lines...) Expand 10 before | Expand all | Expand 10 after
1869 1866
1870 rule_error_recovery: 1867 rule_error_recovery:
1871 /* empty */ 1868 /* empty */
1872 | rule_error_recovery error 1869 | rule_error_recovery error
1873 | rule_error_recovery invalid_square_brackets_block 1870 | rule_error_recovery invalid_square_brackets_block
1874 | rule_error_recovery invalid_parentheses_block 1871 | rule_error_recovery invalid_parentheses_block
1875 ; 1872 ;
1876 1873
1877 %% 1874 %%
1878 1875
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698