| Index: chrome/browser/resources/app_list/start_page.js
|
| diff --git a/chrome/browser/resources/app_list/start_page.js b/chrome/browser/resources/app_list/start_page.js
|
| index c46b0cea177babbee7bc4854a3aed71a9f8792ca..2ed99f26e764e16bfe4c87e8cbdd2f6fac497e9b 100644
|
| --- a/chrome/browser/resources/app_list/start_page.js
|
| +++ b/chrome/browser/resources/app_list/start_page.js
|
| @@ -11,8 +11,6 @@
|
| cr.define('appList.startPage', function() {
|
| 'use strict';
|
|
|
| - var speechManager = null;
|
| -
|
| // The element containing the current Google Doodle.
|
| var doodle = null;
|
|
|
| @@ -24,7 +22,6 @@ cr.define('appList.startPage', function() {
|
| * Initialize the page.
|
| */
|
| function initialize() {
|
| - speechManager = new speech.SpeechManager();
|
| chrome.send('initialize');
|
| }
|
|
|
| @@ -34,7 +31,6 @@ cr.define('appList.startPage', function() {
|
| * @param {boolean} enabled Whether the plugin is enabled or not.
|
| */
|
| function setHotwordEnabled(enabled) {
|
| - speechManager.setHotwordEnabled(enabled);
|
| }
|
|
|
| /**
|
| @@ -42,7 +38,6 @@ cr.define('appList.startPage', function() {
|
| * @param {string} arch The architecture.
|
| */
|
| function setNaclArch(arch) {
|
| - speechManager.setNaclArch(arch);
|
| }
|
|
|
| /**
|
| @@ -51,8 +46,6 @@ cr.define('appList.startPage', function() {
|
| * @param {boolean} hotwordEnabled Whether the hotword is enabled or not.
|
| */
|
| function onAppListShown(hotwordEnabled, legacySpeechEnabled) {
|
| - if (legacySpeechEnabled)
|
| - speechManager.onShown(hotwordEnabled);
|
|
|
| chrome.send('appListShown', [this.doodle != null]);
|
| }
|
| @@ -135,7 +128,6 @@ cr.define('appList.startPage', function() {
|
| * Invoked when the app-list bubble is hidden.
|
| */
|
| function onAppListHidden() {
|
| - speechManager.onHidden();
|
| }
|
|
|
| /**
|
| @@ -143,7 +135,6 @@ cr.define('appList.startPage', function() {
|
| * state.
|
| */
|
| function toggleSpeechRecognition() {
|
| - speechManager.toggleSpeechRecognition();
|
| }
|
|
|
| return {
|
|
|