| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 } | 161 } |
| 162 | 162 |
| 163 void WebRuntimeFeatures::EnableMediaDocumentDownloadButton(bool enable) { | 163 void WebRuntimeFeatures::EnableMediaDocumentDownloadButton(bool enable) { |
| 164 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable); | 164 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable); |
| 165 } | 165 } |
| 166 | 166 |
| 167 void WebRuntimeFeatures::EnableMediaSession(bool enable) { | 167 void WebRuntimeFeatures::EnableMediaSession(bool enable) { |
| 168 RuntimeEnabledFeatures::setMediaSessionEnabled(enable); | 168 RuntimeEnabledFeatures::setMediaSessionEnabled(enable); |
| 169 } | 169 } |
| 170 | 170 |
| 171 void WebRuntimeFeatures::EnableNotCompositeSmallScroller(bool enable) { |
| 172 RuntimeEnabledFeatures::setNotCompositeSmallScrollerEnabled(enable); |
| 173 } |
| 174 |
| 171 void WebRuntimeFeatures::EnableNotificationConstructor(bool enable) { | 175 void WebRuntimeFeatures::EnableNotificationConstructor(bool enable) { |
| 172 RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable); | 176 RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable); |
| 173 } | 177 } |
| 174 | 178 |
| 175 void WebRuntimeFeatures::EnableNotificationContentImage(bool enable) { | 179 void WebRuntimeFeatures::EnableNotificationContentImage(bool enable) { |
| 176 RuntimeEnabledFeatures::setNotificationContentImageEnabled(enable); | 180 RuntimeEnabledFeatures::setNotificationContentImageEnabled(enable); |
| 177 } | 181 } |
| 178 | 182 |
| 179 void WebRuntimeFeatures::EnableNotifications(bool enable) { | 183 void WebRuntimeFeatures::EnableNotifications(bool enable) { |
| 180 RuntimeEnabledFeatures::setNotificationsEnabled(enable); | 184 RuntimeEnabledFeatures::setNotificationsEnabled(enable); |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 | 396 |
| 393 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { | 397 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { |
| 394 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); | 398 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); |
| 395 } | 399 } |
| 396 | 400 |
| 397 void WebRuntimeFeatures::EnableLocationHardReload(bool enable) { | 401 void WebRuntimeFeatures::EnableLocationHardReload(bool enable) { |
| 398 RuntimeEnabledFeatures::setLocationHardReloadEnabled(enable); | 402 RuntimeEnabledFeatures::setLocationHardReloadEnabled(enable); |
| 399 } | 403 } |
| 400 | 404 |
| 401 } // namespace blink | 405 } // namespace blink |
| OLD | NEW |