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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 void WebRuntimeFeatures::enableCSSRegions(bool enable) | 100 void WebRuntimeFeatures::enableCSSRegions(bool enable) |
101 { | 101 { |
102 RuntimeEnabledFeatures::setCSSRegionsEnabled(enable); | 102 RuntimeEnabledFeatures::setCSSRegionsEnabled(enable); |
103 } | 103 } |
104 | 104 |
105 bool WebRuntimeFeatures::isCSSRegionsEnabled() | 105 bool WebRuntimeFeatures::isCSSRegionsEnabled() |
106 { | 106 { |
107 return RuntimeEnabledFeatures::cssRegionsEnabled(); | 107 return RuntimeEnabledFeatures::cssRegionsEnabled(); |
108 } | 108 } |
109 | 109 |
| 110 void WebRuntimeFeatures::enableCSSTouchAction(bool enable) |
| 111 { |
| 112 RuntimeEnabledFeatures::setCSSTouchActionEnabled(enable); |
| 113 } |
| 114 |
| 115 bool WebRuntimeFeatures::isCSSTouchActionEnabled() |
| 116 { |
| 117 return RuntimeEnabledFeatures::cssTouchActionEnabled(); |
| 118 } |
| 119 |
110 void WebRuntimeFeatures::enableCustomDOMElements(bool enable) | 120 void WebRuntimeFeatures::enableCustomDOMElements(bool enable) |
111 { | 121 { |
112 RuntimeEnabledFeatures::setCustomDOMElementsEnabled(enable); | 122 RuntimeEnabledFeatures::setCustomDOMElementsEnabled(enable); |
113 } | 123 } |
114 | 124 |
115 bool WebRuntimeFeatures::isCustomDOMElementsEnabled() | 125 bool WebRuntimeFeatures::isCustomDOMElementsEnabled() |
116 { | 126 { |
117 return RuntimeEnabledFeatures::customDOMElementsEnabled(); | 127 return RuntimeEnabledFeatures::customDOMElementsEnabled(); |
118 } | 128 } |
119 | 129 |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 { | 574 { |
565 RuntimeEnabledFeatures::setDataListElementEnabled(enable); | 575 RuntimeEnabledFeatures::setDataListElementEnabled(enable); |
566 } | 576 } |
567 | 577 |
568 bool WebRuntimeFeatures::isDataListElementEnabled() | 578 bool WebRuntimeFeatures::isDataListElementEnabled() |
569 { | 579 { |
570 return RuntimeEnabledFeatures::dataListElementEnabled(); | 580 return RuntimeEnabledFeatures::dataListElementEnabled(); |
571 } | 581 } |
572 | 582 |
573 } // namespace WebKit | 583 } // namespace WebKit |
OLD | NEW |