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

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

Issue 11519009: Merge 136785 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years 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) 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 252
253 #if ENABLE(DIALOG_ELEMENT) 253 #if ENABLE(DIALOG_ELEMENT)
254 static bool dialogElementEnabled() { return isDialogElementEnabled; } 254 static bool dialogElementEnabled() { return isDialogElementEnabled; }
255 static void setDialogElementEnabled(bool isEnabled) { isDialogElementEnabled = isEnabled; } 255 static void setDialogElementEnabled(bool isEnabled) { isDialogElementEnabled = isEnabled; }
256 #endif 256 #endif
257 257
258 static bool langAttributeAwareFormControlUIEnabled() { return isLangAttribut eAwareFormControlUIEnabled; } 258 static bool langAttributeAwareFormControlUIEnabled() { return isLangAttribut eAwareFormControlUIEnabled; }
259 // The lang attribute support is incomplete and should only be turned on for tests. 259 // The lang attribute support is incomplete and should only be turned on for tests.
260 static void setLangAttributeAwareFormControlUIEnabled(bool isEnabled) { isLa ngAttributeAwareFormControlUIEnabled = isEnabled; } 260 static void setLangAttributeAwareFormControlUIEnabled(bool isEnabled) { isLa ngAttributeAwareFormControlUIEnabled = isEnabled; }
261 261
262 #if ENABLE(WEB_INTENTS)
263 static bool webkitStartActivityEnabled() { return isWebIntentsEnabled; }
264 static bool webkitIntentEnabled() { return isWebIntentsEnabled; }
265 static bool webKitIntentEnabled() { return isWebIntentsEnabled; }
266 static void setWebIntentsEnabled(bool isEnabled) { isWebIntentsEnabled = isE nabled; }
267 #endif
268
262 private: 269 private:
263 // Never instantiate. 270 // Never instantiate.
264 RuntimeEnabledFeatures() { } 271 RuntimeEnabledFeatures() { }
265 272
266 static bool isLocalStorageEnabled; 273 static bool isLocalStorageEnabled;
267 static bool isSessionStorageEnabled; 274 static bool isSessionStorageEnabled;
268 static bool isWebkitNotificationsEnabled; 275 static bool isWebkitNotificationsEnabled;
269 static bool isApplicationCacheEnabled; 276 static bool isApplicationCacheEnabled;
270 static bool isDataTransferItemsEnabled; 277 static bool isDataTransferItemsEnabled;
271 static bool isGeolocationEnabled; 278 static bool isGeolocationEnabled;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 static bool isInputTypeTimeEnabled; 359 static bool isInputTypeTimeEnabled;
353 #endif 360 #endif
354 361
355 #if ENABLE(INPUT_TYPE_WEEK) 362 #if ENABLE(INPUT_TYPE_WEEK)
356 static bool isInputTypeWeekEnabled; 363 static bool isInputTypeWeekEnabled;
357 #endif 364 #endif
358 365
359 #if ENABLE(DIALOG_ELEMENT) 366 #if ENABLE(DIALOG_ELEMENT)
360 static bool isDialogElementEnabled; 367 static bool isDialogElementEnabled;
361 #endif 368 #endif
369
370 #if ENABLE(WEB_INTENTS)
371 static bool isWebIntentsEnabled;
372 #endif
373
362 }; 374 };
363 375
364 } // namespace WebCore 376 } // namespace WebCore
365 377
366 #endif // RuntimeEnabledFeatures_h 378 #endif // RuntimeEnabledFeatures_h
OLDNEW
« no previous file with comments | « Source/WebCore/Modules/intents/NavigatorIntents.idl ('k') | Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698