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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 } | 195 } |
196 | 196 |
197 void WebRuntimeFeatures::EnableNavigatorContentUtils(bool enable) { | 197 void WebRuntimeFeatures::EnableNavigatorContentUtils(bool enable) { |
198 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); | 198 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); |
199 } | 199 } |
200 | 200 |
201 void WebRuntimeFeatures::EnableNetworkInformation(bool enable) { | 201 void WebRuntimeFeatures::EnableNetworkInformation(bool enable) { |
202 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable); | 202 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable); |
203 } | 203 } |
204 | 204 |
| 205 void WebRuntimeFeatures::EnableOffMainThreadFetch(bool enable) { |
| 206 RuntimeEnabledFeatures::setOffMainThreadFetchEnabled(enable); |
| 207 } |
| 208 |
205 void WebRuntimeFeatures::EnableOnDeviceChange(bool enable) { | 209 void WebRuntimeFeatures::EnableOnDeviceChange(bool enable) { |
206 RuntimeEnabledFeatures::setOnDeviceChangeEnabled(enable); | 210 RuntimeEnabledFeatures::setOnDeviceChangeEnabled(enable); |
207 } | 211 } |
208 | 212 |
209 void WebRuntimeFeatures::EnableOrientationEvent(bool enable) { | 213 void WebRuntimeFeatures::EnableOrientationEvent(bool enable) { |
210 RuntimeEnabledFeatures::setOrientationEventEnabled(enable); | 214 RuntimeEnabledFeatures::setOrientationEventEnabled(enable); |
211 } | 215 } |
212 | 216 |
213 void WebRuntimeFeatures::EnableOriginTrials(bool enable) { | 217 void WebRuntimeFeatures::EnableOriginTrials(bool enable) { |
214 RuntimeEnabledFeatures::setOriginTrialsEnabled(enable); | 218 RuntimeEnabledFeatures::setOriginTrialsEnabled(enable); |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 | 398 |
395 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { | 399 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { |
396 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); | 400 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); |
397 } | 401 } |
398 | 402 |
399 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { | 403 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { |
400 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); | 404 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); |
401 } | 405 } |
402 | 406 |
403 } // namespace blink | 407 } // namespace blink |
OLD | NEW |