From c63f2b7fe4fe2977f858a8e36d5f48db17eff2e7 Mon Sep 17 00:00:00 2001 From: "dmazzoni@chromium.org" Date: Thu, 7 Jul 2011 05:25:00 +0000 Subject: Extend TTS extension API to support richer events returned from the engine to the client. Previously we just had a completed event; this adds start, word boundary, sentence boundary, and marker boundary. In addition, interrupted and canceled, which were previously errors, now become events. Mac and Windows implementations extended to support as many of these events as possible. BUG=67713 BUG=70198 BUG=75106 BUG=83404 TEST=Updates all TTS API tests to be event-based, and adds new tests. Review URL: http://codereview.chromium.org/6792014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91665 0039d316-1c4b-4281-b951-d872f2087c98 --- base/mac/cocoa_protocols.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'base') diff --git a/base/mac/cocoa_protocols.h b/base/mac/cocoa_protocols.h index 9482d51..0269c58 100644 --- a/base/mac/cocoa_protocols.h +++ b/base/mac/cocoa_protocols.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -34,6 +34,7 @@ DEFINE_EMPTY_PROTOCOL(NSMenuDelegate) DEFINE_EMPTY_PROTOCOL(NSOpenSavePanelDelegate) DEFINE_EMPTY_PROTOCOL(NSOutlineViewDataSource) DEFINE_EMPTY_PROTOCOL(NSOutlineViewDelegate) +DEFINE_EMPTY_PROTOCOL(NSSpeechSynthesizerDelegate) DEFINE_EMPTY_PROTOCOL(NSTableViewDataSource) DEFINE_EMPTY_PROTOCOL(NSTableViewDelegate) DEFINE_EMPTY_PROTOCOL(NSTextFieldDelegate) -- cgit v1.1