| 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 void WebRuntimeFeatures::enablePagePopup(bool enable) | 423 void WebRuntimeFeatures::enablePagePopup(bool enable) |
| 424 { | 424 { |
| 425 RuntimeEnabledFeatures::setPagePopupEnabled(enable); | 425 RuntimeEnabledFeatures::setPagePopupEnabled(enable); |
| 426 } | 426 } |
| 427 | 427 |
| 428 bool WebRuntimeFeatures::isPagePopupEnabled() | 428 bool WebRuntimeFeatures::isPagePopupEnabled() |
| 429 { | 429 { |
| 430 return RuntimeEnabledFeatures::pagePopupEnabled(); | 430 return RuntimeEnabledFeatures::pagePopupEnabled(); |
| 431 } | 431 } |
| 432 | 432 |
| 433 void WebRuntimeFeatures::enableParseSVGAsHTML(bool enable) |
| 434 { |
| 435 RuntimeEnabledFeatures::setParseSVGAsHTMLEnabled(enable); |
| 436 } |
| 437 |
| 438 bool WebRuntimeFeatures::isParseSVGAsHTMLEnabled() |
| 439 { |
| 440 return RuntimeEnabledFeatures::parseSVGAsHTMLEnabled(); |
| 441 } |
| 442 |
| 433 void WebRuntimeFeatures::enablePeerConnection(bool enable) | 443 void WebRuntimeFeatures::enablePeerConnection(bool enable) |
| 434 { | 444 { |
| 435 RuntimeEnabledFeatures::setPeerConnectionEnabled(enable); | 445 RuntimeEnabledFeatures::setPeerConnectionEnabled(enable); |
| 436 } | 446 } |
| 437 | 447 |
| 438 bool WebRuntimeFeatures::isPeerConnectionEnabled() | 448 bool WebRuntimeFeatures::isPeerConnectionEnabled() |
| 439 { | 449 { |
| 440 return RuntimeEnabledFeatures::peerConnectionEnabled(); | 450 return RuntimeEnabledFeatures::peerConnectionEnabled(); |
| 441 } | 451 } |
| 442 | 452 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 { | 584 { |
| 575 RuntimeEnabledFeatures::setDataListElementEnabled(enable); | 585 RuntimeEnabledFeatures::setDataListElementEnabled(enable); |
| 576 } | 586 } |
| 577 | 587 |
| 578 bool WebRuntimeFeatures::isDataListElementEnabled() | 588 bool WebRuntimeFeatures::isDataListElementEnabled() |
| 579 { | 589 { |
| 580 return RuntimeEnabledFeatures::dataListElementEnabled(); | 590 return RuntimeEnabledFeatures::dataListElementEnabled(); |
| 581 } | 591 } |
| 582 | 592 |
| 583 } // namespace WebKit | 593 } // namespace WebKit |
| OLD | NEW |