Commit 92742343 authored by Marc Treib's avatar Marc Treib Committed by Commit Bot

Add fieldtrial testing config for VoiceSearchOnLocalNtp

Bug: 583291
Change-Id: I62f45a36db59b118a5f7a571252c4a4a705355b8
Reviewed-on: https://chromium-review.googlesource.com/725723Reviewed-by: default avatarIlya Sherman <isherman@chromium.org>
Reviewed-by: default avatarChris Pickel <sfiera@chromium.org>
Commit-Queue: Marc Treib <treib@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510034}
parent eb8a5c02
......@@ -7,6 +7,7 @@
<script>window.localNTPUnitTest = true;</script>
<script src="chrome-search://local-ntp/config.js" charset="utf-8"></script>
<script src="chrome-search://local-ntp/local-ntp.js" charset="utf-8"></script>
<script src="chrome-search://local-ntp/voice.js" charset="utf-8"></script>
<script src="chrome-search://most-visited/util.js" charset="utf-8"></script>
<link rel="stylesheet" href="chrome-search://local-ntp/local-ntp.css"></link>
<script src="test_utils.js" charset="utf-8"></script>
......@@ -58,6 +59,35 @@
</div>
<div id="attribution"><div id="attribution-text"></div></div>
</div>
<div id="voice-overlay" class="overlay-hidden" hidden>
<div id="voice-outer" class="outer">
<div class="inner-container">
<div id="voice-button-container" class="button-container">
<!-- The audio level animation. -->
<span id="voice-level" class="level"></span>
<!-- The microphone button. -->
<span id="voice-button" class="button">
<!-- The microphone icon (in CSS). -->
<div class="microphone">
<span class="receiver"></span>
<div class="wrapper">
<span class="stem"></span>
<span class="shell"></span>
</div>
</div>
</span>
</div>
<div class="text-container">
<!-- Low confidence text underneath high confidence text. -->
<span id="voice-text-i" class="voice-text"></span>
<!-- High confidence text on top of low confidence text. -->
<span id="voice-text-f" class="voice-text"></span>
</div>
</div>
</div>
<div id="voice-close-button" class="close-button">&times;</div>
</div>
</template>
</head>
<body>
......
......@@ -3791,6 +3791,24 @@
]
}
],
"VoiceSearchOnLocalNtp": [
{
"platforms": [
"chromeos",
"linux",
"mac",
"win"
],
"experiments": [
{
"name": "Enabled",
"enable_features": [
"VoiceSearchOnLocalNtp"
]
}
]
}
],
"VsyncAlignedInput": [
{
"platforms": [
......
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