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

Side by Side Diff: chrome/browser/speech/tts_mac.mm

Issue 64273006: Move ExtensionFunction to the extensions component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include <string> 5 #include <string>
6 6
7 #include "base/mac/scoped_nsobject.h" 7 #include "base/mac/scoped_nsobject.h"
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "base/strings/sys_string_conversions.h" 9 #include "base/strings/sys_string_conversions.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/extensions/extension_function.h"
12 #include "chrome/browser/speech/tts_controller.h" 11 #include "chrome/browser/speech/tts_controller.h"
13 #include "chrome/browser/speech/tts_platform.h" 12 #include "chrome/browser/speech/tts_platform.h"
13 #include "extensions/browser/extension_function.h"
14 14
15 #import <Cocoa/Cocoa.h> 15 #import <Cocoa/Cocoa.h>
16 16
17 class TtsPlatformImplMac; 17 class TtsPlatformImplMac;
18 18
19 @interface ChromeTtsDelegate : NSObject <NSSpeechSynthesizerDelegate> { 19 @interface ChromeTtsDelegate : NSObject <NSSpeechSynthesizerDelegate> {
20 @private 20 @private
21 TtsPlatformImplMac* ttsImplMac_; // weak. 21 TtsPlatformImplMac* ttsImplMac_; // weak.
22 } 22 }
23 23
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 didSpeak_ = true; 342 didSpeak_ = true;
343 return [super startSpeakingString:utterance_]; 343 return [super startSpeakingString:utterance_];
344 } 344 }
345 345
346 - (bool)startSpeakingString:(NSString*)utterance { 346 - (bool)startSpeakingString:(NSString*)utterance {
347 CHECK(false); 347 CHECK(false);
348 return false; 348 return false;
349 } 349 }
350 350
351 @end 351 @end
OLDNEW
« no previous file with comments | « chrome/browser/speech/extension_api/tts_engine_extension_api.h ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698