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

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

Issue 11066101: Tentatively turn on WebMediaPlayerMS by default. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: use static function to check if url is media stream Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/media/media_stream_impl.h » ('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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // Enables the GPU benchmarking extension 294 // Enables the GPU benchmarking extension
295 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; 295 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
296 296
297 // Force logging to be enabled. Logging is disabled by default in release 297 // Force logging to be enabled. Logging is disabled by default in release
298 // builds. 298 // builds.
299 const char kEnableLogging[] = "enable-logging"; 299 const char kEnableLogging[] = "enable-logging";
300 300
301 // Disable Media Source API on <audio>/<video> elements. 301 // Disable Media Source API on <audio>/<video> elements.
302 const char kDisableMediaSource[] = "disable-media-source"; 302 const char kDisableMediaSource[] = "disable-media-source";
303 303
304 // Enables using WebMediaPlayerMS for src of <audio>/<video> derived from 304 // Disables using WebMediaPlayerMS for src of <audio>/<video> derived from
305 // media stream. 305 // media stream.
306 const char kEnableWebMediaPlayerMS[] = "enable-web-media-player-ms"; 306 const char kDisableWebMediaPlayerMS[] = "disable-web-media-player-ms";
307 307
308 // On Windows, converts the page to the currently-installed monitor profile. 308 // On Windows, converts the page to the currently-installed monitor profile.
309 // This does NOT enable color management for images. The source is still 309 // This does NOT enable color management for images. The source is still
310 // assumed to be sRGB. 310 // assumed to be sRGB.
311 const char kEnableMonitorProfile[] = "enable-monitor-profile"; 311 const char kEnableMonitorProfile[] = "enable-monitor-profile";
312 312
313 // Enables partial swaps in the WK compositor on platforms that support it. 313 // Enables partial swaps in the WK compositor on platforms that support it.
314 const char kEnablePartialSwap[] = "enable-partial-swap"; 314 const char kEnablePartialSwap[] = "enable-partial-swap";
315 315
316 // Enables UI releasing handle to front surface for background tabs on platforms 316 // Enables UI releasing handle to front surface for background tabs on platforms
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 // Sets the width and height above which a composited layer will get tiled. 737 // Sets the width and height above which a composited layer will get tiled.
738 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 738 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
739 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 739 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
740 740
741 const char kEnableFixedPositionCreatesStackingContext[] 741 const char kEnableFixedPositionCreatesStackingContext[]
742 = "enable-fixed-position-creates-stacking-context"; 742 = "enable-fixed-position-creates-stacking-context";
743 const char kDisableFixedPositionCreatesStackingContext[] 743 const char kDisableFixedPositionCreatesStackingContext[]
744 = "disable-fixed-position-creates-stacking-context"; 744 = "disable-fixed-position-creates-stacking-context";
745 745
746 } // namespace switches 746 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/media/media_stream_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698