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

Side by Side Diff: Source/WebCore/bindings/v8/custom/V8CSSRuleCustom.cpp

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 23 matching lines...) Expand all
34 #include "V8CSSCharsetRule.h" 34 #include "V8CSSCharsetRule.h"
35 #include "V8CSSFontFaceRule.h" 35 #include "V8CSSFontFaceRule.h"
36 #include "V8CSSHostRule.h" 36 #include "V8CSSHostRule.h"
37 #include "V8CSSImportRule.h" 37 #include "V8CSSImportRule.h"
38 #include "V8CSSMediaRule.h" 38 #include "V8CSSMediaRule.h"
39 #include "V8CSSPageRule.h" 39 #include "V8CSSPageRule.h"
40 #include "V8CSSStyleRule.h" 40 #include "V8CSSStyleRule.h"
41 #if ENABLE(CSS3_CONDITIONAL_RULES) 41 #if ENABLE(CSS3_CONDITIONAL_RULES)
42 #include "V8CSSSupportsRule.h" 42 #include "V8CSSSupportsRule.h"
43 #endif 43 #endif
44 #if ENABLE(CSS_SHADERS)
45 #include "V8WebKitCSSFilterRule.h" 44 #include "V8WebKitCSSFilterRule.h"
46 #endif
47 #include "V8WebKitCSSKeyframeRule.h" 45 #include "V8WebKitCSSKeyframeRule.h"
48 #include "V8WebKitCSSKeyframesRule.h" 46 #include "V8WebKitCSSKeyframesRule.h"
49 #include "V8WebKitCSSRegionRule.h" 47 #include "V8WebKitCSSRegionRule.h"
50 48
51 #if ENABLE(CSS_DEVICE_ADAPTATION) 49 #if ENABLE(CSS_DEVICE_ADAPTATION)
52 #include "V8WebKitCSSViewportRule.h" 50 #include "V8WebKitCSSViewportRule.h"
53 #endif 51 #endif
54 52
55 namespace WebCore { 53 namespace WebCore {
56 54
(...skipping 29 matching lines...) Expand all
86 #if ENABLE(CSS_DEVICE_ADAPTATION) 84 #if ENABLE(CSS_DEVICE_ADAPTATION)
87 case CSSRule::WEBKIT_VIEWPORT_RULE: 85 case CSSRule::WEBKIT_VIEWPORT_RULE:
88 return wrap(static_cast<WebKitCSSViewportRule*>(impl), creationContext, isolate); 86 return wrap(static_cast<WebKitCSSViewportRule*>(impl), creationContext, isolate);
89 #endif 87 #endif
90 case CSSRule::WEBKIT_REGION_RULE: 88 case CSSRule::WEBKIT_REGION_RULE:
91 return wrap(static_cast<WebKitCSSRegionRule*>(impl), creationContext, is olate); 89 return wrap(static_cast<WebKitCSSRegionRule*>(impl), creationContext, is olate);
92 #if ENABLE(SHADOW_DOM) 90 #if ENABLE(SHADOW_DOM)
93 case CSSRule::HOST_RULE: 91 case CSSRule::HOST_RULE:
94 return wrap(static_cast<CSSHostRule*>(impl), creationContext, isolate); 92 return wrap(static_cast<CSSHostRule*>(impl), creationContext, isolate);
95 #endif 93 #endif
96 #if ENABLE(CSS_SHADERS)
97 case CSSRule::WEBKIT_FILTER_RULE: 94 case CSSRule::WEBKIT_FILTER_RULE:
98 return wrap(static_cast<WebKitCSSFilterRule*>(impl), creationContext, is olate); 95 return wrap(static_cast<WebKitCSSFilterRule*>(impl), creationContext, is olate);
99 #endif
100 } 96 }
101 return V8CSSRule::createWrapper(impl, creationContext, isolate); 97 return V8CSSRule::createWrapper(impl, creationContext, isolate);
102 } 98 }
103 99
104 } // namespace WebCore 100 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698