| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 } | 235 } |
| 236 | 236 |
| 237 void WebRuntimeFeatures::enableSlimmingPaintV2(bool enable) { | 237 void WebRuntimeFeatures::enableSlimmingPaintV2(bool enable) { |
| 238 RuntimeEnabledFeatures::setSlimmingPaintV2Enabled(enable); | 238 RuntimeEnabledFeatures::setSlimmingPaintV2Enabled(enable); |
| 239 } | 239 } |
| 240 | 240 |
| 241 void WebRuntimeFeatures::enableSlimmingPaintInvalidation(bool enable) { | 241 void WebRuntimeFeatures::enableSlimmingPaintInvalidation(bool enable) { |
| 242 RuntimeEnabledFeatures::setSlimmingPaintInvalidationEnabled(enable); | 242 RuntimeEnabledFeatures::setSlimmingPaintInvalidationEnabled(enable); |
| 243 } | 243 } |
| 244 | 244 |
| 245 void WebRuntimeFeatures::enableSpeculativeLaunchServiceWorker(bool enable) { | |
| 246 RuntimeEnabledFeatures::setSpeculativeLaunchServiceWorkerEnabled(enable); | |
| 247 } | |
| 248 | |
| 249 void WebRuntimeFeatures::enableTouchEventFeatureDetection(bool enable) { | 245 void WebRuntimeFeatures::enableTouchEventFeatureDetection(bool enable) { |
| 250 RuntimeEnabledFeatures::setTouchEventFeatureDetectionEnabled(enable); | 246 RuntimeEnabledFeatures::setTouchEventFeatureDetectionEnabled(enable); |
| 251 } | 247 } |
| 252 | 248 |
| 253 void WebRuntimeFeatures::enableTouchpadAndWheelScrollLatching(bool enable) { | 249 void WebRuntimeFeatures::enableTouchpadAndWheelScrollLatching(bool enable) { |
| 254 RuntimeEnabledFeatures::setTouchpadAndWheelScrollLatchingEnabled(enable); | 250 RuntimeEnabledFeatures::setTouchpadAndWheelScrollLatchingEnabled(enable); |
| 255 } | 251 } |
| 256 | 252 |
| 257 void WebRuntimeFeatures::enableWebGLDraftExtensions(bool enable) { | 253 void WebRuntimeFeatures::enableWebGLDraftExtensions(bool enable) { |
| 258 RuntimeEnabledFeatures::setWebGLDraftExtensionsEnabled(enable); | 254 RuntimeEnabledFeatures::setWebGLDraftExtensionsEnabled(enable); |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 | 382 |
| 387 void WebRuntimeFeatures::enableVideoFullscreenDetection(bool enable) { | 383 void WebRuntimeFeatures::enableVideoFullscreenDetection(bool enable) { |
| 388 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); | 384 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); |
| 389 } | 385 } |
| 390 | 386 |
| 391 void WebRuntimeFeatures::enableMediaControlsOverlayPlayButton(bool enable) { | 387 void WebRuntimeFeatures::enableMediaControlsOverlayPlayButton(bool enable) { |
| 392 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); | 388 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); |
| 393 } | 389 } |
| 394 | 390 |
| 395 } // namespace blink | 391 } // namespace blink |
| OLD | NEW |