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

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

Issue 13497009: Remove ENABLE(FILE_SYSTEM) compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: added CodeGeneratorInspector.py change 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 #if ENABLE(SCRIPTED_SPEECH) 171 #if ENABLE(SCRIPTED_SPEECH)
172 static void setScriptedSpeechEnabled(bool isEnabled) { isScriptedSpeechEnabl ed = isEnabled; } 172 static void setScriptedSpeechEnabled(bool isEnabled) { isScriptedSpeechEnabl ed = isEnabled; }
173 static bool scriptedSpeechEnabled() { return isScriptedSpeechEnabled; } 173 static bool scriptedSpeechEnabled() { return isScriptedSpeechEnabled; }
174 static bool webkitSpeechRecognitionEnabled() { return isScriptedSpeechEnable d; } 174 static bool webkitSpeechRecognitionEnabled() { return isScriptedSpeechEnable d; }
175 static bool webkitSpeechRecognitionErrorEnabled() { return isScriptedSpeechE nabled; } 175 static bool webkitSpeechRecognitionErrorEnabled() { return isScriptedSpeechE nabled; }
176 static bool webkitSpeechRecognitionEventEnabled() { return isScriptedSpeechE nabled; } 176 static bool webkitSpeechRecognitionEventEnabled() { return isScriptedSpeechE nabled; }
177 static bool webkitSpeechGrammarEnabled() { return isScriptedSpeechEnabled; } 177 static bool webkitSpeechGrammarEnabled() { return isScriptedSpeechEnabled; }
178 static bool webkitSpeechGrammarListEnabled() { return isScriptedSpeechEnable d; } 178 static bool webkitSpeechGrammarListEnabled() { return isScriptedSpeechEnable d; }
179 #endif 179 #endif
180 180
181 #if ENABLE(FILE_SYSTEM)
182 static bool fileSystemEnabled(); 181 static bool fileSystemEnabled();
183 static void setFileSystemEnabled(bool isEnabled) { isFileSystemEnabled = isE nabled; } 182 static void setFileSystemEnabled(bool isEnabled) { isFileSystemEnabled = isE nabled; }
184 #endif
185 183
186 #if ENABLE(JAVASCRIPT_I18N_API) 184 #if ENABLE(JAVASCRIPT_I18N_API)
187 static bool javaScriptI18NAPIEnabled(); 185 static bool javaScriptI18NAPIEnabled();
188 static void setJavaScriptI18NAPIEnabled(bool isEnabled) { isJavaScriptI18NAP IEnabled = isEnabled; } 186 static void setJavaScriptI18NAPIEnabled(bool isEnabled) { isJavaScriptI18NAP IEnabled = isEnabled; }
189 #endif 187 #endif
190 188
191 #if ENABLE(MEDIA_STREAM) 189 #if ENABLE(MEDIA_STREAM)
192 static bool mediaStreamEnabled() { return isMediaStreamEnabled; } 190 static bool mediaStreamEnabled() { return isMediaStreamEnabled; }
193 static void setMediaStreamEnabled(bool isEnabled) { isMediaStreamEnabled = i sEnabled; } 191 static void setMediaStreamEnabled(bool isEnabled) { isMediaStreamEnabled = i sEnabled; }
194 static bool webkitGetUserMediaEnabled() { return isMediaStreamEnabled; } 192 static bool webkitGetUserMediaEnabled() { return isMediaStreamEnabled; }
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 static bool isDeviceOrientationEnabled; 303 static bool isDeviceOrientationEnabled;
306 static bool isSpeechInputEnabled; 304 static bool isSpeechInputEnabled;
307 static bool isCanvasPathEnabled; 305 static bool isCanvasPathEnabled;
308 static bool isCSSExclusionsEnabled; 306 static bool isCSSExclusionsEnabled;
309 static bool isCSSRegionsEnabled; 307 static bool isCSSRegionsEnabled;
310 static bool isCSSCompositingEnabled; 308 static bool isCSSCompositingEnabled;
311 WEBCORE_TESTING static bool isLangAttributeAwareFormControlUIEnabled; 309 WEBCORE_TESTING static bool isLangAttributeAwareFormControlUIEnabled;
312 #if ENABLE(SCRIPTED_SPEECH) 310 #if ENABLE(SCRIPTED_SPEECH)
313 static bool isScriptedSpeechEnabled; 311 static bool isScriptedSpeechEnabled;
314 #endif 312 #endif
315 #if ENABLE(FILE_SYSTEM)
316 static bool isFileSystemEnabled; 313 static bool isFileSystemEnabled;
317 #endif
318 314
319 #if ENABLE(JAVASCRIPT_I18N_API) 315 #if ENABLE(JAVASCRIPT_I18N_API)
320 static bool isJavaScriptI18NAPIEnabled; 316 static bool isJavaScriptI18NAPIEnabled;
321 #endif 317 #endif
322 318
323 #if ENABLE(MEDIA_STREAM) 319 #if ENABLE(MEDIA_STREAM)
324 static bool isMediaStreamEnabled; 320 static bool isMediaStreamEnabled;
325 static bool isPeerConnectionEnabled; 321 static bool isPeerConnectionEnabled;
326 #endif 322 #endif
327 323
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 391
396 #if ENABLE(FONT_LOAD_EVENTS) 392 #if ENABLE(FONT_LOAD_EVENTS)
397 static bool isFontLoadEventsEnabled; 393 static bool isFontLoadEventsEnabled;
398 #endif 394 #endif
399 395
400 }; 396 };
401 397
402 } // namespace WebCore 398 } // namespace WebCore
403 399
404 #endif // RuntimeEnabledFeatures_h 400 #endif // RuntimeEnabledFeatures_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698