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..5138dba7957a7d21a64501428817553df0caab7b 100644 |
--- a/chrome/browser/resources/app_list/start_page.js |
+++ b/chrome/browser/resources/app_list/start_page.js |
@@ -6,13 +6,9 @@ |
* @fileoverview App launcher start page implementation. |
*/ |
-<include src="speech_manager.js"> |
- |
cr.define('appList.startPage', function() { |
'use strict'; |
- var speechManager = null; |
- |
// The element containing the current Google Doodle. |
var doodle = null; |
@@ -24,7 +20,6 @@ cr.define('appList.startPage', function() { |
* Initialize the page. |
*/ |
function initialize() { |
- speechManager = new speech.SpeechManager(); |
chrome.send('initialize'); |
} |
@@ -34,7 +29,6 @@ cr.define('appList.startPage', function() { |
* @param {boolean} enabled Whether the plugin is enabled or not. |
*/ |
function setHotwordEnabled(enabled) { |
- speechManager.setHotwordEnabled(enabled); |
} |
/** |
@@ -42,7 +36,6 @@ cr.define('appList.startPage', function() { |
* @param {string} arch The architecture. |
*/ |
function setNaclArch(arch) { |
- speechManager.setNaclArch(arch); |
} |
/** |
@@ -51,8 +44,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 +126,6 @@ cr.define('appList.startPage', function() { |
* Invoked when the app-list bubble is hidden. |
*/ |
function onAppListHidden() { |
- speechManager.onHidden(); |
} |
/** |
@@ -143,7 +133,6 @@ cr.define('appList.startPage', function() { |
* state. |
*/ |
function toggleSpeechRecognition() { |
- speechManager.toggleSpeechRecognition(); |
} |
return { |