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

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

Issue 10879089: Turn track on by default (switch --enable-video-track flag to --disable-video-track) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: alpha ordering as per jam Created 8 years, 3 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/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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // TODO(primiano): Remove the two switches below when the URL becomes public. 205 // TODO(primiano): Remove the two switches below when the URL becomes public.
206 // Specifies the webservice URL for continuous speech recognition. 206 // Specifies the webservice URL for continuous speech recognition.
207 const char kSpeechRecognitionWebserviceURL[] = "speech-service"; 207 const char kSpeechRecognitionWebserviceURL[] = "speech-service";
208 208
209 // Specifies the request key for the continuous speech recognition webservice. 209 // Specifies the request key for the continuous speech recognition webservice.
210 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; 210 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key";
211 211
212 // Disables animation on the compositor thread. 212 // Disables animation on the compositor thread.
213 const char kDisableThreadedAnimation[] = "disable-threaded-animation"; 213 const char kDisableThreadedAnimation[] = "disable-threaded-animation";
214 214
215 // Disables video text tracks.
216 const char kDisableVideoTrack[] = "disable-video-track";
217
215 #if defined(OS_ANDROID) 218 #if defined(OS_ANDROID)
216 // Enable web audio API. 219 // Enable web audio API.
217 const char kEnableWebAudio[] = "enable-webaudio"; 220 const char kEnableWebAudio[] = "enable-webaudio";
218 #else 221 #else
219 // Disable web audio API. 222 // Disable web audio API.
220 const char kDisableWebAudio[] = "disable-webaudio"; 223 const char kDisableWebAudio[] = "disable-webaudio";
221 #endif 224 #endif
222 225
223 // Don't enforce the same-origin policy. (Used by people testing their sites.) 226 // Don't enforce the same-origin policy. (Used by people testing their sites.)
224 const char kDisableWebSecurity[] = "disable-web-security"; 227 const char kDisableWebSecurity[] = "disable-web-security";
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; 374 const char kDisableThreadedCompositing[] = "disable-threaded-compositing";
372 375
373 // Enable use of experimental TCP sockets API for sending data in the 376 // Enable use of experimental TCP sockets API for sending data in the
374 // SYN packet. 377 // SYN packet.
375 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; 378 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen";
376 379
377 // Disables hardware acceleration of video decode, where available. 380 // Disables hardware acceleration of video decode, where available.
378 const char kDisableAcceleratedVideoDecode[] = 381 const char kDisableAcceleratedVideoDecode[] =
379 "disable-accelerated-video-decode"; 382 "disable-accelerated-video-decode";
380 383
381 // Enables support for video tracks. Current implementation is
382 // incomplete and this flag is used for development and testing.
383 const char kEnableVideoTrack[] = "enable-video-track";
384
385 // Enables the use of the viewport meta tag, which allows 384 // Enables the use of the viewport meta tag, which allows
386 // pages to control aspects of their own layout. This also turns on touch-screen 385 // pages to control aspects of their own layout. This also turns on touch-screen
387 // pinch gestures. 386 // pinch gestures.
388 const char kEnableViewport[] = "enable-viewport"; 387 const char kEnableViewport[] = "enable-viewport";
389 388
390 // Enables experimental features for the geolocation API. 389 // Enables experimental features for the geolocation API.
391 // Current features: 390 // Current features:
392 // - CoreLocation support for Mac OS X 10.6 391 // - CoreLocation support for Mac OS X 10.6
393 // - Gateway location for Linux and Windows 392 // - Gateway location for Linux and Windows
394 // - Location platform support for Windows 7 393 // - Location platform support for Windows 7
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 // Sets the width and height above which a composited layer will get tiled. 713 // Sets the width and height above which a composited layer will get tiled.
715 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 714 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
716 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 715 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
717 716
718 const char kEnableFixedPositionCreatesStackingContext[] 717 const char kEnableFixedPositionCreatesStackingContext[]
719 = "enable-fixed-position-creates-stacking-context"; 718 = "enable-fixed-position-creates-stacking-context";
720 const char kDisableFixedPositionCreatesStackingContext[] 719 const char kDisableFixedPositionCreatesStackingContext[]
721 = "disable-fixed-position-creates-stacking-context"; 720 = "disable-fixed-position-creates-stacking-context";
722 721
723 } // namespace switches 722 } // 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