| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 } | 167 } |
| 168 | 168 |
| 169 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) { | 169 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) { |
| 170 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); | 170 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); |
| 171 } | 171 } |
| 172 | 172 |
| 173 void WebRuntimeFeatures::enableNetworkInformation(bool enable) { | 173 void WebRuntimeFeatures::enableNetworkInformation(bool enable) { |
| 174 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable); | 174 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable); |
| 175 } | 175 } |
| 176 | 176 |
| 177 void WebRuntimeFeatures::enableOnDeviceChange(bool enable) { |
| 178 RuntimeEnabledFeatures::setOnDeviceChangeEnabled(enable); |
| 179 } |
| 180 |
| 177 void WebRuntimeFeatures::enableOrientationEvent(bool enable) { | 181 void WebRuntimeFeatures::enableOrientationEvent(bool enable) { |
| 178 RuntimeEnabledFeatures::setOrientationEventEnabled(enable); | 182 RuntimeEnabledFeatures::setOrientationEventEnabled(enable); |
| 179 } | 183 } |
| 180 | 184 |
| 181 void WebRuntimeFeatures::enableOriginTrials(bool enable) { | 185 void WebRuntimeFeatures::enableOriginTrials(bool enable) { |
| 182 RuntimeEnabledFeatures::setOriginTrialsEnabled(enable); | 186 RuntimeEnabledFeatures::setOriginTrialsEnabled(enable); |
| 183 } | 187 } |
| 184 | 188 |
| 185 bool WebRuntimeFeatures::isOriginTrialsEnabled() { | 189 bool WebRuntimeFeatures::isOriginTrialsEnabled() { |
| 186 return RuntimeEnabledFeatures::originTrialsEnabled(); | 190 return RuntimeEnabledFeatures::originTrialsEnabled(); |
| (...skipping 165 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 |