| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 void WebRuntimeFeatures::enableServiceWorker(bool enable) | 200 void WebRuntimeFeatures::enableServiceWorker(bool enable) |
| 201 { | 201 { |
| 202 RuntimeEnabledFeatures::setServiceWorkerEnabled(enable); | 202 RuntimeEnabledFeatures::setServiceWorkerEnabled(enable); |
| 203 } | 203 } |
| 204 | 204 |
| 205 void WebRuntimeFeatures::enableSessionStorage(bool enable) | 205 void WebRuntimeFeatures::enableSessionStorage(bool enable) |
| 206 { | 206 { |
| 207 RuntimeEnabledFeatures::setSessionStorageEnabled(enable); | 207 RuntimeEnabledFeatures::setSessionStorageEnabled(enable); |
| 208 } | 208 } |
| 209 | 209 |
| 210 void WebRuntimeFeatures::enableSpeechSynthesis(bool enable) | |
| 211 { | |
| 212 RuntimeEnabledFeatures::setSpeechSynthesisEnabled(enable); | |
| 213 } | |
| 214 | |
| 215 void WebRuntimeFeatures::enableTouch(bool enable) | 210 void WebRuntimeFeatures::enableTouch(bool enable) |
| 216 { | 211 { |
| 217 RuntimeEnabledFeatures::setTouchEnabled(enable); | 212 RuntimeEnabledFeatures::setTouchEnabled(enable); |
| 218 } | 213 } |
| 219 | 214 |
| 220 void WebRuntimeFeatures::enableTouchIconLoading(bool enable) | 215 void WebRuntimeFeatures::enableTouchIconLoading(bool enable) |
| 221 { | 216 { |
| 222 RuntimeEnabledFeatures::setTouchIconLoadingEnabled(enable); | 217 RuntimeEnabledFeatures::setTouchIconLoadingEnabled(enable); |
| 223 } | 218 } |
| 224 | 219 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 { | 281 { |
| 287 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); | 282 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); |
| 288 } | 283 } |
| 289 | 284 |
| 290 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) | 285 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) |
| 291 { | 286 { |
| 292 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); | 287 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); |
| 293 } | 288 } |
| 294 | 289 |
| 295 } // namespace blink | 290 } // namespace blink |
| OLD | NEW |