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

Unified Diff: chrome/browser/resources/app_list/start_page.js

Issue 992173002: Delete the old hotwording integration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hotword-remove-disable-option
Patch Set: Rebase. Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
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 5138dba7957a7d21a64501428817553df0caab7b..3b545b7a8e121f92517a32255adea2abe334933d 100644
--- a/chrome/browser/resources/app_list/start_page.js
+++ b/chrome/browser/resources/app_list/start_page.js
@@ -24,27 +24,9 @@ cr.define('appList.startPage', function() {
}
/**
- * Invoked when the hotword plugin availability is changed.
- *
- * @param {boolean} enabled Whether the plugin is enabled or not.
- */
- function setHotwordEnabled(enabled) {
- }
-
- /**
- * Sets the architecture of NaCl module to be loaded for hotword.
- * @param {string} arch The architecture.
- */
- function setNaclArch(arch) {
- }
-
- /**
* Invoked when the app-list bubble is shown.
- *
- * @param {boolean} hotwordEnabled Whether the hotword is enabled or not.
*/
- function onAppListShown(hotwordEnabled, legacySpeechEnabled) {
-
+ function onAppListShown() {
chrome.send('appListShown', [this.doodle != null]);
}
@@ -122,27 +104,10 @@ cr.define('appList.startPage', function() {
$('logo_container').appendChild(this.doodle);
}
- /**
- * Invoked when the app-list bubble is hidden.
- */
- function onAppListHidden() {
- }
-
- /**
- * Invoked when the user explicitly wants to toggle the speech recognition
- * state.
- */
- function toggleSpeechRecognition() {
- }
-
return {
initialize: initialize,
- setHotwordEnabled: setHotwordEnabled,
- setNaclArch: setNaclArch,
onAppListDoodleUpdated: onAppListDoodleUpdated,
onAppListShown: onAppListShown,
- onAppListHidden: onAppListHidden,
- toggleSpeechRecognition: toggleSpeechRecognition
};
});

Powered by Google App Engine
This is Rietveld 408576698