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

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

Issue 13839016: Remove CSS_SHADERS compile-time flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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 /* 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 CHARSET_RULE, 92 CHARSET_RULE,
93 IMPORT_RULE, 93 IMPORT_RULE,
94 MEDIA_RULE, 94 MEDIA_RULE,
95 FONT_FACE_RULE, 95 FONT_FACE_RULE,
96 PAGE_RULE, 96 PAGE_RULE,
97 KEYFRAMES_RULE, 97 KEYFRAMES_RULE,
98 REGION_RULE, 98 REGION_RULE,
99 HOST_RULE, 99 HOST_RULE,
100 VIEWPORT_RULE, 100 VIEWPORT_RULE,
101 SUPPORTS_RULE, 101 SUPPORTS_RULE,
102 #if ENABLE(CSS_SHADERS)
103 FILTER_RULE 102 FILTER_RULE
104 #endif
105 }; 103 };
106 104
107 static PassRefPtr<CSSRuleSourceData> create(Type type) 105 static PassRefPtr<CSSRuleSourceData> create(Type type)
108 { 106 {
109 return adoptRef(new CSSRuleSourceData(type)); 107 return adoptRef(new CSSRuleSourceData(type));
110 } 108 }
111 109
112 static PassRefPtr<CSSRuleSourceData> createUnknown() 110 static PassRefPtr<CSSRuleSourceData> createUnknown()
113 { 111 {
114 return adoptRef(new CSSRuleSourceData(UNKNOWN_RULE)); 112 return adoptRef(new CSSRuleSourceData(UNKNOWN_RULE));
(...skipping 20 matching lines...) Expand all
135 // Only for CSSStyleRules, CSSFontFaceRules, and CSSPageRules. 133 // Only for CSSStyleRules, CSSFontFaceRules, and CSSPageRules.
136 RefPtr<CSSStyleSourceData> styleSourceData; 134 RefPtr<CSSStyleSourceData> styleSourceData;
137 135
138 // Only for CSSMediaRules. 136 // Only for CSSMediaRules.
139 RuleSourceDataList childRules; 137 RuleSourceDataList childRules;
140 }; 138 };
141 139
142 } // namespace WebCore 140 } // namespace WebCore
143 141
144 #endif // CSSPropertySourceData_h 142 #endif // CSSPropertySourceData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698