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

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

Issue 9433046: Add flag that enable Encrypted Media Extensions on video elements. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 // Enable the JavaScript Pointer Lock API. 241 // Enable the JavaScript Pointer Lock API.
242 const char kEnablePointerLock[] = "enable-pointer-lock"; 242 const char kEnablePointerLock[] = "enable-pointer-lock";
243 243
244 // Enable the Gamepad API 244 // Enable the Gamepad API
245 const char kEnableGamepad[] = "enable-gamepad"; 245 const char kEnableGamepad[] = "enable-gamepad";
246 246
247 // Force logging to be enabled. Logging is disabled by default in release 247 // Force logging to be enabled. Logging is disabled by default in release
248 // builds. 248 // builds.
249 const char kEnableLogging[] = "enable-logging"; 249 const char kEnableLogging[] = "enable-logging";
250 250
251 // Enables support for encrypted media. Current implementation is
252 // incomplete and this flag is used for development and testing.
ddorwin 2012/02/22 19:08:27 Is there an example of the second sentence in this
xhwang 2012/02/22 19:15:57 I basically borrowed this from VideoTrack (line 32
253 const char kEnableMediaEncrypted[] = "enable-encrypted-media";
254
251 // Enables Media Source API on <audio>/<video> elements. 255 // Enables Media Source API on <audio>/<video> elements.
252 const char kEnableMediaSource[] = "enable-media-source"; 256 const char kEnableMediaSource[] = "enable-media-source";
253 257
254 // Enable media stream in WebKit. 258 // Enable media stream in WebKit.
255 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr eam 259 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr eam
256 const char kEnableMediaStream[] = "enable-media-stream"; 260 const char kEnableMediaStream[] = "enable-media-stream";
257 261
258 // On Windows, converts the page to the currently-installed monitor profile. 262 // On Windows, converts the page to the currently-installed monitor profile.
259 // This does NOT enable color management for images. The source is still 263 // This does NOT enable color management for images. The source is still
260 // assumed to be sRGB. 264 // assumed to be sRGB.
261 const char kEnableMonitorProfile[] = "enable-monitor-profile"; 265 const char kEnableMonitorProfile[] = "enable-monitor-profile";
262 266
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; 619 const char kRendererCheckFalseTest[] = "renderer-check-false-test";
616 #endif 620 #endif
617 621
618 // Enable per-tile page painting. 622 // Enable per-tile page painting.
619 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; 623 const char kEnablePerTilePainting[] = "enable-per-tile-painting";
620 624
621 // Disables the use of a 3D software rasterizer. 625 // Disables the use of a 3D software rasterizer.
622 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; 626 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer";
623 627
624 } // namespace switches 628 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698