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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 void WebRuntimeFeatures::enablePagePopup(bool enable) | 193 void WebRuntimeFeatures::enablePagePopup(bool enable) |
194 { | 194 { |
195 RuntimeEnabledFeatures::setPagePopupEnabled(enable); | 195 RuntimeEnabledFeatures::setPagePopupEnabled(enable); |
196 } | 196 } |
197 | 197 |
198 void WebRuntimeFeatures::enableParseHTMLOnMainThread(bool enable) | 198 void WebRuntimeFeatures::enableParseHTMLOnMainThread(bool enable) |
199 { | 199 { |
200 RuntimeEnabledFeatures::setParseHTMLOnMainThreadEnabled(enable); | 200 RuntimeEnabledFeatures::setParseHTMLOnMainThreadEnabled(enable); |
201 } | 201 } |
202 | 202 |
| 203 void WebRuntimeFeatures::enablePassiveDocumentEventListeners(bool enable) |
| 204 { |
| 205 RuntimeEnabledFeatures::setPassiveDocumentEventListenersEnabled(enable); |
| 206 } |
| 207 |
203 void WebRuntimeFeatures::enablePermissionsAPI(bool enable) | 208 void WebRuntimeFeatures::enablePermissionsAPI(bool enable) |
204 { | 209 { |
205 RuntimeEnabledFeatures::setPermissionsEnabled(enable); | 210 RuntimeEnabledFeatures::setPermissionsEnabled(enable); |
206 } | 211 } |
207 | 212 |
208 void WebRuntimeFeatures::enablePointerEvent(bool enable) | 213 void WebRuntimeFeatures::enablePointerEvent(bool enable) |
209 { | 214 { |
210 RuntimeEnabledFeatures::setPointerEventEnabled(enable); | 215 RuntimeEnabledFeatures::setPointerEventEnabled(enable); |
211 } | 216 } |
212 | 217 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 { | 334 { |
330 RuntimeEnabledFeatures::setScrollAnchoringEnabled(enable); | 335 RuntimeEnabledFeatures::setScrollAnchoringEnabled(enable); |
331 } | 336 } |
332 | 337 |
333 void WebRuntimeFeatures::enableAutoplayMutedVideos(bool enable) | 338 void WebRuntimeFeatures::enableAutoplayMutedVideos(bool enable) |
334 { | 339 { |
335 RuntimeEnabledFeatures::setAutoplayMutedVideosEnabled(enable); | 340 RuntimeEnabledFeatures::setAutoplayMutedVideosEnabled(enable); |
336 } | 341 } |
337 | 342 |
338 } // namespace blink | 343 } // namespace blink |
OLD | NEW |