| 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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 void WebRuntimeFeatures::enableHTMLImports(bool enable) | 374 void WebRuntimeFeatures::enableHTMLImports(bool enable) |
| 375 { | 375 { |
| 376 RuntimeEnabledFeatures::setHTMLImportsEnabled(enable); | 376 RuntimeEnabledFeatures::setHTMLImportsEnabled(enable); |
| 377 } | 377 } |
| 378 | 378 |
| 379 bool WebRuntimeFeatures::isHTMLImportsEnabled() | 379 bool WebRuntimeFeatures::isHTMLImportsEnabled() |
| 380 { | 380 { |
| 381 return RuntimeEnabledFeatures::htmlImportsEnabled(); | 381 return RuntimeEnabledFeatures::htmlImportsEnabled(); |
| 382 } | 382 } |
| 383 | 383 |
| 384 void WebRuntimeFeatures::enableXSLT(bool enable) |
| 385 { |
| 386 RuntimeEnabledFeatures::setXSLTEnabled(enable); |
| 387 } |
| 388 |
| 384 void WebRuntimeFeatures::enableEmbedderCustomElements(bool enable) | 389 void WebRuntimeFeatures::enableEmbedderCustomElements(bool enable) |
| 385 { | 390 { |
| 386 RuntimeEnabledFeatures::setEmbedderCustomElementsEnabled(enable); | 391 RuntimeEnabledFeatures::setEmbedderCustomElementsEnabled(enable); |
| 387 } | 392 } |
| 388 | 393 |
| 389 void WebRuntimeFeatures::enableOverlayScrollbars(bool enable) | 394 void WebRuntimeFeatures::enableOverlayScrollbars(bool enable) |
| 390 { | 395 { |
| 391 RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(enable); | 396 RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(enable); |
| 392 } | 397 } |
| 393 | 398 |
| 394 void WebRuntimeFeatures::enableInputModeAttribute(bool enable) | 399 void WebRuntimeFeatures::enableInputModeAttribute(bool enable) |
| 395 { | 400 { |
| 396 RuntimeEnabledFeatures::setInputModeAttributeEnabled(enable); | 401 RuntimeEnabledFeatures::setInputModeAttributeEnabled(enable); |
| 397 } | 402 } |
| 398 | 403 |
| 399 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable) | 404 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable) |
| 400 { | 405 { |
| 401 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable); | 406 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable); |
| 402 } | 407 } |
| 403 | 408 |
| 404 } // namespace WebKit | 409 } // namespace WebKit |
| OLD | NEW |