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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 void WebRuntimeFeatures::enableXSLT(bool enable) | 258 void WebRuntimeFeatures::enableXSLT(bool enable) |
259 { | 259 { |
260 RuntimeEnabledFeatures::setXSLTEnabled(enable); | 260 RuntimeEnabledFeatures::setXSLTEnabled(enable); |
261 } | 261 } |
262 | 262 |
263 void WebRuntimeFeatures::enableOverlayScrollbars(bool enable) | 263 void WebRuntimeFeatures::enableOverlayScrollbars(bool enable) |
264 { | 264 { |
265 RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(enable); | 265 RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(enable); |
266 } | 266 } |
267 | 267 |
| 268 void WebRuntimeFeatures::enableHideScrollbars(bool enable) |
| 269 { |
| 270 RuntimeEnabledFeatures::setHideScrollbarsEnabled(enable); |
| 271 } |
| 272 |
268 void WebRuntimeFeatures::forceOverlayFullscreenVideo(bool enable) | 273 void WebRuntimeFeatures::forceOverlayFullscreenVideo(bool enable) |
269 { | 274 { |
270 RuntimeEnabledFeatures::setForceOverlayFullscreenVideoEnabled(enable); | 275 RuntimeEnabledFeatures::setForceOverlayFullscreenVideoEnabled(enable); |
271 } | 276 } |
272 | 277 |
273 void WebRuntimeFeatures::enableSharedWorker(bool enable) | 278 void WebRuntimeFeatures::enableSharedWorker(bool enable) |
274 { | 279 { |
275 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); | 280 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); |
276 } | 281 } |
277 | 282 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 { | 359 { |
355 RuntimeEnabledFeatures::setAutoplayMutedVideosEnabled(enable); | 360 RuntimeEnabledFeatures::setAutoplayMutedVideosEnabled(enable); |
356 } | 361 } |
357 | 362 |
358 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) | 363 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) |
359 { | 364 { |
360 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); | 365 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); |
361 } | 366 } |
362 | 367 |
363 } // namespace blink | 368 } // namespace blink |
OLD | NEW |