Lines Matching defs:message
90 * Listens for TTS_COMPLETED message and executes the callback function.
95 var message = msg['message'];
96 if (message == 'TTS_CALLBACK') {
108 * Creates a message suitable for sending as a speak action to background tts.
113 * @return {Object} A message.
118 var message = {'target': 'TTS',
127 message['startCallbackId'] = cvox.ChromeTts.callId++;
132 message['endCallbackId'] = cvox.ChromeTts.callId++;
134 return message;