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

Side by Side Diff: bindings/v8/RuntimeEnabledFeatures.h

Issue 14295007: Remove the CSS_COMPOSITING define, the CSS blending and compositing (Closed) Base URL: http://src.chromium.org/blink/trunk/Source/
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
« no previous file with comments | « WebKit/chromium/features.gypi ('k') | no next file » | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 #endif 73 #endif
74 74
75 #if ENABLE(CSS_REGIONS) 75 #if ENABLE(CSS_REGIONS)
76 static void setCSSRegionsEnabled(bool isEnabled) { isCSSRegionsEnabled = isE nabled; } 76 static void setCSSRegionsEnabled(bool isEnabled) { isCSSRegionsEnabled = isE nabled; }
77 static bool cssRegionsEnabled() { return isCSSRegionsEnabled; } 77 static bool cssRegionsEnabled() { return isCSSRegionsEnabled; }
78 #else 78 #else
79 static void setCSSRegionsEnabled(bool) { } 79 static void setCSSRegionsEnabled(bool) { }
80 static bool cssRegionsEnabled() { return false; } 80 static bool cssRegionsEnabled() { return false; }
81 #endif 81 #endif
82 82
83 #if ENABLE(CSS_COMPOSITING)
84 static void setCSSCompositingEnabled(bool isEnabled) { isCSSCompositingEnabl ed = isEnabled; } 83 static void setCSSCompositingEnabled(bool isEnabled) { isCSSCompositingEnabl ed = isEnabled; }
85 static bool cssCompositingEnabled() { return isCSSCompositingEnabled; } 84 static bool cssCompositingEnabled() { return isCSSCompositingEnabled; }
86 #else
87 static void setCSSCompositingEnabled(bool) { }
88 static bool cssCompositingEnabled() { return false; }
89 #endif
90 85
91 #if ENABLE(FONT_LOAD_EVENTS) 86 #if ENABLE(FONT_LOAD_EVENTS)
92 static void setFontLoadEventsEnabled(bool isEnabled) { isFontLoadEventsEnabl ed = isEnabled; } 87 static void setFontLoadEventsEnabled(bool isEnabled) { isFontLoadEventsEnabl ed = isEnabled; }
93 static bool fontLoadEventsEnabled() { return isFontLoadEventsEnabled; } 88 static bool fontLoadEventsEnabled() { return isFontLoadEventsEnabled; }
94 #else 89 #else
95 static void setFontLoadEventsEnabled(bool) { } 90 static void setFontLoadEventsEnabled(bool) { }
96 static bool fontLoadEventsEnabled() { return false; } 91 static bool fontLoadEventsEnabled() { return false; }
97 #endif 92 #endif
98 93
99 // Mozilla version 94 // Mozilla version
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 331
337 #if USE(WEBP) 332 #if USE(WEBP)
338 static bool isWebPInAcceptHeaderEnabled; 333 static bool isWebPInAcceptHeaderEnabled;
339 #endif 334 #endif
340 335
341 }; 336 };
342 337
343 } // namespace WebCore 338 } // namespace WebCore
344 339
345 #endif // RuntimeEnabledFeatures_h 340 #endif // RuntimeEnabledFeatures_h
OLDNEW
« no previous file with comments | « WebKit/chromium/features.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698