| 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 4a1f3937e42a8101d7f9f258bb5ff5c3a40d0f60..00f945402c44137df4bcf041be2fcac1b8ed1b41 100644
|
| --- a/chrome/browser/resources/app_list/start_page.js
|
| +++ b/chrome/browser/resources/app_list/start_page.js
|
| @@ -76,6 +76,14 @@ cr.define('appList.startPage', function() {
|
| }
|
|
|
| /**
|
| + * Sets the architecture of NaCl module to be loaded for hotword.
|
| + * @param {string} arch The architecture.
|
| + */
|
| + function setNaclArch(arch) {
|
| + speechManager.setNaclArch(arch);
|
| + }
|
| +
|
| + /**
|
| * Invoked when the app-list bubble is shown.
|
| *
|
| * @param {boolean} hotwordEnabled Whether the hotword is enabled or not.
|
| @@ -103,6 +111,7 @@ cr.define('appList.startPage', function() {
|
| initialize: initialize,
|
| setRecommendedApps: setRecommendedApps,
|
| setHotwordEnabled: setHotwordEnabled,
|
| + setNaclArch: setNaclArch,
|
| onAppListShown: onAppListShown,
|
| onAppListHidden: onAppListHidden,
|
| toggleSpeechRecognition: toggleSpeechRecognition
|
|
|