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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 void WebRuntimeFeatures::enableXSLT(bool enable) | 283 void WebRuntimeFeatures::enableXSLT(bool enable) |
284 { | 284 { |
285 RuntimeEnabledFeatures::setXSLTEnabled(enable); | 285 RuntimeEnabledFeatures::setXSLTEnabled(enable); |
286 } | 286 } |
287 | 287 |
288 void WebRuntimeFeatures::enableOverlayScrollbars(bool enable) | 288 void WebRuntimeFeatures::enableOverlayScrollbars(bool enable) |
289 { | 289 { |
290 RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(enable); | 290 RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(enable); |
291 } | 291 } |
292 | 292 |
293 void WebRuntimeFeatures::enableHideScrollbars(bool enable) | |
294 { | |
295 RuntimeEnabledFeatures::setHideScrollbarsEnabled(enable); | |
296 } | |
297 | |
298 void WebRuntimeFeatures::forceOverlayFullscreenVideo(bool enable) | 293 void WebRuntimeFeatures::forceOverlayFullscreenVideo(bool enable) |
299 { | 294 { |
300 RuntimeEnabledFeatures::setForceOverlayFullscreenVideoEnabled(enable); | 295 RuntimeEnabledFeatures::setForceOverlayFullscreenVideoEnabled(enable); |
301 } | 296 } |
302 | 297 |
303 void WebRuntimeFeatures::enableSharedWorker(bool enable) | 298 void WebRuntimeFeatures::enableSharedWorker(bool enable) |
304 { | 299 { |
305 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); | 300 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); |
306 } | 301 } |
307 | 302 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 { | 394 { |
400 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable); | 395 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable); |
401 } | 396 } |
402 | 397 |
403 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) | 398 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) |
404 { | 399 { |
405 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); | 400 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); |
406 } | 401 } |
407 | 402 |
408 } // namespace blink | 403 } // namespace blink |
OLD | NEW |