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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable) | 137 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable) |
138 { | 138 { |
139 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable); | 139 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable); |
140 } | 140 } |
141 | 141 |
142 bool WebRuntimeFeatures::isExperimentalCanvasFeaturesEnabled() | 142 bool WebRuntimeFeatures::isExperimentalCanvasFeaturesEnabled() |
143 { | 143 { |
144 return RuntimeEnabledFeatures::experimentalCanvasFeaturesEnabled(); | 144 return RuntimeEnabledFeatures::experimentalCanvasFeaturesEnabled(); |
145 } | 145 } |
146 | 146 |
| 147 void WebRuntimeFeatures::enableFastTextAutosizing(bool enable) |
| 148 { |
| 149 RuntimeEnabledFeatures::setFastTextAutosizingEnabled(enable); |
| 150 } |
| 151 |
| 152 bool WebRuntimeFeatures::isFastTextAutosizingEnabled() |
| 153 { |
| 154 return RuntimeEnabledFeatures::fastTextAutosizingEnabled(); |
| 155 } |
| 156 |
147 void WebRuntimeFeatures::enableFileSystem(bool enable) | 157 void WebRuntimeFeatures::enableFileSystem(bool enable) |
148 { | 158 { |
149 RuntimeEnabledFeatures::setFileSystemEnabled(enable); | 159 RuntimeEnabledFeatures::setFileSystemEnabled(enable); |
150 } | 160 } |
151 | 161 |
152 bool WebRuntimeFeatures::isFileSystemEnabled() | 162 bool WebRuntimeFeatures::isFileSystemEnabled() |
153 { | 163 { |
154 return RuntimeEnabledFeatures::fileSystemEnabled(); | 164 return RuntimeEnabledFeatures::fileSystemEnabled(); |
155 } | 165 } |
156 | 166 |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 { | 410 { |
401 RuntimeEnabledFeatures::setInputModeAttributeEnabled(enable); | 411 RuntimeEnabledFeatures::setInputModeAttributeEnabled(enable); |
402 } | 412 } |
403 | 413 |
404 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable) | 414 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable) |
405 { | 415 { |
406 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable); | 416 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable); |
407 } | 417 } |
408 | 418 |
409 } // namespace WebKit | 419 } // namespace WebKit |
OLD | NEW |