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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp

Issue 2202493002: NOT FOR REVIEW: Fullscreen WIP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 1 month 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 // 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 "core/css/parser/CSSSelectorParser.h" 5 #include "core/css/parser/CSSSelectorParser.h"
6 6
7 #include "core/css/CSSSelectorList.h" 7 #include "core/css/CSSSelectorList.h"
8 #include "core/css/StyleSheetContents.h" 8 #include "core/css/StyleSheetContents.h"
9 #include "core/frame/UseCounter.h" 9 #include "core/frame/UseCounter.h"
10 #include "platform/RuntimeEnabledFeatures.h" 10 #include "platform/RuntimeEnabledFeatures.h"
(...skipping 27 matching lines...) Expand all
38 break; 38 break;
39 case CSSSelector::PseudoContent: 39 case CSSSelector::PseudoContent:
40 feature = UseCounter::CSSSelectorPseudoContent; 40 feature = UseCounter::CSSSelectorPseudoContent;
41 break; 41 break;
42 case CSSSelector::PseudoHost: 42 case CSSSelector::PseudoHost:
43 feature = UseCounter::CSSSelectorPseudoHost; 43 feature = UseCounter::CSSSelectorPseudoHost;
44 break; 44 break;
45 case CSSSelector::PseudoHostContext: 45 case CSSSelector::PseudoHostContext:
46 feature = UseCounter::CSSSelectorPseudoHostContext; 46 feature = UseCounter::CSSSelectorPseudoHostContext;
47 break; 47 break;
48 case CSSSelector::PseudoFullScreenAncestor:
49 feature = UseCounter::CSSSelectorPseudoFullScreenAncestor;
50 break;
51 case CSSSelector::PseudoFullScreen: 48 case CSSSelector::PseudoFullScreen:
52 feature = UseCounter::CSSSelectorPseudoFullScreen; 49 feature = UseCounter::CSSSelectorPseudoFullScreen;
53 break; 50 break;
54 case CSSSelector::PseudoListBox: 51 case CSSSelector::PseudoListBox:
55 if (context.mode() != UASheetMode) 52 if (context.mode() != UASheetMode)
56 feature = UseCounter::CSSSelectorInternalPseudoListBox; 53 feature = UseCounter::CSSSelectorInternalPseudoListBox;
57 break; 54 break;
58 case CSSSelector::PseudoWebKitCustomElement: 55 case CSSSelector::PseudoWebKitCustomElement:
59 if (context.mode() != UASheetMode) { 56 if (context.mode() != UASheetMode) {
60 if (current->value() == "-internal-media-controls-cast-button") 57 if (current->value() == "-internal-media-controls-cast-button")
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 splitAfter->releaseTagHistory(); 847 splitAfter->releaseTagHistory();
851 secondCompound->appendTagHistory( 848 secondCompound->appendTagHistory(
852 secondCompound->pseudoType() == CSSSelector::PseudoSlotted 849 secondCompound->pseudoType() == CSSSelector::PseudoSlotted
853 ? CSSSelector::ShadowSlot 850 ? CSSSelector::ShadowSlot
854 : CSSSelector::ShadowPseudo, 851 : CSSSelector::ShadowPseudo,
855 std::move(compoundSelector)); 852 std::move(compoundSelector));
856 return secondCompound; 853 return secondCompound;
857 } 854 }
858 855
859 } // namespace blink 856 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/html.css ('k') | third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698