| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 } | 151 } |
| 152 | 152 |
| 153 void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable) { | 153 void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable) { |
| 154 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable); | 154 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable); |
| 155 } | 155 } |
| 156 | 156 |
| 157 void WebRuntimeFeatures::enableNotificationConstructor(bool enable) { | 157 void WebRuntimeFeatures::enableNotificationConstructor(bool enable) { |
| 158 RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable); | 158 RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable); |
| 159 } | 159 } |
| 160 | 160 |
| 161 void WebRuntimeFeatures::enableNotificationContentImage(bool enable) { |
| 162 RuntimeEnabledFeatures::setNotificationContentImageEnabled(enable); |
| 163 } |
| 164 |
| 161 void WebRuntimeFeatures::enableNotifications(bool enable) { | 165 void WebRuntimeFeatures::enableNotifications(bool enable) { |
| 162 RuntimeEnabledFeatures::setNotificationsEnabled(enable); | 166 RuntimeEnabledFeatures::setNotificationsEnabled(enable); |
| 163 } | 167 } |
| 164 | 168 |
| 165 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) { | 169 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) { |
| 166 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); | 170 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); |
| 167 } | 171 } |
| 168 | 172 |
| 169 void WebRuntimeFeatures::enableNetworkInformation(bool enable) { | 173 void WebRuntimeFeatures::enableNetworkInformation(bool enable) { |
| 170 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable); | 174 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable); |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable); | 348 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable); |
| 345 } | 349 } |
| 346 | 350 |
| 347 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType( | 351 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType( |
| 348 bool enable) { | 352 bool enable) { |
| 349 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled( | 353 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled( |
| 350 enable); | 354 enable); |
| 351 } | 355 } |
| 352 | 356 |
| 353 } // namespace blink | 357 } // namespace blink |
| OLD | NEW |