| 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 } | 211 } |
| 212 | 212 |
| 213 void WebRuntimeFeatures::enablePagePopup(bool enable) { | 213 void WebRuntimeFeatures::enablePagePopup(bool enable) { |
| 214 RuntimeEnabledFeatures::setPagePopupEnabled(enable); | 214 RuntimeEnabledFeatures::setPagePopupEnabled(enable); |
| 215 } | 215 } |
| 216 | 216 |
| 217 void WebRuntimeFeatures::enableMiddleClickAutoscroll(bool enable) { | 217 void WebRuntimeFeatures::enableMiddleClickAutoscroll(bool enable) { |
| 218 RuntimeEnabledFeatures::setMiddleClickAutoscrollEnabled(enable); | 218 RuntimeEnabledFeatures::setMiddleClickAutoscrollEnabled(enable); |
| 219 } | 219 } |
| 220 | 220 |
| 221 void WebRuntimeFeatures::enableParseHTMLOnMainThread(bool enable) { | |
| 222 RuntimeEnabledFeatures::setParseHTMLOnMainThreadEnabled(enable); | |
| 223 } | |
| 224 | |
| 225 void WebRuntimeFeatures::enablePassiveDocumentEventListeners(bool enable) { | 221 void WebRuntimeFeatures::enablePassiveDocumentEventListeners(bool enable) { |
| 226 RuntimeEnabledFeatures::setPassiveDocumentEventListenersEnabled(enable); | 222 RuntimeEnabledFeatures::setPassiveDocumentEventListenersEnabled(enable); |
| 227 } | 223 } |
| 228 | 224 |
| 229 void WebRuntimeFeatures::enablePaymentRequest(bool enable) { | 225 void WebRuntimeFeatures::enablePaymentRequest(bool enable) { |
| 230 RuntimeEnabledFeatures::setPaymentRequestEnabled(enable); | 226 RuntimeEnabledFeatures::setPaymentRequestEnabled(enable); |
| 231 } | 227 } |
| 232 | 228 |
| 233 void WebRuntimeFeatures::enablePermissionsAPI(bool enable) { | 229 void WebRuntimeFeatures::enablePermissionsAPI(bool enable) { |
| 234 RuntimeEnabledFeatures::setPermissionsEnabled(enable); | 230 RuntimeEnabledFeatures::setPermissionsEnabled(enable); |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 | 370 |
| 375 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { | 371 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { |
| 376 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); | 372 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); |
| 377 } | 373 } |
| 378 | 374 |
| 379 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { | 375 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { |
| 380 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); | 376 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); |
| 381 } | 377 } |
| 382 | 378 |
| 383 } // namespace blink | 379 } // namespace blink |
| OLD | NEW |