| 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 } | 289 } |
| 290 | 290 |
| 291 void WebRuntimeFeatures::enablePushMessaging(bool enable) { | 291 void WebRuntimeFeatures::enablePushMessaging(bool enable) { |
| 292 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); | 292 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); |
| 293 } | 293 } |
| 294 | 294 |
| 295 void WebRuntimeFeatures::enableWebVR(bool enable) { | 295 void WebRuntimeFeatures::enableWebVR(bool enable) { |
| 296 RuntimeEnabledFeatures::setWebVREnabled(enable); | 296 RuntimeEnabledFeatures::setWebVREnabled(enable); |
| 297 } | 297 } |
| 298 | 298 |
| 299 void WebRuntimeFeatures::disableWebVrGestures(bool disable) { |
| 300 RuntimeEnabledFeatures::setWebVrWithoutUserGesturesEnabled(disable); |
| 301 } |
| 302 |
| 299 void WebRuntimeFeatures::enablePresentationAPI(bool enable) { | 303 void WebRuntimeFeatures::enablePresentationAPI(bool enable) { |
| 300 RuntimeEnabledFeatures::setPresentationEnabled(enable); | 304 RuntimeEnabledFeatures::setPresentationEnabled(enable); |
| 301 } | 305 } |
| 302 | 306 |
| 303 void WebRuntimeFeatures::enableWebFontsInterventionV2With2G(bool enable) { | 307 void WebRuntimeFeatures::enableWebFontsInterventionV2With2G(bool enable) { |
| 304 RuntimeEnabledFeatures::setWebFontsInterventionV2With2GEnabled(enable); | 308 RuntimeEnabledFeatures::setWebFontsInterventionV2With2GEnabled(enable); |
| 305 } | 309 } |
| 306 | 310 |
| 307 void WebRuntimeFeatures::enableWebFontsInterventionV2With3G(bool enable) { | 311 void WebRuntimeFeatures::enableWebFontsInterventionV2With3G(bool enable) { |
| 308 RuntimeEnabledFeatures::setWebFontsInterventionV2With3GEnabled(enable); | 312 RuntimeEnabledFeatures::setWebFontsInterventionV2With3GEnabled(enable); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 bool enable) { | 356 bool enable) { |
| 353 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled( | 357 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled( |
| 354 enable); | 358 enable); |
| 355 } | 359 } |
| 356 | 360 |
| 357 void WebRuntimeFeatures::enableBackgroundVideoTrackOptimization(bool enable) { | 361 void WebRuntimeFeatures::enableBackgroundVideoTrackOptimization(bool enable) { |
| 358 RuntimeEnabledFeatures::setBackgroundVideoTrackOptimizationEnabled(enable); | 362 RuntimeEnabledFeatures::setBackgroundVideoTrackOptimizationEnabled(enable); |
| 359 } | 363 } |
| 360 | 364 |
| 361 } // namespace blink | 365 } // namespace blink |
| OLD | NEW |