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

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

Issue 2346663004: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 3 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 #include "core/css/parser/CSSParserImpl.h" 5 #include "core/css/parser/CSSParserImpl.h"
6 6
7 #include "core/css/CSSCustomIdentValue.h" 7 #include "core/css/CSSCustomIdentValue.h"
8 #include "core/css/CSSCustomPropertyDeclaration.h" 8 #include "core/css/CSSCustomPropertyDeclaration.h"
9 #include "core/css/CSSKeyframesRule.h" 9 #include "core/css/CSSKeyframesRule.h"
10 #include "core/css/CSSStyleSheet.h" 10 #include "core/css/CSSStyleSheet.h"
11 #include "core/css/StylePropertySet.h" 11 #include "core/css/StylePropertySet.h"
12 #include "core/css/StyleRuleImport.h" 12 #include "core/css/StyleRuleImport.h"
13 #include "core/css/StyleRuleKeyframe.h" 13 #include "core/css/StyleRuleKeyframe.h"
14 #include "core/css/StyleRuleNamespace.h" 14 #include "core/css/StyleRuleNamespace.h"
15 #include "core/css/StyleSheetContents.h" 15 #include "core/css/StyleSheetContents.h"
16 #include "core/css/parser/CSSAtRuleID.h" 16 #include "core/css/parser/CSSAtRuleID.h"
17 #include "core/css/parser/CSSParserObserver.h" 17 #include "core/css/parser/CSSParserObserver.h"
18 #include "core/css/parser/CSSParserObserverWrapper.h" 18 #include "core/css/parser/CSSParserObserverWrapper.h"
19 #include "core/css/parser/CSSParserSelector.h" 19 #include "core/css/parser/CSSParserSelector.h"
20 #include "core/css/parser/CSSPropertyParser.h" 20 #include "core/css/parser/CSSPropertyParser.h"
21 #include "core/css/parser/CSSSelectorParser.h" 21 #include "core/css/parser/CSSSelectorParser.h"
22 #include "core/css/parser/CSSSupportsParser.h" 22 #include "core/css/parser/CSSSupportsParser.h"
23 #include "core/css/parser/CSSTokenizer.h" 23 #include "core/css/parser/CSSTokenizer.h"
24 #include "core/css/parser/CSSVariableParser.h" 24 #include "core/css/parser/CSSVariableParser.h"
25 #include "core/css/parser/MediaQueryParser.h" 25 #include "core/css/parser/MediaQueryParser.h"
26 #include "core/dom/Document.h" 26 #include "core/dom/Document.h"
27 #include "core/dom/Element.h" 27 #include "core/dom/Element.h"
28 #include "core/frame/Deprecation.h" 28 #include "core/frame/Deprecation.h"
29 #include "core/frame/UseCounter.h" 29 #include "core/frame/UseCounter.h"
30 #include "platform/TraceEvent.h" 30 #include "platform/tracing/TraceEvent.h"
31 #include "wtf/PtrUtil.h" 31 #include "wtf/PtrUtil.h"
32 #include <bitset> 32 #include <bitset>
33 #include <memory> 33 #include <memory>
34 34
35 namespace blink { 35 namespace blink {
36 36
37 CSSParserImpl::CSSParserImpl(const CSSParserContext& context, StyleSheetContents * styleSheet) 37 CSSParserImpl::CSSParserImpl(const CSSParserContext& context, StyleSheetContents * styleSheet)
38 : m_context(context) 38 : m_context(context)
39 , m_styleSheet(styleSheet) 39 , m_styleSheet(styleSheet)
40 , m_observerWrapper(nullptr) 40 , m_observerWrapper(nullptr)
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 else 814 else
815 return nullptr; // Parser error, invalid value in keyframe selector 815 return nullptr; // Parser error, invalid value in keyframe selector
816 if (range.atEnd()) 816 if (range.atEnd())
817 return result; 817 return result;
818 if (range.consume().type() != CommaToken) 818 if (range.consume().type() != CommaToken)
819 return nullptr; // Parser error 819 return nullptr; // Parser error
820 } 820 }
821 } 821 }
822 822
823 } // namespace blink 823 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698