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

Side by Side Diff: chrome/browser/resources/hotword/state_manager.js

Issue 917093003: Shorten Closure template notation from Array.<*> to Array<*>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cvox Created 5 years, 10 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 cr.define('hotword', function() { 5 cr.define('hotword', function() {
6 'use strict'; 6 'use strict';
7 7
8 /** 8 /**
9 * Trivial container class for session information. 9 * Trivial container class for session information.
10 * @param {!hotword.constants.SessionSource} source Source of the hotword 10 * @param {!hotword.constants.SessionSource} source Source of the hotword
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 this.hotwordStatus_ = null; 65 this.hotwordStatus_ = null;
66 66
67 /** 67 /**
68 * NaCl plugin manager. 68 * NaCl plugin manager.
69 * @private {?hotword.NaClManager} 69 * @private {?hotword.NaClManager}
70 */ 70 */
71 this.pluginManager_ = null; 71 this.pluginManager_ = null;
72 72
73 /** 73 /**
74 * Currently active hotwording sessions. 74 * Currently active hotwording sessions.
75 * @private {!Array.<Session_>} 75 * @private {!Array<Session_>}
76 */ 76 */
77 this.sessions_ = []; 77 this.sessions_ = [];
78 78
79 /** 79 /**
80 * The mode to start the recognizer in. 80 * The mode to start the recognizer in.
81 * @private {!hotword.constants.RecognizerStartMode} 81 * @private {!hotword.constants.RecognizerStartMode}
82 */ 82 */
83 this.startMode_ = hotword.constants.RecognizerStartMode.NORMAL; 83 this.startMode_ = hotword.constants.RecognizerStartMode.NORMAL;
84 84
85 /** 85 /**
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 573
574 if (oldLocked != this.isLocked_) 574 if (oldLocked != this.isLocked_)
575 this.updateStateFromStatus_(); 575 this.updateStateFromStatus_();
576 } 576 }
577 }; 577 };
578 578
579 return { 579 return {
580 StateManager: StateManager 580 StateManager: StateManager
581 }; 581 };
582 }); 582 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/hotword/page_audio_manager.js ('k') | chrome/browser/resources/hotword_helper/audio_client.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698