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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable) | 296 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable) |
297 { | 297 { |
298 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); | 298 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); |
299 } | 299 } |
300 | 300 |
301 void WebRuntimeFeatures::enablePushMessaging(bool enable) | 301 void WebRuntimeFeatures::enablePushMessaging(bool enable) |
302 { | 302 { |
303 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); | 303 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); |
304 } | 304 } |
305 | 305 |
| 306 void WebRuntimeFeatures::enableListMarkerPseudoElement(bool enable) |
| 307 { |
| 308 RuntimeEnabledFeatures::setListMarkerPseudoElementEnabled(enable); |
| 309 } |
| 310 |
306 void WebRuntimeFeatures::enablePushMessagingData(bool enable) | 311 void WebRuntimeFeatures::enablePushMessagingData(bool enable) |
307 { | 312 { |
308 RuntimeEnabledFeatures::setPushMessagingDataEnabled(enable); | 313 RuntimeEnabledFeatures::setPushMessagingDataEnabled(enable); |
309 } | 314 } |
310 | 315 |
311 void WebRuntimeFeatures::enablePushMessagingHasPermission(bool enable) | 316 void WebRuntimeFeatures::enablePushMessagingHasPermission(bool enable) |
312 { | 317 { |
313 RuntimeEnabledFeatures::setPushMessagingHasPermissionEnabled(enable); | 318 RuntimeEnabledFeatures::setPushMessagingHasPermissionEnabled(enable); |
314 } | 319 } |
315 | 320 |
316 void WebRuntimeFeatures::enableStaleWhileRevalidateCacheControl(bool enable) | 321 void WebRuntimeFeatures::enableStaleWhileRevalidateCacheControl(bool enable) |
317 { | 322 { |
318 RuntimeEnabledFeatures::setStaleWhileRevalidateCacheControlEnabled(enable); | 323 RuntimeEnabledFeatures::setStaleWhileRevalidateCacheControlEnabled(enable); |
319 } | 324 } |
320 | 325 |
321 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable) | 326 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable) |
322 { | 327 { |
323 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); | 328 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); |
324 } | 329 } |
325 | 330 |
326 void WebRuntimeFeatures::enableWebVR(bool enable) | 331 void WebRuntimeFeatures::enableWebVR(bool enable) |
327 { | 332 { |
328 RuntimeEnabledFeatures::setWebVREnabled(enable); | 333 RuntimeEnabledFeatures::setWebVREnabled(enable); |
329 } | 334 } |
330 | 335 |
331 } // namespace blink | 336 } // namespace blink |
OLD | NEW |