| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 void WebRuntimeFeatures::enableFastTextAutosizing(bool enable) | 126 void WebRuntimeFeatures::enableFastTextAutosizing(bool enable) |
| 127 { | 127 { |
| 128 RuntimeEnabledFeatures::setFastTextAutosizingEnabled(enable); | 128 RuntimeEnabledFeatures::setFastTextAutosizingEnabled(enable); |
| 129 } | 129 } |
| 130 | 130 |
| 131 void WebRuntimeFeatures::enableFileSystem(bool enable) | 131 void WebRuntimeFeatures::enableFileSystem(bool enable) |
| 132 { | 132 { |
| 133 RuntimeEnabledFeatures::setFileSystemEnabled(enable); | 133 RuntimeEnabledFeatures::setFileSystemEnabled(enable); |
| 134 } | 134 } |
| 135 | 135 |
| 136 void WebRuntimeFeatures::enableFullscreen(bool enable) | |
| 137 { | |
| 138 RuntimeEnabledFeatures::setFullscreenEnabled(enable); | |
| 139 } | |
| 140 | |
| 141 void WebRuntimeFeatures::enableGamepad(bool enable) | 136 void WebRuntimeFeatures::enableGamepad(bool enable) |
| 142 { | 137 { |
| 143 RuntimeEnabledFeatures::setGamepadEnabled(enable); | 138 RuntimeEnabledFeatures::setGamepadEnabled(enable); |
| 144 } | 139 } |
| 145 | 140 |
| 146 void WebRuntimeFeatures::enableLazyLayout(bool enable) | 141 void WebRuntimeFeatures::enableLazyLayout(bool enable) |
| 147 { | 142 { |
| 148 // FIXME: Remove this once Chromium stops calling this. | 143 // FIXME: Remove this once Chromium stops calling this. |
| 149 } | 144 } |
| 150 | 145 |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 { | 293 { |
| 299 RuntimeEnabledFeatures::setExperimentalWebSocketEnabled(enable); | 294 RuntimeEnabledFeatures::setExperimentalWebSocketEnabled(enable); |
| 300 } | 295 } |
| 301 | 296 |
| 302 void WebRuntimeFeatures::enableTargetedStyleRecalc(bool enable) | 297 void WebRuntimeFeatures::enableTargetedStyleRecalc(bool enable) |
| 303 { | 298 { |
| 304 RuntimeEnabledFeatures::setTargetedStyleRecalcEnabled(enable); | 299 RuntimeEnabledFeatures::setTargetedStyleRecalcEnabled(enable); |
| 305 } | 300 } |
| 306 | 301 |
| 307 } // namespace blink | 302 } // namespace blink |
| OLD | NEW |