| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) | 57 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) |
| 58 { | 58 { |
| 59 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); | 59 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); |
| 60 } | 60 } |
| 61 | 61 |
| 62 void WebRuntimeFeatures::enableApplicationCache(bool enable) | 62 void WebRuntimeFeatures::enableApplicationCache(bool enable) |
| 63 { | 63 { |
| 64 RuntimeEnabledFeatures::setApplicationCacheEnabled(enable); | 64 RuntimeEnabledFeatures::setApplicationCacheEnabled(enable); |
| 65 } | 65 } |
| 66 | 66 |
| 67 | |
| 68 void WebRuntimeFeatures::enableCompositedSelectionUpdate(bool enable) | 67 void WebRuntimeFeatures::enableCompositedSelectionUpdate(bool enable) |
| 69 { | 68 { |
| 70 RuntimeEnabledFeatures::setCompositedSelectionUpdateEnabled(enable); | 69 RuntimeEnabledFeatures::setCompositedSelectionUpdateEnabled(enable); |
| 71 } | 70 } |
| 72 | 71 |
| 73 bool WebRuntimeFeatures::isCompositedSelectionUpdateEnabled() | 72 bool WebRuntimeFeatures::isCompositedSelectionUpdateEnabled() |
| 74 { | 73 { |
| 75 return RuntimeEnabledFeatures::compositedSelectionUpdateEnabled(); | 74 return RuntimeEnabledFeatures::compositedSelectionUpdateEnabled(); |
| 76 } | 75 } |
| 77 | 76 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 void WebRuntimeFeatures::enableFastMobileScrolling(bool enable) | 117 void WebRuntimeFeatures::enableFastMobileScrolling(bool enable) |
| 119 { | 118 { |
| 120 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable); | 119 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable); |
| 121 } | 120 } |
| 122 | 121 |
| 123 void WebRuntimeFeatures::enableFileSystem(bool enable) | 122 void WebRuntimeFeatures::enableFileSystem(bool enable) |
| 124 { | 123 { |
| 125 RuntimeEnabledFeatures::setFileSystemEnabled(enable); | 124 RuntimeEnabledFeatures::setFileSystemEnabled(enable); |
| 126 } | 125 } |
| 127 | 126 |
| 127 void WebRuntimeFeatures::enableImageColorProfiles(bool enable) |
| 128 { |
| 129 RuntimeEnabledFeatures::setImageColorProfilesEnabled(enable); |
| 130 } |
| 131 |
| 128 void WebRuntimeFeatures::enableLocalStorage(bool enable) | 132 void WebRuntimeFeatures::enableLocalStorage(bool enable) |
| 129 { | 133 { |
| 130 RuntimeEnabledFeatures::setLocalStorageEnabled(enable); | 134 RuntimeEnabledFeatures::setLocalStorageEnabled(enable); |
| 131 } | 135 } |
| 132 | 136 |
| 133 void WebRuntimeFeatures::enableMediaPlayer(bool enable) | 137 void WebRuntimeFeatures::enableMediaPlayer(bool enable) |
| 134 { | 138 { |
| 135 RuntimeEnabledFeatures::setMediaEnabled(enable); | 139 RuntimeEnabledFeatures::setMediaEnabled(enable); |
| 136 } | 140 } |
| 137 | 141 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 { | 293 { |
| 290 RuntimeEnabledFeatures::setTextBlobEnabled(enable); | 294 RuntimeEnabledFeatures::setTextBlobEnabled(enable); |
| 291 } | 295 } |
| 292 | 296 |
| 293 void WebRuntimeFeatures::setCSSViewportEnabled(bool enable) | 297 void WebRuntimeFeatures::setCSSViewportEnabled(bool enable) |
| 294 { | 298 { |
| 295 RuntimeEnabledFeatures::setCSSViewportEnabled(enable); | 299 RuntimeEnabledFeatures::setCSSViewportEnabled(enable); |
| 296 } | 300 } |
| 297 | 301 |
| 298 } // namespace blink | 302 } // namespace blink |
| OLD | NEW |