| 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 } | 275 } |
| 276 | 276 |
| 277 void WebRuntimeFeatures::enableV8IdleTasks(bool enable) { | 277 void WebRuntimeFeatures::enableV8IdleTasks(bool enable) { |
| 278 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); | 278 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); |
| 279 } | 279 } |
| 280 | 280 |
| 281 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable) { | 281 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable) { |
| 282 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); | 282 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); |
| 283 } | 283 } |
| 284 | 284 |
| 285 void WebRuntimeFeatures::enableReloadwithoutSubResourceCacheRevalidation( | |
| 286 bool enable) { | |
| 287 RuntimeEnabledFeatures::setReloadwithoutSubResourceCacheRevalidationEnabled( | |
| 288 enable); | |
| 289 } | |
| 290 | |
| 291 void WebRuntimeFeatures::enablePushMessaging(bool enable) { | 285 void WebRuntimeFeatures::enablePushMessaging(bool enable) { |
| 292 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); | 286 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); |
| 293 } | 287 } |
| 294 | 288 |
| 295 void WebRuntimeFeatures::enableWebVR(bool enable) { | 289 void WebRuntimeFeatures::enableWebVR(bool enable) { |
| 296 RuntimeEnabledFeatures::setWebVREnabled(enable); | 290 RuntimeEnabledFeatures::setWebVREnabled(enable); |
| 297 } | 291 } |
| 298 | 292 |
| 299 void WebRuntimeFeatures::enablePresentationAPI(bool enable) { | 293 void WebRuntimeFeatures::enablePresentationAPI(bool enable) { |
| 300 RuntimeEnabledFeatures::setPresentationEnabled(enable); | 294 RuntimeEnabledFeatures::setPresentationEnabled(enable); |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 | 350 |
| 357 void WebRuntimeFeatures::enableBackgroundVideoTrackOptimization(bool enable) { | 351 void WebRuntimeFeatures::enableBackgroundVideoTrackOptimization(bool enable) { |
| 358 RuntimeEnabledFeatures::setBackgroundVideoTrackOptimizationEnabled(enable); | 352 RuntimeEnabledFeatures::setBackgroundVideoTrackOptimizationEnabled(enable); |
| 359 } | 353 } |
| 360 | 354 |
| 361 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { | 355 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { |
| 362 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); | 356 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); |
| 363 } | 357 } |
| 364 | 358 |
| 365 } // namespace blink | 359 } // namespace blink |
| OLD | NEW |