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

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

Issue 2901393002: Create a new local context class. (Closed)
Patch Set: Add parameter name. Created 3 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
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CSSParserLocalContext_h
6 #define CSSParserLocalContext_h
7
8 #include "platform/wtf/Allocator.h"
9
10 namespace blink {
11
12 // A wrapper class containing all local context when parsing a property.
13 // TODO(jiameng): add info for shorthand properties into this class.
14
15 class CSSParserLocalContext {
16 STACK_ALLOCATED();
17
18 public:
19 CSSParserLocalContext();
20 explicit CSSParserLocalContext(bool use_alias_parsing);
21 bool GetUseAliasParsing();
22
23 private:
24 bool use_alias_parsing_;
25 };
26
27 } // namespace blink
28
29 #endif // CSSParserLocalContext_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/BUILD.gn ('k') | third_party/WebKit/Source/core/css/parser/CSSParserLocalContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698