| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 void WebRuntimeFeatures::enableNotifications(bool enable) | 166 void WebRuntimeFeatures::enableNotifications(bool enable) |
| 167 { | 167 { |
| 168 RuntimeEnabledFeatures::setNotificationsEnabled(enable); | 168 RuntimeEnabledFeatures::setNotificationsEnabled(enable); |
| 169 } | 169 } |
| 170 | 170 |
| 171 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) | 171 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) |
| 172 { | 172 { |
| 173 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); | 173 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); |
| 174 } | 174 } |
| 175 | 175 |
| 176 void WebRuntimeFeatures::enableNavigationTransitions(bool enable) | |
| 177 { | |
| 178 RuntimeEnabledFeatures::setNavigationTransitionsEnabled(enable); | |
| 179 } | |
| 180 | |
| 181 void WebRuntimeFeatures::enableNetworkInformation(bool enable) | 176 void WebRuntimeFeatures::enableNetworkInformation(bool enable) |
| 182 { | 177 { |
| 183 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable); | 178 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable); |
| 184 } | 179 } |
| 185 | 180 |
| 186 void WebRuntimeFeatures::enableOrientationEvent(bool enable) | 181 void WebRuntimeFeatures::enableOrientationEvent(bool enable) |
| 187 { | 182 { |
| 188 RuntimeEnabledFeatures::setOrientationEventEnabled(enable); | 183 RuntimeEnabledFeatures::setOrientationEventEnabled(enable); |
| 189 } | 184 } |
| 190 | 185 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 { | 317 { |
| 323 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); | 318 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); |
| 324 } | 319 } |
| 325 | 320 |
| 326 void WebRuntimeFeatures::enableWebVR(bool enable) | 321 void WebRuntimeFeatures::enableWebVR(bool enable) |
| 327 { | 322 { |
| 328 RuntimeEnabledFeatures::setWebVREnabled(enable); | 323 RuntimeEnabledFeatures::setWebVREnabled(enable); |
| 329 } | 324 } |
| 330 | 325 |
| 331 } // namespace blink | 326 } // namespace blink |
| OLD | NEW |