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

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

Issue 13646006: Remove the ENABLE_IFRAME_SEAMLESS compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline. 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 #endif 273 #endif
274 274
275 #if ENABLE(DIALOG_ELEMENT) 275 #if ENABLE(DIALOG_ELEMENT)
276 static bool dialogElementEnabled() { return isDialogElementEnabled; } 276 static bool dialogElementEnabled() { return isDialogElementEnabled; }
277 static void setDialogElementEnabled(bool isEnabled) { isDialogElementEnabled = isEnabled; } 277 static void setDialogElementEnabled(bool isEnabled) { isDialogElementEnabled = isEnabled; }
278 #endif 278 #endif
279 279
280 static bool experimentalContentSecurityPolicyFeaturesEnabled() { return areE xperimentalContentSecurityPolicyFeaturesEnabled; } 280 static bool experimentalContentSecurityPolicyFeaturesEnabled() { return areE xperimentalContentSecurityPolicyFeaturesEnabled; }
281 static void setExperimentalContentSecurityPolicyFeaturesEnabled(bool isEnabl ed) { areExperimentalContentSecurityPolicyFeaturesEnabled = isEnabled; } 281 static void setExperimentalContentSecurityPolicyFeaturesEnabled(bool isEnabl ed) { areExperimentalContentSecurityPolicyFeaturesEnabled = isEnabled; }
282 282
283 #if ENABLE(IFRAME_SEAMLESS)
284 static bool seamlessIFramesEnabled() { return areSeamlessIFramesEnabled; } 283 static bool seamlessIFramesEnabled() { return areSeamlessIFramesEnabled; }
285 static void setSeamlessIFramesEnabled(bool isEnabled) { areSeamlessIFramesEn abled = isEnabled; } 284 static void setSeamlessIFramesEnabled(bool isEnabled) { areSeamlessIFramesEn abled = isEnabled; }
286 #endif
287 285
288 static bool langAttributeAwareFormControlUIEnabled() { return isLangAttribut eAwareFormControlUIEnabled; } 286 static bool langAttributeAwareFormControlUIEnabled() { return isLangAttribut eAwareFormControlUIEnabled; }
289 // The lang attribute support is incomplete and should only be turned on for tests. 287 // The lang attribute support is incomplete and should only be turned on for tests.
290 static void setLangAttributeAwareFormControlUIEnabled(bool isEnabled) { isLa ngAttributeAwareFormControlUIEnabled = isEnabled; } 288 static void setLangAttributeAwareFormControlUIEnabled(bool isEnabled) { isLa ngAttributeAwareFormControlUIEnabled = isEnabled; }
291 289
292 #if ENABLE(REQUEST_AUTOCOMPLETE) 290 #if ENABLE(REQUEST_AUTOCOMPLETE)
293 static bool requestAutocompleteEnabled() { return isRequestAutocompleteEnabl ed; } 291 static bool requestAutocompleteEnabled() { return isRequestAutocompleteEnabl ed; }
294 static void setRequestAutocompleteEnabled(bool isEnabled) { isRequestAutocom pleteEnabled = isEnabled; } 292 static void setRequestAutocompleteEnabled(bool isEnabled) { isRequestAutocom pleteEnabled = isEnabled; }
295 #endif 293 #endif
296 294
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 #if ENABLE(DIALOG_ELEMENT) 392 #if ENABLE(DIALOG_ELEMENT)
395 static bool isDialogElementEnabled; 393 static bool isDialogElementEnabled;
396 #endif 394 #endif
397 395
398 #if ENABLE(REQUEST_AUTOCOMPLETE) 396 #if ENABLE(REQUEST_AUTOCOMPLETE)
399 static bool isRequestAutocompleteEnabled; 397 static bool isRequestAutocompleteEnabled;
400 #endif 398 #endif
401 399
402 static bool areExperimentalContentSecurityPolicyFeaturesEnabled; 400 static bool areExperimentalContentSecurityPolicyFeaturesEnabled;
403 401
404 #if ENABLE(IFRAME_SEAMLESS)
405 static bool areSeamlessIFramesEnabled; 402 static bool areSeamlessIFramesEnabled;
406 #endif
407 403
408 #if ENABLE(FONT_LOAD_EVENTS) 404 #if ENABLE(FONT_LOAD_EVENTS)
409 static bool isFontLoadEventsEnabled; 405 static bool isFontLoadEventsEnabled;
410 #endif 406 #endif
411 407
412 }; 408 };
413 409
414 } // namespace WebCore 410 } // namespace WebCore
415 411
416 #endif // RuntimeEnabledFeatures_h 412 #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