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

Side by Side Diff: Source/core/css/CSSPropertySourceData.h

Issue 143323014: *** DO NOT LAND *** Attempt to understand Regions complexity Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSPropertyNames.in ('k') | Source/core/css/CSSRegionRule.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 /* 1 /*
2 * Copyright (c) 2010 Google Inc. All rights reserved. 2 * Copyright (c) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 struct CSSRuleSourceData : public RefCounted<CSSRuleSourceData> { 87 struct CSSRuleSourceData : public RefCounted<CSSRuleSourceData> {
88 enum Type { 88 enum Type {
89 UNKNOWN_RULE, 89 UNKNOWN_RULE,
90 STYLE_RULE, 90 STYLE_RULE,
91 CHARSET_RULE, 91 CHARSET_RULE,
92 IMPORT_RULE, 92 IMPORT_RULE,
93 MEDIA_RULE, 93 MEDIA_RULE,
94 FONT_FACE_RULE, 94 FONT_FACE_RULE,
95 PAGE_RULE, 95 PAGE_RULE,
96 KEYFRAMES_RULE, 96 KEYFRAMES_RULE,
97 REGION_RULE,
98 VIEWPORT_RULE, 97 VIEWPORT_RULE,
99 SUPPORTS_RULE, 98 SUPPORTS_RULE,
100 FILTER_RULE 99 FILTER_RULE
101 }; 100 };
102 101
103 static PassRefPtr<CSSRuleSourceData> create(Type type) 102 static PassRefPtr<CSSRuleSourceData> create(Type type)
104 { 103 {
105 return adoptRef(new CSSRuleSourceData(type)); 104 return adoptRef(new CSSRuleSourceData(type));
106 } 105 }
107 106
(...skipping 23 matching lines...) Expand all
131 // Only for CSSStyleRules, CSSFontFaceRules, and CSSPageRules. 130 // Only for CSSStyleRules, CSSFontFaceRules, and CSSPageRules.
132 RefPtr<CSSStyleSourceData> styleSourceData; 131 RefPtr<CSSStyleSourceData> styleSourceData;
133 132
134 // Only for CSSMediaRules. 133 // Only for CSSMediaRules.
135 RuleSourceDataList childRules; 134 RuleSourceDataList childRules;
136 }; 135 };
137 136
138 } // namespace WebCore 137 } // namespace WebCore
139 138
140 #endif // CSSPropertySourceData_h 139 #endif // CSSPropertySourceData_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSPropertyNames.in ('k') | Source/core/css/CSSRegionRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698