OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 settings()->setImageAnimationPolicy(ImageAnimationPolicyNoAnimation); | 467 settings()->setImageAnimationPolicy(ImageAnimationPolicyNoAnimation); |
468 else | 468 else |
469 exceptionState.throwDOMException(SyntaxError, "The image animation polic
y provided ('" + policy + "') is invalid."); | 469 exceptionState.throwDOMException(SyntaxError, "The image animation polic
y provided ('" + policy + "') is invalid."); |
470 } | 470 } |
471 | 471 |
472 void InternalSettings::setScrollTopLeftInteropEnabled(bool enabled) | 472 void InternalSettings::setScrollTopLeftInteropEnabled(bool enabled) |
473 { | 473 { |
474 RuntimeEnabledFeatures::setScrollTopLeftInteropEnabled(enabled); | 474 RuntimeEnabledFeatures::setScrollTopLeftInteropEnabled(enabled); |
475 } | 475 } |
476 | 476 |
| 477 void InternalSettings::setLinkHeaderEnabled(bool enabled) |
| 478 { |
| 479 RuntimeEnabledFeatures::setLinkHeaderEnabled(enabled); |
| 480 } |
| 481 |
477 void InternalSettings::setDnsPrefetchLogging(bool enabled, ExceptionState& excep
tionState) | 482 void InternalSettings::setDnsPrefetchLogging(bool enabled, ExceptionState& excep
tionState) |
478 { | 483 { |
479 InternalSettingsGuardForSettings(); | 484 InternalSettingsGuardForSettings(); |
480 settings()->setLogDnsPrefetchAndPreconnect(enabled); | 485 settings()->setLogDnsPrefetchAndPreconnect(enabled); |
481 } | 486 } |
482 | 487 |
483 } | 488 } |
OLD | NEW |