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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable) | 250 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable) |
251 { | 251 { |
252 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable); | 252 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable); |
253 } | 253 } |
254 | 254 |
255 void WebRuntimeFeatures::enableSharedWorker(bool enable) | 255 void WebRuntimeFeatures::enableSharedWorker(bool enable) |
256 { | 256 { |
257 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); | 257 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); |
258 } | 258 } |
259 | 259 |
260 void WebRuntimeFeatures::enableTargetedStyleRecalc(bool enable) | |
261 { | |
262 RuntimeEnabledFeatures::setTargetedStyleRecalcEnabled(enable); | |
263 } | |
264 | |
265 void WebRuntimeFeatures::enablePreciseMemoryInfo(bool enable) | 260 void WebRuntimeFeatures::enablePreciseMemoryInfo(bool enable) |
266 { | 261 { |
267 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable); | 262 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable); |
268 } | 263 } |
269 | 264 |
270 void WebRuntimeFeatures::enableLayerSquashing(bool enable) | 265 void WebRuntimeFeatures::enableLayerSquashing(bool enable) |
271 { | 266 { |
272 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); | 267 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); |
273 } | 268 } |
274 | 269 |
275 void WebRuntimeFeatures::enableShowModalDialog(bool enable) | 270 void WebRuntimeFeatures::enableShowModalDialog(bool enable) |
276 { | 271 { |
277 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); | 272 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); |
278 } | 273 } |
279 | 274 |
280 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) | 275 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) |
281 { | 276 { |
282 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); | 277 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); |
283 } | 278 } |
284 | 279 |
285 } // namespace blink | 280 } // namespace blink |
OLD | NEW |