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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 } | 295 } |
296 | 296 |
297 void WebRuntimeFeatures::EnablePreciseMemoryInfo(bool enable) { | 297 void WebRuntimeFeatures::EnablePreciseMemoryInfo(bool enable) { |
298 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable); | 298 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable); |
299 } | 299 } |
300 | 300 |
301 void WebRuntimeFeatures::EnablePrintBrowser(bool enable) { | 301 void WebRuntimeFeatures::EnablePrintBrowser(bool enable) { |
302 RuntimeEnabledFeatures::setPrintBrowserEnabled(enable); | 302 RuntimeEnabledFeatures::setPrintBrowserEnabled(enable); |
303 } | 303 } |
304 | 304 |
305 void WebRuntimeFeatures::EnableCredentialManagerAPI(bool enable) { | |
306 RuntimeEnabledFeatures::setCredentialManagerEnabled(enable); | |
307 } | |
308 | |
309 void WebRuntimeFeatures::EnableV8IdleTasks(bool enable) { | 305 void WebRuntimeFeatures::EnableV8IdleTasks(bool enable) { |
310 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); | 306 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); |
311 } | 307 } |
312 | 308 |
313 void WebRuntimeFeatures::EnableReducedReferrerGranularity(bool enable) { | 309 void WebRuntimeFeatures::EnableReducedReferrerGranularity(bool enable) { |
314 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); | 310 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); |
315 } | 311 } |
316 | 312 |
317 void WebRuntimeFeatures::EnablePushMessaging(bool enable) { | 313 void WebRuntimeFeatures::EnablePushMessaging(bool enable) { |
318 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); | 314 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 | 394 |
399 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { | 395 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { |
400 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); | 396 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); |
401 } | 397 } |
402 | 398 |
403 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { | 399 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { |
404 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); | 400 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); |
405 } | 401 } |
406 | 402 |
407 } // namespace blink | 403 } // namespace blink |
OLD | NEW |