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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 } | 307 } |
308 | 308 |
309 void WebRuntimeFeatures::enablePushMessaging(bool enable) { | 309 void WebRuntimeFeatures::enablePushMessaging(bool enable) { |
310 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); | 310 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); |
311 } | 311 } |
312 | 312 |
313 void WebRuntimeFeatures::enableWebVR(bool enable) { | 313 void WebRuntimeFeatures::enableWebVR(bool enable) { |
314 RuntimeEnabledFeatures::setWebVREnabled(enable); | 314 RuntimeEnabledFeatures::setWebVREnabled(enable); |
315 } | 315 } |
316 | 316 |
| 317 void WebRuntimeFeatures::enableWebVRExperimentalRendering(bool enable) { |
| 318 RuntimeEnabledFeatures::setWebVRExperimentalRenderingEnabled(enable); |
| 319 } |
| 320 |
317 void WebRuntimeFeatures::enablePresentationAPI(bool enable) { | 321 void WebRuntimeFeatures::enablePresentationAPI(bool enable) { |
318 RuntimeEnabledFeatures::setPresentationEnabled(enable); | 322 RuntimeEnabledFeatures::setPresentationEnabled(enable); |
319 } | 323 } |
320 | 324 |
321 void WebRuntimeFeatures::enableWebFontsInterventionV2With2G(bool enable) { | 325 void WebRuntimeFeatures::enableWebFontsInterventionV2With2G(bool enable) { |
322 RuntimeEnabledFeatures::setWebFontsInterventionV2With2GEnabled(enable); | 326 RuntimeEnabledFeatures::setWebFontsInterventionV2With2GEnabled(enable); |
323 } | 327 } |
324 | 328 |
325 void WebRuntimeFeatures::enableWebFontsInterventionV2With3G(bool enable) { | 329 void WebRuntimeFeatures::enableWebFontsInterventionV2With3G(bool enable) { |
326 RuntimeEnabledFeatures::setWebFontsInterventionV2With3GEnabled(enable); | 330 RuntimeEnabledFeatures::setWebFontsInterventionV2With3GEnabled(enable); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 | 382 |
379 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { | 383 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { |
380 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); | 384 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); |
381 } | 385 } |
382 | 386 |
383 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { | 387 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { |
384 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); | 388 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); |
385 } | 389 } |
386 | 390 |
387 } // namespace blink | 391 } // namespace blink |
OLD | NEW |