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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 void WebRuntimeFeatures::enableCSSViewport(bool enable) | 284 void WebRuntimeFeatures::enableCSSViewport(bool enable) |
285 { | 285 { |
286 RuntimeEnabledFeatures::setCSSViewportEnabled(enable); | 286 RuntimeEnabledFeatures::setCSSViewportEnabled(enable); |
287 } | 287 } |
288 | 288 |
289 void WebRuntimeFeatures::enableV8IdleTasks(bool enable) | 289 void WebRuntimeFeatures::enableV8IdleTasks(bool enable) |
290 { | 290 { |
291 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); | 291 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); |
292 } | 292 } |
293 | 293 |
294 void WebRuntimeFeatures::enableSVG1DOM(bool enable) | |
295 { | |
296 RuntimeEnabledFeatures::setSVG1DOMEnabled(enable); | |
297 } | |
298 | |
299 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable) | 294 void WebRuntimeFeatures::enableReducedReferrerGranularity(bool enable) |
300 { | 295 { |
301 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); | 296 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); |
302 } | 297 } |
303 | 298 |
304 void WebRuntimeFeatures::enablePushMessaging(bool enable) | 299 void WebRuntimeFeatures::enablePushMessaging(bool enable) |
305 { | 300 { |
306 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); | 301 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); |
307 } | 302 } |
308 | 303 |
(...skipping 16 matching lines...) Expand all Loading... |
325 { | 320 { |
326 RuntimeEnabledFeatures::setNewMediaPlaybackUiEnabled(enable); | 321 RuntimeEnabledFeatures::setNewMediaPlaybackUiEnabled(enable); |
327 } | 322 } |
328 | 323 |
329 void WebRuntimeFeatures::enablePresentationAPI(bool enable) | 324 void WebRuntimeFeatures::enablePresentationAPI(bool enable) |
330 { | 325 { |
331 RuntimeEnabledFeatures::setPresentationEnabled(enable); | 326 RuntimeEnabledFeatures::setPresentationEnabled(enable); |
332 } | 327 } |
333 | 328 |
334 } // namespace blink | 329 } // namespace blink |
OLD | NEW |