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

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

Issue 2628923006: Deprecate all -internal-media-controls-* currently expose to web contents. (Closed)
Patch Set: fix rebase Created 3 years, 11 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
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 #ifndef CSSSelectorParser_h 5 #ifndef CSSSelectorParser_h
6 #define CSSSelectorParser_h 6 #define CSSSelectorParser_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/css/parser/CSSParserSelector.h" 9 #include "core/css/parser/CSSParserSelector.h"
10 #include "core/css/parser/CSSParserTokenRange.h" 10 #include "core/css/parser/CSSParserTokenRange.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 const AtomicString& determineNamespace(const AtomicString& prefix); 62 const AtomicString& determineNamespace(const AtomicString& prefix);
63 void prependTypeSelectorIfNeeded(const AtomicString& namespacePrefix, 63 void prependTypeSelectorIfNeeded(const AtomicString& namespacePrefix,
64 const AtomicString& elementName, 64 const AtomicString& elementName,
65 CSSParserSelector*); 65 CSSParserSelector*);
66 static std::unique_ptr<CSSParserSelector> addSimpleSelectorToCompound( 66 static std::unique_ptr<CSSParserSelector> addSimpleSelectorToCompound(
67 std::unique_ptr<CSSParserSelector> compoundSelector, 67 std::unique_ptr<CSSParserSelector> compoundSelector,
68 std::unique_ptr<CSSParserSelector> simpleSelector); 68 std::unique_ptr<CSSParserSelector> simpleSelector);
69 static std::unique_ptr<CSSParserSelector> 69 static std::unique_ptr<CSSParserSelector>
70 splitCompoundAtImplicitShadowCrossingCombinator( 70 splitCompoundAtImplicitShadowCrossingCombinator(
71 std::unique_ptr<CSSParserSelector> compoundSelector); 71 std::unique_ptr<CSSParserSelector> compoundSelector);
72 void recordUsageAndDeprecations(const CSSSelectorList&);
72 73
73 Member<const CSSParserContext> m_context; 74 Member<const CSSParserContext> m_context;
74 Member<StyleSheetContents> m_styleSheet; // FIXME: Should be const 75 Member<StyleSheetContents> m_styleSheet; // FIXME: Should be const
75 76
76 bool m_failedParsing = false; 77 bool m_failedParsing = false;
77 bool m_disallowPseudoElements = false; 78 bool m_disallowPseudoElements = false;
78 79
79 class DisallowPseudoElementsScope { 80 class DisallowPseudoElementsScope {
80 STACK_ALLOCATED(); 81 STACK_ALLOCATED();
81 WTF_MAKE_NONCOPYABLE(DisallowPseudoElementsScope); 82 WTF_MAKE_NONCOPYABLE(DisallowPseudoElementsScope);
(...skipping 11 matching lines...) Expand all
93 94
94 private: 95 private:
95 CSSSelectorParser* m_parser; 96 CSSSelectorParser* m_parser;
96 bool m_wasDisallowed; 97 bool m_wasDisallowed;
97 }; 98 };
98 }; 99 };
99 100
100 } // namespace blink 101 } // namespace blink
101 102
102 #endif // CSSSelectorParser_h 103 #endif // CSSSelectorParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698