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

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

Issue 10919075: Move android mediaplayer from render process to browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing comments 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
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 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 // The prefix used when starting the zygote process. (i.e. 'gdb --args') 656 // The prefix used when starting the zygote process. (i.e. 'gdb --args')
657 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; 657 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
658 658
659 // Causes the process to run as a renderer zygote. 659 // Causes the process to run as a renderer zygote.
660 const char kZygoteProcess[] = "zygote"; 660 const char kZygoteProcess[] = "zygote";
661 661
662 // Enables moving cursor by word in visual order. 662 // Enables moving cursor by word in visual order.
663 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; 663 const char kEnableVisualWordMovement[] = "enable-visual-word-movement";
664 664
665 #if defined(OS_ANDROID) 665 #if defined(OS_ANDROID)
666 // Disable history logging in mediaplayer
scherkus (not reviewing) 2012/09/07 13:17:35 s/in mediaplayer/for media elements./ (don't forge
qinmin 2012/09/07 22:48:27 Done.
667 const char kDisableMediaHistoryLogging[] = "disable-media-history";
668
669 // Running mediaplayer in renderer process.
scherkus (not reviewing) 2012/09/07 13:17:35 reword suggestion: Whether to run the media elemen
qinmin 2012/09/07 22:48:27 Done.
670 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process";
671
666 // Set when Chromium should use a mobile user agent. 672 // Set when Chromium should use a mobile user agent.
667 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 673 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
668 // Omnibus flag setting an Android graphics mode. May be: 674 // Omnibus flag setting an Android graphics mode. May be:
669 // "basic" (untiled software path) 675 // "basic" (untiled software path)
670 // "compositor" (hardware-accelerated compositing), 676 // "compositor" (hardware-accelerated compositing),
671 const char kGraphicsMode[] = "graphics-mode"; 677 const char kGraphicsMode[] = "graphics-mode";
672 const char kGraphicsModeValueBasic[] = "basic"; 678 const char kGraphicsModeValueBasic[] = "basic";
673 const char kGraphicsModeValueCompositor[] = "compositor"; 679 const char kGraphicsModeValueCompositor[] = "compositor";
674 680
675 // The telephony region (ISO country code) to use in phone number detection. 681 // The telephony region (ISO country code) to use in phone number detection.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 // Sets the width and height above which a composited layer will get tiled. 722 // Sets the width and height above which a composited layer will get tiled.
717 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 723 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
718 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 724 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
719 725
720 const char kEnableFixedPositionCreatesStackingContext[] 726 const char kEnableFixedPositionCreatesStackingContext[]
721 = "enable-fixed-position-creates-stacking-context"; 727 = "enable-fixed-position-creates-stacking-context";
722 const char kDisableFixedPositionCreatesStackingContext[] 728 const char kDisableFixedPositionCreatesStackingContext[]
723 = "disable-fixed-position-creates-stacking-context"; 729 = "disable-fixed-position-creates-stacking-context";
724 730
725 } // namespace switches 731 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698