Commit 6b8dda12 authored by mohan.reddy's avatar mohan.reddy Committed by Commit bot

Removed the ScriptedSpeech content side.

Removal the corresponding changes in blink are applied in the following patch
https://codereview.chromium.org/599863002/

BUG=402536

Review URL: https://codereview.chromium.org/598923002

Cr-Commit-Position: refs/heads/master@{#296655}
parent a86ea9cb
......@@ -1232,7 +1232,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
#if defined(OS_ANDROID)
switches::kDisableGestureRequirementForMediaPlayback,
switches::kDisableWebRTC,
switches::kEnableSpeechRecognition,
switches::kMediaDrmEnableNonCompositing,
switches::kNetworkCountryIso,
switches::kDisableWebAudio,
......
......@@ -116,9 +116,6 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
WebRuntimeFeatures::enablePeerConnection(false);
}
if (!command_line.HasSwitch(switches::kEnableSpeechRecognition))
WebRuntimeFeatures::enableScriptedSpeech(false);
// WebAudio is enabled by default on ARM and X86, if the MediaCodec
// API is available.
WebRuntimeFeatures::enableWebAudio(
......
......@@ -61,9 +61,6 @@ public abstract class ContentSwitches {
// Native switch - chrome_switches::kEnableInstantExtendedAPI
public static final String ENABLE_INSTANT_EXTENDED_API = "enable-instant-extended-api";
// Native switch - content_switches::kEnableSpeechRecognition
public static final String ENABLE_SPEECH_RECOGNITION = "enable-speech-recognition";
// Native switch - shell_switches::kDumpRenderTree
public static final String DUMP_RENDER_TREE = "dump-render-tree";
......
......@@ -885,9 +885,6 @@ const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect";
// WebRTC is enabled by default on Android.
const char kDisableWebRTC[] = "disable-webrtc";
// Enable the recognition part of the Web Speech API.
const char kEnableSpeechRecognition[] = "enable-speech-recognition";
// Always use the video overlay for the embedded video.
// This switch is intended only for tests.
const char kForceUseOverlayEmbeddedVideo[] = "force-use-overlay-embedded-video";
......
......@@ -251,7 +251,6 @@ CONTENT_EXPORT extern const char kDisableGestureRequirementForMediaPlayback[];
CONTENT_EXPORT extern const char kDisableClickDelay[];
CONTENT_EXPORT extern const char kDisableOverscrollEdgeEffect[];
CONTENT_EXPORT extern const char kDisableWebRTC[];
CONTENT_EXPORT extern const char kEnableSpeechRecognition[];
CONTENT_EXPORT extern const char kForceUseOverlayEmbeddedVideo[];
CONTENT_EXPORT extern const char kHideScrollbars[];
extern const char kNetworkCountryIso[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment