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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
291 } | 291 } |
292 | 292 |
293 void WebRuntimeFeatures::EnablePreciseMemoryInfo(bool enable) { | 293 void WebRuntimeFeatures::EnablePreciseMemoryInfo(bool enable) { |
294 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable); | 294 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable); |
295 } | 295 } |
296 | 296 |
297 void WebRuntimeFeatures::EnablePrintBrowser(bool enable) { | 297 void WebRuntimeFeatures::EnablePrintBrowser(bool enable) { |
298 RuntimeEnabledFeatures::setPrintBrowserEnabled(enable); | 298 RuntimeEnabledFeatures::setPrintBrowserEnabled(enable); |
299 } | 299 } |
300 | 300 |
301 void WebRuntimeFeatures::EnableCredentialManagerAPI(bool enable) { | |
302 RuntimeEnabledFeatures::setCredentialManagerEnabled(enable); | |
jdoerrie
2017/04/26 12:20:35
Dropping the entry in RuntimeEnabledFeatures.json5
vasilii
2017/04/26 17:44:09
yes.
| |
303 } | |
304 | |
305 void WebRuntimeFeatures::EnableV8IdleTasks(bool enable) { | 301 void WebRuntimeFeatures::EnableV8IdleTasks(bool enable) { |
306 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); | 302 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); |
307 } | 303 } |
308 | 304 |
309 void WebRuntimeFeatures::EnableReducedReferrerGranularity(bool enable) { | 305 void WebRuntimeFeatures::EnableReducedReferrerGranularity(bool enable) { |
310 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); | 306 RuntimeEnabledFeatures::setReducedReferrerGranularityEnabled(enable); |
311 } | 307 } |
312 | 308 |
313 void WebRuntimeFeatures::EnablePushMessaging(bool enable) { | 309 void WebRuntimeFeatures::EnablePushMessaging(bool enable) { |
314 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); | 310 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
394 | 390 |
395 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { | 391 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { |
396 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); | 392 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); |
397 } | 393 } |
398 | 394 |
399 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { | 395 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { |
400 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); | 396 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); |
401 } | 397 } |
402 | 398 |
403 } // namespace blink | 399 } // namespace blink |
OLD | NEW |