OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable) | 503 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable) |
504 { | 504 { |
505 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable); | 505 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable); |
506 } | 506 } |
507 | 507 |
508 bool WebRuntimeFeatures::areExperimentalCanvasFeaturesEnabled() | 508 bool WebRuntimeFeatures::areExperimentalCanvasFeaturesEnabled() |
509 { | 509 { |
510 return RuntimeEnabledFeatures::experimentalCanvasFeaturesEnabled(); | 510 return RuntimeEnabledFeatures::experimentalCanvasFeaturesEnabled(); |
511 } | 511 } |
512 | 512 |
| 513 void WebRuntimeFeatures::enableDatalist(bool enable) |
| 514 { |
| 515 RuntimeEnabledFeatures::setDatalistEnabled(enable); |
| 516 } |
| 517 |
| 518 bool WebRuntimeFeatures::isDatalistEnabled() |
| 519 { |
| 520 return RuntimeEnabledFeatures::datalistEnabled(); |
| 521 } |
| 522 |
513 void WebRuntimeFeatures::enableSpeechSynthesis(bool enable) | 523 void WebRuntimeFeatures::enableSpeechSynthesis(bool enable) |
514 { | 524 { |
515 RuntimeEnabledFeatures::setSpeechSynthesisEnabled(enable); | 525 RuntimeEnabledFeatures::setSpeechSynthesisEnabled(enable); |
516 } | 526 } |
517 | 527 |
518 bool WebRuntimeFeatures::isSpeechSynthesisEnabled() | 528 bool WebRuntimeFeatures::isSpeechSynthesisEnabled() |
519 { | 529 { |
520 return RuntimeEnabledFeatures::speechSynthesisEnabled(); | 530 return RuntimeEnabledFeatures::speechSynthesisEnabled(); |
521 } | 531 } |
522 | 532 |
523 } // namespace WebKit | 533 } // namespace WebKit |
OLD | NEW |