| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 void InternalSettings::setExperimentalContentSecurityPolicyFeaturesEnabled(bool
enabled) | 190 void InternalSettings::setExperimentalContentSecurityPolicyFeaturesEnabled(bool
enabled) |
| 191 { | 191 { |
| 192 RuntimeEnabledFeatures::setExperimentalContentSecurityPolicyFeaturesEnabled(
enabled); | 192 RuntimeEnabledFeatures::setExperimentalContentSecurityPolicyFeaturesEnabled(
enabled); |
| 193 } | 193 } |
| 194 | 194 |
| 195 void InternalSettings::setOverlayScrollbarsEnabled(bool enabled) | 195 void InternalSettings::setOverlayScrollbarsEnabled(bool enabled) |
| 196 { | 196 { |
| 197 RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(enabled); | 197 RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(enabled); |
| 198 } | 198 } |
| 199 | 199 |
| 200 // FIXME: Remove this method and touchEventEmulationEnabled setting entirely. |
| 200 void InternalSettings::setTouchEventEmulationEnabled(bool enabled, ExceptionStat
e& exceptionState) | 201 void InternalSettings::setTouchEventEmulationEnabled(bool enabled, ExceptionStat
e& exceptionState) |
| 201 { | 202 { |
| 202 InternalSettingsGuardForSettings(); | 203 InternalSettingsGuardForSettings(); |
| 203 settings()->setTouchEventEmulationEnabled(enabled); | 204 settings()->setTouchEventEmulationEnabled(enabled); |
| 204 } | 205 } |
| 205 | 206 |
| 206 void InternalSettings::setViewportEnabled(bool enabled, ExceptionState& exceptio
nState) | 207 void InternalSettings::setViewportEnabled(bool enabled, ExceptionState& exceptio
nState) |
| 207 { | 208 { |
| 208 InternalSettingsGuardForSettings(); | 209 InternalSettingsGuardForSettings(); |
| 209 settings()->setViewportEnabled(enabled); | 210 settings()->setViewportEnabled(enabled); |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 settings()->setDefaultVideoPosterURL(url); | 358 settings()->setDefaultVideoPosterURL(url); |
| 358 } | 359 } |
| 359 | 360 |
| 360 void InternalSettings::setPasswordGenerationDecorationEnabled(bool enabled, Exce
ptionState& exceptionState) | 361 void InternalSettings::setPasswordGenerationDecorationEnabled(bool enabled, Exce
ptionState& exceptionState) |
| 361 { | 362 { |
| 362 InternalSettingsGuardForSettings(); | 363 InternalSettingsGuardForSettings(); |
| 363 settings()->setPasswordGenerationDecorationEnabled(enabled); | 364 settings()->setPasswordGenerationDecorationEnabled(enabled); |
| 364 } | 365 } |
| 365 | 366 |
| 366 } | 367 } |
| OLD | NEW |