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

Side by Side Diff: chrome/common/extensions/api/hotword_private.idl

Issue 1011913005: Hotword: Adds a field for always_on_available to the API StatusDetails (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adress merge conflicts 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The <code>chrome.hotwordPrivate</code> API allows extensions to access and 5 // The <code>chrome.hotwordPrivate</code> API allows extensions to access and
6 // mutate the preference for enabling hotword search. It also provides 6 // mutate the preference for enabling hotword search. It also provides
7 // information on whether the hotword search is available. This API provides an 7 // information on whether the hotword search is available. This API provides an
8 // event interface to transmit to the extension a signal that the preference fo 8 // event interface to transmit to the extension a signal that the preference fo
9 // hotword search has change. 9 // hotword search has change.
10 // 10 //
11 // For an FYI, visit http://goo.gl/AyHbkH 11 // For an FYI, visit http://goo.gl/AyHbkH
12 12
13 namespace hotwordPrivate { 13 namespace hotwordPrivate {
14 14
15 dictionary StatusDetails { 15 dictionary StatusDetails {
16 // Whether the hotword preference has been set. 16 // Whether the hotword preference has been set.
17 boolean enabledSet; 17 boolean enabledSet;
18 18
19 // If the hotword extension is enabled. Will always be false if |available| 19 // If the hotword extension is enabled. Will always be false if |available|
20 // is false. 20 // is false.
21 boolean enabled; 21 boolean enabled;
22 22
23 // Whether the hotword extension is available to be enabled 23 // Whether the hotword extension is available to be enabled
24 boolean available; 24 boolean available;
25 25
26 // Whether always-on is avaialable to be enabled
benwells 2015/03/17 03:02:55 Nit: available spelling
kcarattini 2015/03/17 04:22:17 Done.
27 boolean alwaysOnAvailable;
28
26 // Whether the sound of "Ok, Google" plus a few seconds before is sent 29 // Whether the sound of "Ok, Google" plus a few seconds before is sent
27 // back to Google. 30 // back to Google.
28 boolean audioLoggingEnabled; 31 boolean audioLoggingEnabled;
29 32
30 // Whether experimental hotwording functionality is enabled. Mirrors the 33 // Whether experimental hotwording functionality is enabled. Mirrors the
31 // "enable-experimental-hotwording" flag. 34 // "enable-experimental-hotwording" flag.
32 boolean experimentalHotwordEnabled; 35 boolean experimentalHotwordEnabled;
33 36
34 // Whether always-on hotwording is enabled. 37 // Whether always-on hotwording is enabled.
35 boolean alwaysOnEnabled; 38 boolean alwaysOnEnabled;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 // Fired when the speaker model has been saved. 162 // Fired when the speaker model has been saved.
160 static void onSpeakerModelSaved(); 163 static void onSpeakerModelSaved();
161 164
162 // Fired when a hotword has triggered. 165 // Fired when a hotword has triggered.
163 static void onHotwordTriggered(); 166 static void onHotwordTriggered();
164 167
165 // Fired when the speaker model should be deleted. 168 // Fired when the speaker model should be deleted.
166 static void onDeleteSpeakerModel(); 169 static void onDeleteSpeakerModel();
167 }; 170 };
168 }; 171 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698