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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable) | 306 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable) |
307 { | 307 { |
308 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); | 308 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); |
309 } | 309 } |
310 | 310 |
311 void WebRuntimeFeatures::enablePushMessaging(bool enable) | 311 void WebRuntimeFeatures::enablePushMessaging(bool enable) |
312 { | 312 { |
313 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); | 313 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); |
314 } | 314 } |
315 | 315 |
| 316 void WebRuntimeFeatures::enableListMarkerPseudoElement(bool enable) |
| 317 { |
| 318 RuntimeEnabledFeatures::setListMarkerPseudoElementEnabled(enable); |
| 319 } |
| 320 |
316 void WebRuntimeFeatures::enablePushMessagingData(bool enable) | 321 void WebRuntimeFeatures::enablePushMessagingData(bool enable) |
317 { | 322 { |
318 RuntimeEnabledFeatures::setPushMessagingDataEnabled(enable); | 323 RuntimeEnabledFeatures::setPushMessagingDataEnabled(enable); |
319 } | 324 } |
320 | 325 |
321 void WebRuntimeFeatures::enablePushMessagingHasPermission(bool enable) | 326 void WebRuntimeFeatures::enablePushMessagingHasPermission(bool enable) |
322 { | 327 { |
323 RuntimeEnabledFeatures::setPushMessagingHasPermissionEnabled(enable); | 328 RuntimeEnabledFeatures::setPushMessagingHasPermissionEnabled(enable); |
324 } | 329 } |
325 | 330 |
326 void WebRuntimeFeatures::enableStaleWhileRevalidateCacheControl(bool enable) | 331 void WebRuntimeFeatures::enableStaleWhileRevalidateCacheControl(bool enable) |
327 { | 332 { |
328 RuntimeEnabledFeatures::setStaleWhileRevalidateCacheControlEnabled(enable); | 333 RuntimeEnabledFeatures::setStaleWhileRevalidateCacheControlEnabled(enable); |
329 } | 334 } |
330 | 335 |
331 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable) | 336 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable) |
332 { | 337 { |
333 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); | 338 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); |
334 } | 339 } |
335 | 340 |
336 void WebRuntimeFeatures::enableWebVR(bool enable) | 341 void WebRuntimeFeatures::enableWebVR(bool enable) |
337 { | 342 { |
338 RuntimeEnabledFeatures::setWebVREnabled(enable); | 343 RuntimeEnabledFeatures::setWebVREnabled(enable); |
339 } | 344 } |
340 | 345 |
341 } // namespace blink | 346 } // namespace blink |
OLD | NEW |