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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 void WebRuntimeFeatures::enableSharedWorker(bool enable) | 266 void WebRuntimeFeatures::enableSharedWorker(bool enable) |
267 { | 267 { |
268 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); | 268 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); |
269 } | 269 } |
270 | 270 |
271 void WebRuntimeFeatures::enablePreciseMemoryInfo(bool enable) | 271 void WebRuntimeFeatures::enablePreciseMemoryInfo(bool enable) |
272 { | 272 { |
273 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable); | 273 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable); |
274 } | 274 } |
275 | 275 |
276 void WebRuntimeFeatures::enableLayerSquashing(bool enable) | |
277 { | |
278 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); | |
279 } | |
280 | |
281 void WebRuntimeFeatures::enableShowModalDialog(bool enable) | 276 void WebRuntimeFeatures::enableShowModalDialog(bool enable) |
282 { | 277 { |
283 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); | 278 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); |
284 } | 279 } |
285 | 280 |
286 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) | 281 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) |
287 { | 282 { |
288 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); | 283 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); |
289 } | 284 } |
290 | 285 |
(...skipping 21 matching lines...) Expand all Loading... |
312 { | 307 { |
313 RuntimeEnabledFeatures::setSVG1DOMEnabled(enable); | 308 RuntimeEnabledFeatures::setSVG1DOMEnabled(enable); |
314 } | 309 } |
315 | 310 |
316 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable) | 311 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable) |
317 { | 312 { |
318 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); | 313 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); |
319 } | 314 } |
320 | 315 |
321 } // namespace blink | 316 } // namespace blink |
OLD | NEW |