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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable) | 126 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable) |
127 { | 127 { |
128 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable); | 128 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable); |
129 } | 129 } |
130 | 130 |
131 void WebRuntimeFeatures::enableFastMobileScrolling(bool enable) | 131 void WebRuntimeFeatures::enableFastMobileScrolling(bool enable) |
132 { | 132 { |
133 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable); | 133 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable); |
134 } | 134 } |
135 | 135 |
136 void WebRuntimeFeatures::enableFileSystem(bool enable) | |
137 { | |
138 RuntimeEnabledFeatures::setFileSystemEnabled(enable); | |
139 } | |
140 | |
141 void WebRuntimeFeatures::enableImageColorProfiles(bool enable) | 136 void WebRuntimeFeatures::enableImageColorProfiles(bool enable) |
142 { | 137 { |
143 RuntimeEnabledFeatures::setImageColorProfilesEnabled(enable); | 138 RuntimeEnabledFeatures::setImageColorProfilesEnabled(enable); |
144 } | 139 } |
145 | 140 |
146 void WebRuntimeFeatures::enableMediaPlayer(bool enable) | 141 void WebRuntimeFeatures::enableMediaPlayer(bool enable) |
147 { | 142 { |
148 RuntimeEnabledFeatures::setMediaEnabled(enable); | 143 RuntimeEnabledFeatures::setMediaEnabled(enable); |
149 } | 144 } |
150 | 145 |
(...skipping 171 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 |