Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: Source/web/WebRuntimeFeatures.cpp

Issue 482273005: Remove SpeechSynthesis runtime flag (status=stable) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add WebRuntimeFeatures.h Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698