| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 void WebRuntimeFeatures::enableFileSystem(bool enable) | 136 void WebRuntimeFeatures::enableFileSystem(bool enable) |
| 137 { | 137 { |
| 138 RuntimeEnabledFeatures::setFileSystemEnabled(enable); | 138 RuntimeEnabledFeatures::setFileSystemEnabled(enable); |
| 139 } | 139 } |
| 140 | 140 |
| 141 void WebRuntimeFeatures::enableImageColorProfiles(bool enable) | 141 void WebRuntimeFeatures::enableImageColorProfiles(bool enable) |
| 142 { | 142 { |
| 143 RuntimeEnabledFeatures::setImageColorProfilesEnabled(enable); | 143 RuntimeEnabledFeatures::setImageColorProfilesEnabled(enable); |
| 144 } | 144 } |
| 145 | 145 |
| 146 void WebRuntimeFeatures::enableLocalStorage(bool enable) | |
| 147 { | |
| 148 RuntimeEnabledFeatures::setLocalStorageEnabled(enable); | |
| 149 } | |
| 150 | |
| 151 void WebRuntimeFeatures::enableMediaPlayer(bool enable) | 146 void WebRuntimeFeatures::enableMediaPlayer(bool enable) |
| 152 { | 147 { |
| 153 RuntimeEnabledFeatures::setMediaEnabled(enable); | 148 RuntimeEnabledFeatures::setMediaEnabled(enable); |
| 154 } | 149 } |
| 155 | 150 |
| 156 void WebRuntimeFeatures::enableMediaCapture(bool enable) | 151 void WebRuntimeFeatures::enableMediaCapture(bool enable) |
| 157 { | 152 { |
| 158 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); | 153 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); |
| 159 } | 154 } |
| 160 | 155 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 { | 327 { |
| 333 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); | 328 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); |
| 334 } | 329 } |
| 335 | 330 |
| 336 void WebRuntimeFeatures::enableWebVR(bool enable) | 331 void WebRuntimeFeatures::enableWebVR(bool enable) |
| 337 { | 332 { |
| 338 RuntimeEnabledFeatures::setWebVREnabled(enable); | 333 RuntimeEnabledFeatures::setWebVREnabled(enable); |
| 339 } | 334 } |
| 340 | 335 |
| 341 } // namespace blink | 336 } // namespace blink |
| OLD | NEW |