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

Side by Side Diff: content/public/common/content_switches.cc

Issue 865793003: Replace "enable-encrypted-media" flag with "disable-encrypted-media". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 // 1. Enable: allow browser to use display list for 2d canvas (browser makes 305 // 1. Enable: allow browser to use display list for 2d canvas (browser makes
306 // decision). 306 // decision).
307 // 2. Force: browser always uses display list for 2d canvas. 307 // 2. Force: browser always uses display list for 2d canvas.
308 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; 308 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas";
309 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; 309 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas";
310 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; 310 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas";
311 311
312 // Enables restarting interrupted downloads. 312 // Enables restarting interrupted downloads.
313 const char kEnableDownloadResumption[] = "enable-download-resumption"; 313 const char kEnableDownloadResumption[] = "enable-download-resumption";
314 314
315 // Enables support for Encrypted Media Extensions (e.g. MediaKeys). 315 // Disables (unprefixed) Encrypted Media Extensions.
316 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; 316 const char kDisableEncryptedMedia[] = "disable-encrypted-media";
317 317
318 // Enable experimental canvas features, e.g. canvas 2D context attributes 318 // Enable experimental canvas features, e.g. canvas 2D context attributes
319 const char kEnableExperimentalCanvasFeatures[] = 319 const char kEnableExperimentalCanvasFeatures[] =
320 "enable-experimental-canvas-features"; 320 "enable-experimental-canvas-features";
321 321
322 // Enables Web Platform features that are in development. 322 // Enables Web Platform features that are in development.
323 const char kEnableExperimentalWebPlatformFeatures[] = 323 const char kEnableExperimentalWebPlatformFeatures[] =
324 "enable-experimental-web-platform-features"; 324 "enable-experimental-web-platform-features";
325 325
326 // By default, cookies are not allowed on file://. They are needed for testing, 326 // By default, cookies are not allowed on file://. They are needed for testing,
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) 973 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown))
974 return false; 974 return false;
975 // Default. 975 // Default.
976 return group_name == "Enabled"; 976 return group_name == "Enabled";
977 } 977 }
978 #endif 978 #endif
979 979
980 // Don't dump stuff here, follow the same order as the header. 980 // Don't dump stuff here, follow the same order as the header.
981 981
982 } // namespace switches 982 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698