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

Side by Side Diff: Source/core/css/parser/MediaQueryParser.h

Issue 205033007: Revert of Oilpan: Move CSSStyleDeclaration and subclasses to the heap using transistion types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/StylePropertySet.cpp ('k') | Source/core/dom/ElementRareData.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 #ifndef MediaQueryParser_h 5 #ifndef MediaQueryParser_h
6 #define MediaQueryParser_h 6 #define MediaQueryParser_h
7 7
8 #include "core/css/CSSParserValues.h" 8 #include "core/css/CSSParserValues.h"
9 #include "core/css/MediaList.h" 9 #include "core/css/MediaList.h"
10 #include "core/css/MediaQuery.h" 10 #include "core/css/MediaQuery.h"
11 #include "core/css/MediaQueryExp.h" 11 #include "core/css/MediaQueryExp.h"
12 #include "core/css/parser/MediaQueryToken.h" 12 #include "core/css/parser/MediaQueryToken.h"
13 #include "wtf/Vector.h" 13 #include "wtf/Vector.h"
14 #include "wtf/text/WTFString.h" 14 #include "wtf/text/WTFString.h"
15 15
16 namespace WebCore { 16 namespace WebCore {
17 17
18 class MediaQuerySet; 18 class MediaQuerySet;
19 19
20 class MediaQueryData { 20 class MediaQueryData {
21 STACK_ALLOCATED(); 21 ALLOW_ONLY_INLINE_ALLOCATION();
22 private: 22 private:
23 MediaQuery::Restrictor m_restrictor; 23 MediaQuery::Restrictor m_restrictor;
24 String m_mediaType; 24 String m_mediaType;
25 OwnPtrWillBeMember<ExpressionHeapVector> m_expressions; 25 OwnPtrWillBeMember<ExpressionHeapVector> m_expressions;
26 String m_mediaFeature; 26 String m_mediaFeature;
27 CSSParserValueList m_valueList; 27 CSSParserValueList m_valueList;
28 bool m_mediaTypeSet; 28 bool m_mediaTypeSet;
29 29
30 public: 30 public:
31 MediaQueryData(); 31 MediaQueryData();
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 const static State ReadFeatureEnd; 91 const static State ReadFeatureEnd;
92 const static State SkipUntilComma; 92 const static State SkipUntilComma;
93 const static State SkipUntilParenthesis; 93 const static State SkipUntilParenthesis;
94 const static State Done; 94 const static State Done;
95 95
96 }; 96 };
97 97
98 } // namespace WebCore 98 } // namespace WebCore
99 99
100 #endif // MediaQueryParser_h 100 #endif // MediaQueryParser_h
OLDNEW
« no previous file with comments | « Source/core/css/StylePropertySet.cpp ('k') | Source/core/dom/ElementRareData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698