| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 void WebRuntimeFeatures::enableMediaCapture(bool enable) | 158 void WebRuntimeFeatures::enableMediaCapture(bool enable) |
| 159 { | 159 { |
| 160 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); | 160 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); |
| 161 } | 161 } |
| 162 | 162 |
| 163 void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable) | 163 void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable) |
| 164 { | 164 { |
| 165 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable); | 165 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable); |
| 166 } | 166 } |
| 167 | 167 |
| 168 void WebRuntimeFeatures::enableNonValidatingReload(bool enable) |
| 169 { |
| 170 RuntimeEnabledFeatures::setNonValidatingReloadEnabled(enable); |
| 171 } |
| 172 |
| 168 void WebRuntimeFeatures::enableNotificationConstructor(bool enable) | 173 void WebRuntimeFeatures::enableNotificationConstructor(bool enable) |
| 169 { | 174 { |
| 170 RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable); | 175 RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable); |
| 171 } | 176 } |
| 172 | 177 |
| 173 void WebRuntimeFeatures::enableNotifications(bool enable) | 178 void WebRuntimeFeatures::enableNotifications(bool enable) |
| 174 { | 179 { |
| 175 RuntimeEnabledFeatures::setNotificationsEnabled(enable); | 180 RuntimeEnabledFeatures::setNotificationsEnabled(enable); |
| 176 } | 181 } |
| 177 | 182 |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 { | 379 { |
| 375 RuntimeEnabledFeatures::setTimerThrottlingForBackgroundTabsEnabled(enable); | 380 RuntimeEnabledFeatures::setTimerThrottlingForBackgroundTabsEnabled(enable); |
| 376 } | 381 } |
| 377 | 382 |
| 378 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) | 383 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) |
| 379 { | 384 { |
| 380 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); | 385 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); |
| 381 } | 386 } |
| 382 | 387 |
| 383 } // namespace blink | 388 } // namespace blink |
| OLD | NEW |