| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 void WebRuntimeFeatures::enableV8IdleTasks(bool enable) | 303 void WebRuntimeFeatures::enableV8IdleTasks(bool enable) |
| 304 { | 304 { |
| 305 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); | 305 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); |
| 306 } | 306 } |
| 307 | 307 |
| 308 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable) | 308 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable) |
| 309 { | 309 { |
| 310 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); | 310 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); |
| 311 } | 311 } |
| 312 | 312 |
| 313 void WebRuntimeFeatures::enableReloadwithoutSubResourceCacheRevalidation(bool en
able) |
| 314 { |
| 315 RuntimeEnabledFeatures::setReloadwithoutSubResourceCacheRevalidationEnabled(
enable); |
| 316 } |
| 317 |
| 313 void WebRuntimeFeatures::enablePushMessaging(bool enable) | 318 void WebRuntimeFeatures::enablePushMessaging(bool enable) |
| 314 { | 319 { |
| 315 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); | 320 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); |
| 316 } | 321 } |
| 317 | 322 |
| 318 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable) | 323 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable) |
| 319 { | 324 { |
| 320 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); | 325 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); |
| 321 } | 326 } |
| 322 | 327 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 { | 384 { |
| 380 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable); | 385 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable); |
| 381 } | 386 } |
| 382 | 387 |
| 383 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) | 388 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) |
| 384 { | 389 { |
| 385 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); | 390 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); |
| 386 } | 391 } |
| 387 | 392 |
| 388 } // namespace blink | 393 } // namespace blink |
| OLD | NEW |