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

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 and resolving merge conflicts 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 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 // The prefix used when starting the zygote process. (i.e. 'gdb --args') 633 // The prefix used when starting the zygote process. (i.e. 'gdb --args')
634 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; 634 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
635 635
636 // Causes the process to run as a renderer zygote. 636 // Causes the process to run as a renderer zygote.
637 const char kZygoteProcess[] = "zygote"; 637 const char kZygoteProcess[] = "zygote";
638 638
639 // Enables moving cursor by word in visual order. 639 // Enables moving cursor by word in visual order.
640 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; 640 const char kEnableVisualWordMovement[] = "enable-visual-word-movement";
641 641
642 #if defined(OS_ANDROID) 642 #if defined(OS_ANDROID)
643 // Disable history logging for media elements.
644 const char kDisableMediaHistoryLogging[] = "disable-media-history";
645
646 // Whether to run media elements in the renderer process.
647 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process";
648
643 // Set when Chromium should use a mobile user agent. 649 // Set when Chromium should use a mobile user agent.
644 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 650 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
645 // Omnibus flag setting an Android graphics mode. May be: 651 // Omnibus flag setting an Android graphics mode. May be:
646 // "basic" (untiled software path) 652 // "basic" (untiled software path)
647 // "compositor" (hardware-accelerated compositing), 653 // "compositor" (hardware-accelerated compositing),
648 const char kGraphicsMode[] = "graphics-mode"; 654 const char kGraphicsMode[] = "graphics-mode";
649 const char kGraphicsModeValueBasic[] = "basic"; 655 const char kGraphicsModeValueBasic[] = "basic";
650 const char kGraphicsModeValueCompositor[] = "compositor"; 656 const char kGraphicsModeValueCompositor[] = "compositor";
651 657
652 // The telephony region (ISO country code) to use in phone number detection. 658 // The telephony region (ISO country code) to use in phone number detection.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 // Sets the width and height above which a composited layer will get tiled. 699 // Sets the width and height above which a composited layer will get tiled.
694 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 700 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
695 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 701 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
696 702
697 const char kEnableFixedPositionCreatesStackingContext[] 703 const char kEnableFixedPositionCreatesStackingContext[]
698 = "enable-fixed-position-creates-stacking-context"; 704 = "enable-fixed-position-creates-stacking-context";
699 const char kDisableFixedPositionCreatesStackingContext[] 705 const char kDisableFixedPositionCreatesStackingContext[]
700 = "disable-fixed-position-creates-stacking-context"; 706 = "disable-fixed-position-creates-stacking-context";
701 707
702 } // namespace switches 708 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/media/webmediaplayer_proxy_impl_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698