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/parser/CSSSelectorParser.cpp

Issue 1233503003: Remove the :-webkit-full-screen-document pseudo class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/SelectorChecker.cpp ('k') | Source/core/frame/UseCounter.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "core/css/parser/CSSSelectorParser.h" 6 #include "core/css/parser/CSSSelectorParser.h"
7 7
8 #include "core/css/CSSSelectorList.h" 8 #include "core/css/CSSSelectorList.h"
9 #include "core/css/StyleSheetContents.h" 9 #include "core/css/StyleSheetContents.h"
10 #include "core/frame/UseCounter.h" 10 #include "core/frame/UseCounter.h"
(...skipping 15 matching lines...) Expand all
26 break; 26 break;
27 case CSSSelector::PseudoContent: 27 case CSSSelector::PseudoContent:
28 feature = UseCounter::CSSSelectorPseudoContent; 28 feature = UseCounter::CSSSelectorPseudoContent;
29 break; 29 break;
30 case CSSSelector::PseudoHost: 30 case CSSSelector::PseudoHost:
31 feature = UseCounter::CSSSelectorPseudoHost; 31 feature = UseCounter::CSSSelectorPseudoHost;
32 break; 32 break;
33 case CSSSelector::PseudoHostContext: 33 case CSSSelector::PseudoHostContext:
34 feature = UseCounter::CSSSelectorPseudoHostContext; 34 feature = UseCounter::CSSSelectorPseudoHostContext;
35 break; 35 break;
36 case CSSSelector::PseudoFullScreenDocument:
37 feature = UseCounter::CSSSelectorPseudoFullScreenDocument;
38 break;
39 case CSSSelector::PseudoFullScreenAncestor: 36 case CSSSelector::PseudoFullScreenAncestor:
40 feature = UseCounter::CSSSelectorPseudoFullScreenAncestor; 37 feature = UseCounter::CSSSelectorPseudoFullScreenAncestor;
41 break; 38 break;
42 case CSSSelector::PseudoFullScreen: 39 case CSSSelector::PseudoFullScreen:
43 feature = UseCounter::CSSSelectorPseudoFullScreen; 40 feature = UseCounter::CSSSelectorPseudoFullScreen;
44 break; 41 break;
45 default: 42 default:
46 break; 43 break;
47 } 44 }
48 if (feature != UseCounter::NumberOfFeatures) 45 if (feature != UseCounter::NumberOfFeatures)
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 compoundSelector->insertTagHistory(CSSSelector::SubSelector, simpleSelec tor, relation); 654 compoundSelector->insertTagHistory(CSSSelector::SubSelector, simpleSelec tor, relation);
658 return compoundSelector; 655 return compoundSelector;
659 } 656 }
660 657
661 // All other simple selectors are added to the end of the compound. 658 // All other simple selectors are added to the end of the compound.
662 compoundSelector->appendTagHistory(CSSSelector::SubSelector, simpleSelector) ; 659 compoundSelector->appendTagHistory(CSSSelector::SubSelector, simpleSelector) ;
663 return compoundSelector; 660 return compoundSelector;
664 } 661 }
665 662
666 } // namespace blink 663 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/css/SelectorChecker.cpp ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698