| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 void WebRuntimeFeatures::enableFastMobileScrolling(bool enable) | 105 void WebRuntimeFeatures::enableFastMobileScrolling(bool enable) |
| 106 { | 106 { |
| 107 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable); | 107 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable); |
| 108 } | 108 } |
| 109 | 109 |
| 110 void WebRuntimeFeatures::enableFileSystem(bool enable) | 110 void WebRuntimeFeatures::enableFileSystem(bool enable) |
| 111 { | 111 { |
| 112 RuntimeEnabledFeatures::setFileSystemEnabled(enable); | 112 RuntimeEnabledFeatures::setFileSystemEnabled(enable); |
| 113 } | 113 } |
| 114 | 114 |
| 115 void WebRuntimeFeatures::enableGamepad(bool enable) | |
| 116 { | |
| 117 RuntimeEnabledFeatures::setGamepadEnabled(enable); | |
| 118 } | |
| 119 | |
| 120 void WebRuntimeFeatures::enableLocalStorage(bool enable) | 115 void WebRuntimeFeatures::enableLocalStorage(bool enable) |
| 121 { | 116 { |
| 122 RuntimeEnabledFeatures::setLocalStorageEnabled(enable); | 117 RuntimeEnabledFeatures::setLocalStorageEnabled(enable); |
| 123 } | 118 } |
| 124 | 119 |
| 125 void WebRuntimeFeatures::enableMediaPlayer(bool enable) | 120 void WebRuntimeFeatures::enableMediaPlayer(bool enable) |
| 126 { | 121 { |
| 127 RuntimeEnabledFeatures::setMediaEnabled(enable); | 122 RuntimeEnabledFeatures::setMediaEnabled(enable); |
| 128 } | 123 } |
| 129 | 124 |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 { | 266 { |
| 272 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); | 267 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); |
| 273 } | 268 } |
| 274 | 269 |
| 275 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) | 270 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) |
| 276 { | 271 { |
| 277 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); | 272 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); |
| 278 } | 273 } |
| 279 | 274 |
| 280 } // namespace blink | 275 } // namespace blink |
| OLD | NEW |