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

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

Issue 2613133003: Disable MediaSession API for WebView (Closed)
Patch Set: rebased Created 3 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
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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 #include "media/media_features.h" 7 #include "media/media_features.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 940 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 // interval. Please see SetupStunProbeTrial in 951 // interval. Please see SetupStunProbeTrial in
952 // chrome_browser_field_trials_desktop.cc for more detail. 952 // chrome_browser_field_trials_desktop.cc for more detail.
953 const char kWebRtcStunProbeTrialParameter[] = "webrtc-stun-probe-trial"; 953 const char kWebRtcStunProbeTrialParameter[] = "webrtc-stun-probe-trial";
954 954
955 // Override the maximum framerate as can be specified in calls to getUserMedia. 955 // Override the maximum framerate as can be specified in calls to getUserMedia.
956 // This flag expects a value. Example: --max-gum-fps=17.5 956 // This flag expects a value. Example: --max-gum-fps=17.5
957 const char kWebRtcMaxCaptureFramerate[] = "max-gum-fps"; 957 const char kWebRtcMaxCaptureFramerate[] = "max-gum-fps";
958 #endif 958 #endif
959 959
960 #if defined(OS_ANDROID) 960 #if defined(OS_ANDROID)
961 // Disable Media Session API
962 const char kDisableMediaSessionAPI[] = "disable-media-session-api";
963
961 // Disable overscroll edge effects like those found in Android views. 964 // Disable overscroll edge effects like those found in Android views.
962 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; 965 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect";
963 966
964 // Disable the pull-to-refresh effect when vertically overscrolling content. 967 // Disable the pull-to-refresh effect when vertically overscrolling content.
965 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect"; 968 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect";
966 969
967 // Disable the locking feature of the screen orientation API. 970 // Disable the locking feature of the screen orientation API.
968 const char kDisableScreenOrientationLock[] = "disable-screen-orientation-lock"; 971 const char kDisableScreenOrientationLock[] = "disable-screen-orientation-lock";
969 972
970 // Enable inverting of selection handles so that they are not clipped by the 973 // Enable inverting of selection handles so that they are not clipped by the
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 // the given directory. Used primarily to gather samples for IPC fuzzing. 1095 // the given directory. Used primarily to gather samples for IPC fuzzing.
1093 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1096 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1094 1097
1095 // Specifies the testcase used by the IPC fuzzer. 1098 // Specifies the testcase used by the IPC fuzzer.
1096 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1099 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1097 #endif 1100 #endif
1098 1101
1099 // Don't dump stuff here, follow the same order as the header. 1102 // Don't dump stuff here, follow the same order as the header.
1100 1103
1101 } // namespace switches 1104 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | third_party/WebKit/Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698