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

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

Issue 11442056: Add external surface rendering mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Separated GLRenderer change out; refined messaging scheme. Created 7 years, 10 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
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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 // Enables moving cursor by word in visual order. 741 // Enables moving cursor by word in visual order.
742 const char kEnableVisualWordMovement[] = "enable-visual-word-movement"; 742 const char kEnableVisualWordMovement[] = "enable-visual-word-movement";
743 743
744 // Set when Chromium should use a mobile user agent. 744 // Set when Chromium should use a mobile user agent.
745 const char kUseMobileUserAgent[] = "use-mobile-user-agent"; 745 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
746 746
747 #if defined(OS_ANDROID) 747 #if defined(OS_ANDROID)
748 // Disable history logging for media elements. 748 // Disable history logging for media elements.
749 const char kDisableMediaHistoryLogging[] = "disable-media-history"; 749 const char kDisableMediaHistoryLogging[] = "disable-media-history";
750 750
751 // Set to enable compatibility with legacy WebView synchronous APIs.
752 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis";
753
751 // Whether to run media elements in the renderer process. 754 // Whether to run media elements in the renderer process.
752 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process"; 755 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process";
753 756
754 // The telephony region (ISO country code) to use in phone number detection. 757 // The telephony region (ISO country code) to use in phone number detection.
755 const char kNetworkCountryIso[] = "network-country-iso"; 758 const char kNetworkCountryIso[] = "network-country-iso";
756 759
757 // Set to enable compatibility with legacy WebView synchronous APIs. 760 // Render video on external surface instead of texture stream.
758 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; 761 const char kRenderVideoOnExternalSurface[] = "render-video-on-external-surface";
759 #endif 762 #endif
760 763
761 #if defined(OS_CHROMEOS) 764 #if defined(OS_CHROMEOS)
762 // Disables panel fitting (used for mirror mode). 765 // Disables panel fitting (used for mirror mode).
763 const char kDisablePanelFitting[] = "disable-panel-fitting"; 766 const char kDisablePanelFitting[] = "disable-panel-fitting";
764 #endif 767 #endif
765 768
766 #if defined(OS_POSIX) 769 #if defined(OS_POSIX)
767 // Causes the child processes to cleanly exit via calling exit(). 770 // Causes the child processes to cleanly exit via calling exit().
768 const char kChildCleanExit[] = "child-clean-exit"; 771 const char kChildCleanExit[] = "child-clean-exit";
(...skipping 28 matching lines...) Expand all
797 = "disable-fixed-position-creates-stacking-context"; 800 = "disable-fixed-position-creates-stacking-context";
798 801
799 // Defer image decoding in WebKit until painting. 802 // Defer image decoding in WebKit until painting.
800 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; 803 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
801 804
802 // Enables history navigation in response to horizontal overscroll. 805 // Enables history navigation in response to horizontal overscroll.
803 const char kEnableOverscrollHistoryNavigation[] = 806 const char kEnableOverscrollHistoryNavigation[] =
804 "enable-overscroll-history-navigation"; 807 "enable-overscroll-history-navigation";
805 808
806 } // namespace switches 809 } // 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