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

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

Issue 15679014: Add --enable-webkit-media-source for Android instead of hardcoding it to be disabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add chrome bits Created 7 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 | « 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 // Enables the memory benchmarking extension 347 // Enables the memory benchmarking extension
348 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; 348 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking";
349 349
350 // Enables the Skia benchmarking extension 350 // Enables the Skia benchmarking extension
351 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; 351 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking";
352 352
353 // Force logging to be enabled. Logging is disabled by default in release 353 // Force logging to be enabled. Logging is disabled by default in release
354 // builds. 354 // builds.
355 const char kEnableLogging[] = "enable-logging"; 355 const char kEnableLogging[] = "enable-logging";
356 356
357 // Disable prefixed Media Source API (i.e., the WebKitMediaSource object). 357 // Enable for Android (see http://crbug.com/233420) or disable for desktop the
358 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; 358 // prefixed Media Source API (i.e., the WebKitMediaSource object).
359 #if defined(ANDROID) && !defined(GOOGLE_TV)
360 const char kEnableWebKitMediaSource[] = "enable-webkit-media-source";
361 #else
362 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source";
363 #endif
359 364
360 // Use fake device for MediaStream to replace actual camera and microphone. 365 // Use fake device for MediaStream to replace actual camera and microphone.
361 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; 366 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream";
362 367
363 // On Windows, converts the page to the currently-installed monitor profile. 368 // On Windows, converts the page to the currently-installed monitor profile.
364 // This does NOT enable color management for images. The source is still 369 // This does NOT enable color management for images. The source is still
365 // assumed to be sRGB. 370 // assumed to be sRGB.
366 const char kEnableMonitorProfile[] = "enable-monitor-profile"; 371 const char kEnableMonitorProfile[] = "enable-monitor-profile";
367 372
368 // Enables compositor-accelerated touch-screen pinch gestures. 373 // Enables compositor-accelerated touch-screen pinch gestures.
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 const char kOverscrollHistoryNavigation[] = 834 const char kOverscrollHistoryNavigation[] =
830 "overscroll-history-navigation"; 835 "overscroll-history-navigation";
831 836
832 // Forward overscroll event data from the renderer to the browser. 837 // Forward overscroll event data from the renderer to the browser.
833 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; 838 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications";
834 839
835 // Enables 'image/webp' accept header for image requests. 840 // Enables 'image/webp' accept header for image requests.
836 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; 841 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
837 842
838 } // namespace switches 843 } // 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