| 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 211 void WebRuntimeFeatures::enableServiceWorker(bool enable) | 211 void WebRuntimeFeatures::enableServiceWorker(bool enable) | 
| 212 { | 212 { | 
| 213     RuntimeEnabledFeatures::setServiceWorkerEnabled(enable); | 213     RuntimeEnabledFeatures::setServiceWorkerEnabled(enable); | 
| 214 } | 214 } | 
| 215 | 215 | 
| 216 void WebRuntimeFeatures::enableSlimmingPaint(bool enable) | 216 void WebRuntimeFeatures::enableSlimmingPaint(bool enable) | 
| 217 { | 217 { | 
| 218     RuntimeEnabledFeatures::setSlimmingPaintEnabled(enable); | 218     RuntimeEnabledFeatures::setSlimmingPaintEnabled(enable); | 
| 219 } | 219 } | 
| 220 | 220 | 
| 221 bool WebRuntimeFeatures::slimmingPaintDisplayItemCacheEnabled() |  | 
| 222 { |  | 
| 223     return RuntimeEnabledFeatures::slimmingPaintDisplayItemCacheEnabled(); |  | 
| 224 } |  | 
| 225 |  | 
| 226 void WebRuntimeFeatures::enableTouch(bool enable) | 221 void WebRuntimeFeatures::enableTouch(bool enable) | 
| 227 { | 222 { | 
| 228     RuntimeEnabledFeatures::setTouchEnabled(enable); | 223     RuntimeEnabledFeatures::setTouchEnabled(enable); | 
| 229 } | 224 } | 
| 230 | 225 | 
| 231 void WebRuntimeFeatures::enableTouchIconLoading(bool enable) | 226 void WebRuntimeFeatures::enableTouchIconLoading(bool enable) | 
| 232 { | 227 { | 
| 233     RuntimeEnabledFeatures::setTouchIconLoadingEnabled(enable); | 228     RuntimeEnabledFeatures::setTouchIconLoadingEnabled(enable); | 
| 234 } | 229 } | 
| 235 | 230 | 
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 327 { | 322 { | 
| 328     RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); | 323     RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); | 
| 329 } | 324 } | 
| 330 | 325 | 
| 331 void WebRuntimeFeatures::enableVRDevice(bool enable) | 326 void WebRuntimeFeatures::enableVRDevice(bool enable) | 
| 332 { | 327 { | 
| 333     RuntimeEnabledFeatures::setVRDeviceEnabled(enable); | 328     RuntimeEnabledFeatures::setVRDeviceEnabled(enable); | 
| 334 } | 329 } | 
| 335 | 330 | 
| 336 } // namespace blink | 331 } // namespace blink | 
| OLD | NEW | 
|---|