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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 void WebRuntimeFeatures::enableGeolocation(bool enable) | 168 void WebRuntimeFeatures::enableGeolocation(bool enable) |
169 { | 169 { |
170 RuntimeEnabledFeatures::setGeolocationEnabled(enable); | 170 RuntimeEnabledFeatures::setGeolocationEnabled(enable); |
171 } | 171 } |
172 | 172 |
173 bool WebRuntimeFeatures::isGeolocationEnabled() | 173 bool WebRuntimeFeatures::isGeolocationEnabled() |
174 { | 174 { |
175 return RuntimeEnabledFeatures::geolocationEnabled(); | 175 return RuntimeEnabledFeatures::geolocationEnabled(); |
176 } | 176 } |
177 | 177 |
178 void WebRuntimeFeatures::enableJavaScriptI18NAPI(bool enable) | |
179 { | |
180 RuntimeEnabledFeatures::setJavaScriptI18NAPIEnabled(enable); | |
181 } | |
182 | |
183 bool WebRuntimeFeatures::isJavaScriptI18NAPIEnabled() | |
184 { | |
185 return RuntimeEnabledFeatures::javaScriptI18NAPIEnabled(); | |
186 } | |
187 | |
188 void WebRuntimeFeatures::enableLazyLayout(bool enable) | 178 void WebRuntimeFeatures::enableLazyLayout(bool enable) |
189 { | 179 { |
190 RuntimeEnabledFeatures::setLazyLayoutEnabled(enable); | 180 RuntimeEnabledFeatures::setLazyLayoutEnabled(enable); |
191 } | 181 } |
192 | 182 |
193 bool WebRuntimeFeatures::isLazyLayoutEnabled() | 183 bool WebRuntimeFeatures::isLazyLayoutEnabled() |
194 { | 184 { |
195 return RuntimeEnabledFeatures::lazyLayoutEnabled(); | 185 return RuntimeEnabledFeatures::lazyLayoutEnabled(); |
196 } | 186 } |
197 | 187 |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 { | 367 { |
378 RuntimeEnabledFeatures::setDataListElementEnabled(enable); | 368 RuntimeEnabledFeatures::setDataListElementEnabled(enable); |
379 } | 369 } |
380 | 370 |
381 bool WebRuntimeFeatures::isDataListElementEnabled() | 371 bool WebRuntimeFeatures::isDataListElementEnabled() |
382 { | 372 { |
383 return RuntimeEnabledFeatures::dataListElementEnabled(); | 373 return RuntimeEnabledFeatures::dataListElementEnabled(); |
384 } | 374 } |
385 | 375 |
386 } // namespace WebKit | 376 } // namespace WebKit |
OLD | NEW |