| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 void WebRuntimeFeatures::enableServiceWorker(bool enable) | 207 void WebRuntimeFeatures::enableServiceWorker(bool enable) |
| 208 { | 208 { |
| 209 RuntimeEnabledFeatures::setServiceWorkerEnabled(enable); | 209 RuntimeEnabledFeatures::setServiceWorkerEnabled(enable); |
| 210 } | 210 } |
| 211 | 211 |
| 212 void WebRuntimeFeatures::enableSessionStorage(bool enable) | 212 void WebRuntimeFeatures::enableSessionStorage(bool enable) |
| 213 { | 213 { |
| 214 RuntimeEnabledFeatures::setSessionStorageEnabled(enable); | 214 RuntimeEnabledFeatures::setSessionStorageEnabled(enable); |
| 215 } | 215 } |
| 216 | 216 |
| 217 void WebRuntimeFeatures::enableSlimmingPaint(bool enable) |
| 218 { |
| 219 RuntimeEnabledFeatures::setSlimmingPaintEnabled(enable); |
| 220 } |
| 221 |
| 217 void WebRuntimeFeatures::enableTouch(bool enable) | 222 void WebRuntimeFeatures::enableTouch(bool enable) |
| 218 { | 223 { |
| 219 RuntimeEnabledFeatures::setTouchEnabled(enable); | 224 RuntimeEnabledFeatures::setTouchEnabled(enable); |
| 220 } | 225 } |
| 221 | 226 |
| 222 void WebRuntimeFeatures::enableTouchIconLoading(bool enable) | 227 void WebRuntimeFeatures::enableTouchIconLoading(bool enable) |
| 223 { | 228 { |
| 224 RuntimeEnabledFeatures::setTouchIconLoadingEnabled(enable); | 229 RuntimeEnabledFeatures::setTouchIconLoadingEnabled(enable); |
| 225 } | 230 } |
| 226 | 231 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 { | 308 { |
| 304 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); | 309 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); |
| 305 } | 310 } |
| 306 | 311 |
| 307 void WebRuntimeFeatures::enableSVG1DOM(bool enable) | 312 void WebRuntimeFeatures::enableSVG1DOM(bool enable) |
| 308 { | 313 { |
| 309 RuntimeEnabledFeatures::setSVG1DOMEnabled(enable); | 314 RuntimeEnabledFeatures::setSVG1DOMEnabled(enable); |
| 310 } | 315 } |
| 311 | 316 |
| 312 } // namespace blink | 317 } // namespace blink |
| OLD | NEW |