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

Side by Side Diff: Source/platform/speech/PlatformSpeechSynthesizer.h

Issue 524773004: Clean up forward declarations in Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 3 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
« no previous file with comments | « Source/platform/network/SocketStreamHandleClient.h ('k') | Source/platform/text/LocaleMac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2013 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 22 matching lines...) Expand all
33 33
34 namespace blink { 34 namespace blink {
35 35
36 enum SpeechBoundary { 36 enum SpeechBoundary {
37 SpeechWordBoundary, 37 SpeechWordBoundary,
38 SpeechSentenceBoundary 38 SpeechSentenceBoundary
39 }; 39 };
40 40
41 class PlatformSpeechSynthesisUtterance; 41 class PlatformSpeechSynthesisUtterance;
42 class WebSpeechSynthesizer; 42 class WebSpeechSynthesizer;
43 class WebSpeechSynthesizerClient;
44 class WebSpeechSynthesizerClientImpl; 43 class WebSpeechSynthesizerClientImpl;
45 44
46 class PlatformSpeechSynthesizerClient : public GarbageCollectedMixin { 45 class PlatformSpeechSynthesizerClient : public GarbageCollectedMixin {
47 public: 46 public:
48 virtual void didStartSpeaking(PlatformSpeechSynthesisUtterance*) = 0; 47 virtual void didStartSpeaking(PlatformSpeechSynthesisUtterance*) = 0;
49 virtual void didFinishSpeaking(PlatformSpeechSynthesisUtterance*) = 0; 48 virtual void didFinishSpeaking(PlatformSpeechSynthesisUtterance*) = 0;
50 virtual void didPauseSpeaking(PlatformSpeechSynthesisUtterance*) = 0; 49 virtual void didPauseSpeaking(PlatformSpeechSynthesisUtterance*) = 0;
51 virtual void didResumeSpeaking(PlatformSpeechSynthesisUtterance*) = 0; 50 virtual void didResumeSpeaking(PlatformSpeechSynthesisUtterance*) = 0;
52 virtual void speakingErrorOccurred(PlatformSpeechSynthesisUtterance*) = 0; 51 virtual void speakingErrorOccurred(PlatformSpeechSynthesisUtterance*) = 0;
53 virtual void boundaryEventOccurred(PlatformSpeechSynthesisUtterance*, Speech Boundary, unsigned charIndex) = 0; 52 virtual void boundaryEventOccurred(PlatformSpeechSynthesisUtterance*, Speech Boundary, unsigned charIndex) = 0;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 private: 85 private:
87 Member<PlatformSpeechSynthesizerClient> m_speechSynthesizerClient; 86 Member<PlatformSpeechSynthesizerClient> m_speechSynthesizerClient;
88 87
89 OwnPtr<WebSpeechSynthesizer> m_webSpeechSynthesizer; 88 OwnPtr<WebSpeechSynthesizer> m_webSpeechSynthesizer;
90 Member<WebSpeechSynthesizerClientImpl> m_webSpeechSynthesizerClient; 89 Member<WebSpeechSynthesizerClientImpl> m_webSpeechSynthesizerClient;
91 }; 90 };
92 91
93 } // namespace blink 92 } // namespace blink
94 93
95 #endif // PlatformSpeechSynthesizer_h 94 #endif // PlatformSpeechSynthesizer_h
OLDNEW
« no previous file with comments | « Source/platform/network/SocketStreamHandleClient.h ('k') | Source/platform/text/LocaleMac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698