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

Side by Side Diff: media/base/media_switches.cc

Issue 2932553003: Enable spec-compliant canplaythrough event by default (Closed)
Patch Set: Created 3 years, 6 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 | « no previous file | no next file » | 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 "media/base/media_switches.h" 5 #include "media/base/media_switches.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "ppapi/features/features.h" 8 #include "ppapi/features/features.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // Note that mojo CDM support is still under development. Some features are 223 // Note that mojo CDM support is still under development. Some features are
224 // still missing and this feature should only be enabled for testing. 224 // still missing and this feature should only be enabled for testing.
225 const base::Feature kMojoCdm{"MojoCdm", base::FEATURE_DISABLED_BY_DEFAULT}; 225 const base::Feature kMojoCdm{"MojoCdm", base::FEATURE_DISABLED_BY_DEFAULT};
226 226
227 // Use the new Remote Playback / media flinging pipeline. 227 // Use the new Remote Playback / media flinging pipeline.
228 const base::Feature kNewRemotePlaybackPipeline{ 228 const base::Feature kNewRemotePlaybackPipeline{
229 "NewRemotePlaybackPipeline", base::FEATURE_DISABLED_BY_DEFAULT}; 229 "NewRemotePlaybackPipeline", base::FEATURE_DISABLED_BY_DEFAULT};
230 230
231 // CanPlayThrough issued according to standard. 231 // CanPlayThrough issued according to standard.
232 const base::Feature kSpecCompliantCanPlayThrough{ 232 const base::Feature kSpecCompliantCanPlayThrough{
233 "SpecCompliantCanPlayThrough", base::FEATURE_DISABLED_BY_DEFAULT}; 233 "SpecCompliantCanPlayThrough", base::FEATURE_ENABLED_BY_DEFAULT};
234 234
235 // Use shared block-based buffering for media. 235 // Use shared block-based buffering for media.
236 const base::Feature kUseNewMediaCache{"use-new-media-cache", 236 const base::Feature kUseNewMediaCache{"use-new-media-cache",
237 base::FEATURE_ENABLED_BY_DEFAULT}; 237 base::FEATURE_ENABLED_BY_DEFAULT};
238 238
239 // Correct video colors based on output display? 239 // Correct video colors based on output display?
240 const base::Feature kVideoColorManagement{"video-color-management", 240 const base::Feature kVideoColorManagement{"video-color-management",
241 base::FEATURE_DISABLED_BY_DEFAULT}; 241 base::FEATURE_DISABLED_BY_DEFAULT};
242 242
243 // Inform video blitter of video color space. 243 // Inform video blitter of video color space.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 304
305 // The default value is platform dependent. 305 // The default value is platform dependent.
306 #if defined(OS_ANDROID) 306 #if defined(OS_ANDROID)
307 return switches::autoplay::kUserGestureRequiredPolicy; 307 return switches::autoplay::kUserGestureRequiredPolicy;
308 #else 308 #else
309 return switches::autoplay::kNoUserGestureRequiredPolicy; 309 return switches::autoplay::kNoUserGestureRequiredPolicy;
310 #endif 310 #endif
311 } 311 }
312 312
313 } // namespace media 313 } // namespace media
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698