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

Side by Side Diff: Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h

Issue 13685003: Remove support for the LEGACY_CSS_VENDOR_PREFIXES compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | Annotate | Revision Log
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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 static bool mediaStreamEnabled() { return isMediaStreamEnabled; } 194 static bool mediaStreamEnabled() { return isMediaStreamEnabled; }
195 static void setMediaStreamEnabled(bool isEnabled) { isMediaStreamEnabled = i sEnabled; } 195 static void setMediaStreamEnabled(bool isEnabled) { isMediaStreamEnabled = i sEnabled; }
196 static bool webkitGetUserMediaEnabled() { return isMediaStreamEnabled; } 196 static bool webkitGetUserMediaEnabled() { return isMediaStreamEnabled; }
197 static bool webkitMediaStreamEnabled() { return isMediaStreamEnabled; } 197 static bool webkitMediaStreamEnabled() { return isMediaStreamEnabled; }
198 198
199 static bool peerConnectionEnabled() { return isMediaStreamEnabled && isPeerC onnectionEnabled; } 199 static bool peerConnectionEnabled() { return isMediaStreamEnabled && isPeerC onnectionEnabled; }
200 static void setPeerConnectionEnabled(bool isEnabled) { isPeerConnectionEnabl ed = isEnabled; } 200 static void setPeerConnectionEnabled(bool isEnabled) { isPeerConnectionEnabl ed = isEnabled; }
201 static bool webkitRTCPeerConnectionEnabled() { return peerConnectionEnabled( ); } 201 static bool webkitRTCPeerConnectionEnabled() { return peerConnectionEnabled( ); }
202 #endif 202 #endif
203 203
204 #if ENABLE(LEGACY_CSS_VENDOR_PREFIXES)
205 static void setLegacyCSSVendorPrefixesEnabled(bool isEnabled) { isLegacyCSSV endorPrefixesEnabled = isEnabled; }
206 static bool legacyCSSVendorPrefixesEnabled() { return isLegacyCSSVendorPrefi xesEnabled; }
207 #endif
208
209 #if ENABLE(GAMEPAD) 204 #if ENABLE(GAMEPAD)
210 static void setWebkitGetGamepadsEnabled(bool isEnabled) { isGamepadEnabled = isEnabled; } 205 static void setWebkitGetGamepadsEnabled(bool isEnabled) { isGamepadEnabled = isEnabled; }
211 static bool webkitGetGamepadsEnabled() { return isGamepadEnabled; } 206 static bool webkitGetGamepadsEnabled() { return isGamepadEnabled; }
212 #endif 207 #endif
213 208
214 #if ENABLE(QUOTA) 209 #if ENABLE(QUOTA)
215 static bool quotaEnabled() { return isQuotaEnabled; } 210 static bool quotaEnabled() { return isQuotaEnabled; }
216 static void setQuotaEnabled(bool isEnabled) { isQuotaEnabled = isEnabled; } 211 static void setQuotaEnabled(bool isEnabled) { isQuotaEnabled = isEnabled; }
217 #endif 212 #endif
218 213
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 332
338 #if ENABLE(MEDIA_STREAM) 333 #if ENABLE(MEDIA_STREAM)
339 static bool isMediaStreamEnabled; 334 static bool isMediaStreamEnabled;
340 static bool isPeerConnectionEnabled; 335 static bool isPeerConnectionEnabled;
341 #endif 336 #endif
342 337
343 #if ENABLE(GAMEPAD) 338 #if ENABLE(GAMEPAD)
344 static bool isGamepadEnabled; 339 static bool isGamepadEnabled;
345 #endif 340 #endif
346 341
347 #if ENABLE(LEGACY_CSS_VENDOR_PREFIXES)
348 static bool isLegacyCSSVendorPrefixesEnabled;
349 #endif
350
351 #if ENABLE(QUOTA) 342 #if ENABLE(QUOTA)
352 static bool isQuotaEnabled; 343 static bool isQuotaEnabled;
353 #endif 344 #endif
354 345
355 #if ENABLE(FULLSCREEN_API) 346 #if ENABLE(FULLSCREEN_API)
356 static bool isFullScreenAPIEnabled; 347 static bool isFullScreenAPIEnabled;
357 #endif 348 #endif
358 349
359 #if ENABLE(MEDIA_SOURCE) 350 #if ENABLE(MEDIA_SOURCE)
360 static bool isMediaSourceEnabled; 351 static bool isMediaSourceEnabled;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 415
425 #if ENABLE(FONT_LOAD_EVENTS) 416 #if ENABLE(FONT_LOAD_EVENTS)
426 static bool isFontLoadEventsEnabled; 417 static bool isFontLoadEventsEnabled;
427 #endif 418 #endif
428 419
429 }; 420 };
430 421
431 } // namespace WebCore 422 } // namespace WebCore
432 423
433 #endif // RuntimeEnabledFeatures_h 424 #endif // RuntimeEnabledFeatures_h
OLDNEW
« no previous file with comments | « Source/WTF/wtf/FeatureDefines.h ('k') | Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698