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

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

Issue 11861008: Expose the capturePicture feature in RenderView for Android WebView legacy API support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 const char kDisableMediaHistoryLogging[] = "disable-media-history"; 720 const char kDisableMediaHistoryLogging[] = "disable-media-history";
721 721
722 // Whether to run media elements in the renderer process. 722 // Whether to run media elements in the renderer process.
723 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process"; 723 const char kMediaPlayerInRenderProcess[] = "media-player-in-render-process";
724 724
725 // The telephony region (ISO country code) to use in phone number detection. 725 // The telephony region (ISO country code) to use in phone number detection.
726 const char kNetworkCountryIso[] = "network-country-iso"; 726 const char kNetworkCountryIso[] = "network-country-iso";
727 727
728 // Set to enable compatibility with legacy WebView synchronous APIs. 728 // Set to enable compatibility with legacy WebView synchronous APIs.
729 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis"; 729 const char kEnableWebViewSynchronousAPIs[] = "enable-webview-synchronous-apis";
730
731 // Enables compatibility with the legacy WebView capture picture API.
732 const char kEnableWebViewCapturePictureAPI[] = "enable-webview-capture-picture";
730 #endif 733 #endif
731 734
732 #if defined(OS_POSIX) 735 #if defined(OS_POSIX)
733 // Causes the child processes to cleanly exit via calling exit(). 736 // Causes the child processes to cleanly exit via calling exit().
734 const char kChildCleanExit[] = "child-clean-exit"; 737 const char kChildCleanExit[] = "child-clean-exit";
735 #endif 738 #endif
736 739
737 #if defined(OS_MACOSX) || defined(OS_WIN) 740 #if defined(OS_MACOSX) || defined(OS_WIN)
738 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows) 741 // Use the system SSL library (Secure Transport on Mac, SChannel on Windows)
739 // instead of NSS for SSL. 742 // instead of NSS for SSL.
(...skipping 26 matching lines...) Expand all
766 = "disable-fixed-position-creates-stacking-context"; 769 = "disable-fixed-position-creates-stacking-context";
767 770
768 // Defer image decoding in WebKit until painting. 771 // Defer image decoding in WebKit until painting.
769 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; 772 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
770 773
771 // Enables history navigation in response to horizontal overscroll. 774 // Enables history navigation in response to horizontal overscroll.
772 const char kEnableOverscrollHistoryNavigation[] = 775 const char kEnableOverscrollHistoryNavigation[] =
773 "enable-overscroll-history-navigation"; 776 "enable-overscroll-history-navigation";
774 777
775 } // namespace switches 778 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698