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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 } | 171 } |
172 | 172 |
173 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) { | 173 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) { |
174 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); | 174 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); |
175 } | 175 } |
176 | 176 |
177 void WebRuntimeFeatures::enableNetworkInformation(bool enable) { | 177 void WebRuntimeFeatures::enableNetworkInformation(bool enable) { |
178 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable); | 178 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable); |
179 } | 179 } |
180 | 180 |
| 181 void WebRuntimeFeatures::enableOnDeviceChange(bool enable) { |
| 182 RuntimeEnabledFeatures::setOnDeviceChangeEnabled(enable); |
| 183 } |
| 184 |
181 void WebRuntimeFeatures::enableOrientationEvent(bool enable) { | 185 void WebRuntimeFeatures::enableOrientationEvent(bool enable) { |
182 RuntimeEnabledFeatures::setOrientationEventEnabled(enable); | 186 RuntimeEnabledFeatures::setOrientationEventEnabled(enable); |
183 } | 187 } |
184 | 188 |
185 void WebRuntimeFeatures::enableOriginTrials(bool enable) { | 189 void WebRuntimeFeatures::enableOriginTrials(bool enable) { |
186 RuntimeEnabledFeatures::setOriginTrialsEnabled(enable); | 190 RuntimeEnabledFeatures::setOriginTrialsEnabled(enable); |
187 } | 191 } |
188 | 192 |
189 bool WebRuntimeFeatures::isOriginTrialsEnabled() { | 193 bool WebRuntimeFeatures::isOriginTrialsEnabled() { |
190 return RuntimeEnabledFeatures::originTrialsEnabled(); | 194 return RuntimeEnabledFeatures::originTrialsEnabled(); |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 | 354 |
351 void WebRuntimeFeatures::enableBackgroundVideoTrackOptimization(bool enable) { | 355 void WebRuntimeFeatures::enableBackgroundVideoTrackOptimization(bool enable) { |
352 RuntimeEnabledFeatures::setBackgroundVideoTrackOptimizationEnabled(enable); | 356 RuntimeEnabledFeatures::setBackgroundVideoTrackOptimizationEnabled(enable); |
353 } | 357 } |
354 | 358 |
355 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { | 359 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { |
356 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); | 360 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); |
357 } | 361 } |
358 | 362 |
359 } // namespace blink | 363 } // namespace blink |
OLD | NEW |