| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 } | 159 } |
| 160 | 160 |
| 161 void WebRuntimeFeatures::enableMediaCapture(bool enable) { | 161 void WebRuntimeFeatures::enableMediaCapture(bool enable) { |
| 162 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); | 162 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); |
| 163 } | 163 } |
| 164 | 164 |
| 165 void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable) { | 165 void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable) { |
| 166 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable); | 166 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable); |
| 167 } | 167 } |
| 168 | 168 |
| 169 void WebRuntimeFeatures::enableMediaSession(bool enable) { |
| 170 RuntimeEnabledFeatures::setMediaSessionEnabled(enable); |
| 171 } |
| 172 |
| 169 void WebRuntimeFeatures::enableNotificationConstructor(bool enable) { | 173 void WebRuntimeFeatures::enableNotificationConstructor(bool enable) { |
| 170 RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable); | 174 RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable); |
| 171 } | 175 } |
| 172 | 176 |
| 173 void WebRuntimeFeatures::enableNotificationContentImage(bool enable) { | 177 void WebRuntimeFeatures::enableNotificationContentImage(bool enable) { |
| 174 RuntimeEnabledFeatures::setNotificationContentImageEnabled(enable); | 178 RuntimeEnabledFeatures::setNotificationContentImageEnabled(enable); |
| 175 } | 179 } |
| 176 | 180 |
| 177 void WebRuntimeFeatures::enableNotifications(bool enable) { | 181 void WebRuntimeFeatures::enableNotifications(bool enable) { |
| 178 RuntimeEnabledFeatures::setNotificationsEnabled(enable); | 182 RuntimeEnabledFeatures::setNotificationsEnabled(enable); |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 | 370 |
| 367 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { | 371 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { |
| 368 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); | 372 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); |
| 369 } | 373 } |
| 370 | 374 |
| 371 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { | 375 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { |
| 372 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); | 376 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); |
| 373 } | 377 } |
| 374 | 378 |
| 375 } // namespace blink | 379 } // namespace blink |
| OLD | NEW |