Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Side by Side Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2844453002: Update CM API IDL to use SecureContext (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698