| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 } | 233 } |
| 234 | 234 |
| 235 void WebRuntimeFeatures::EnablePointerEvent(bool enable) { | 235 void WebRuntimeFeatures::EnablePointerEvent(bool enable) { |
| 236 RuntimeEnabledFeatures::SetPointerEventEnabled(enable); | 236 RuntimeEnabledFeatures::SetPointerEventEnabled(enable); |
| 237 } | 237 } |
| 238 | 238 |
| 239 void WebRuntimeFeatures::EnableScriptedSpeech(bool enable) { | 239 void WebRuntimeFeatures::EnableScriptedSpeech(bool enable) { |
| 240 RuntimeEnabledFeatures::SetScriptedSpeechEnabled(enable); | 240 RuntimeEnabledFeatures::SetScriptedSpeechEnabled(enable); |
| 241 } | 241 } |
| 242 | 242 |
| 243 void WebRuntimeFeatures::EnableSkipCompositingSmallScrollers(bool enable) { |
| 244 RuntimeEnabledFeatures::SetSkipCompositingSmallScrollersEnabled(enable); |
| 245 } |
| 246 |
| 243 void WebRuntimeFeatures::EnableSlimmingPaintV2(bool enable) { | 247 void WebRuntimeFeatures::EnableSlimmingPaintV2(bool enable) { |
| 244 RuntimeEnabledFeatures::SetSlimmingPaintV2Enabled(enable); | 248 RuntimeEnabledFeatures::SetSlimmingPaintV2Enabled(enable); |
| 245 } | 249 } |
| 246 | 250 |
| 247 void WebRuntimeFeatures::EnableSlimmingPaintInvalidation(bool enable) { | 251 void WebRuntimeFeatures::EnableSlimmingPaintInvalidation(bool enable) { |
| 248 RuntimeEnabledFeatures::SetSlimmingPaintInvalidationEnabled(enable); | 252 RuntimeEnabledFeatures::SetSlimmingPaintInvalidationEnabled(enable); |
| 249 } | 253 } |
| 250 | 254 |
| 251 void WebRuntimeFeatures::EnableTouchEventFeatureDetection(bool enable) { | 255 void WebRuntimeFeatures::EnableTouchEventFeatureDetection(bool enable) { |
| 252 RuntimeEnabledFeatures::SetTouchEventFeatureDetectionEnabled(enable); | 256 RuntimeEnabledFeatures::SetTouchEventFeatureDetectionEnabled(enable); |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 | 408 |
| 405 void WebRuntimeFeatures::EnableRemotePlaybackBackend(bool enable) { | 409 void WebRuntimeFeatures::EnableRemotePlaybackBackend(bool enable) { |
| 406 RuntimeEnabledFeatures::SetRemotePlaybackBackendEnabled(enable); | 410 RuntimeEnabledFeatures::SetRemotePlaybackBackendEnabled(enable); |
| 407 } | 411 } |
| 408 | 412 |
| 409 void WebRuntimeFeatures::EnableMediaCastOverlayButton(bool enable) { | 413 void WebRuntimeFeatures::EnableMediaCastOverlayButton(bool enable) { |
| 410 RuntimeEnabledFeatures::SetMediaCastOverlayButtonEnabled(enable); | 414 RuntimeEnabledFeatures::SetMediaCastOverlayButtonEnabled(enable); |
| 411 } | 415 } |
| 412 | 416 |
| 413 } // namespace blink | 417 } // namespace blink |
| OLD | NEW |