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

Side by Side Diff: public/platform/WebSpeechSynthesizer.h

Issue 776693002: Clean forward declaration in public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix fakewebplugin Created 6 years 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 | « public/platform/WebSocketHandleClient.h ('k') | public/platform/WebString.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 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 12 matching lines...) Expand all
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef WebSpeechSynthesizer_h 26 #ifndef WebSpeechSynthesizer_h
27 #define WebSpeechSynthesizer_h 27 #define WebSpeechSynthesizer_h
28 28
29 #include "WebCommon.h" 29 #include "WebCommon.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class WebSpeechSynthesizerClient;
34 class WebSpeechSynthesisUtterance; 33 class WebSpeechSynthesisUtterance;
35 34
36 class WebSpeechSynthesizer { 35 class WebSpeechSynthesizer {
37 public: 36 public:
38 virtual ~WebSpeechSynthesizer() { } 37 virtual ~WebSpeechSynthesizer() { }
39 38
40 virtual void updateVoiceList() = 0; 39 virtual void updateVoiceList() = 0;
41 40
42 // OK to call with more than one utterance, will queue. 41 // OK to call with more than one utterance, will queue.
43 virtual void speak(const WebSpeechSynthesisUtterance&) = 0; 42 virtual void speak(const WebSpeechSynthesisUtterance&) = 0;
44 43
45 virtual void pause() = 0; 44 virtual void pause() = 0;
46 virtual void resume() = 0; 45 virtual void resume() = 0;
47 virtual void cancel() = 0; 46 virtual void cancel() = 0;
48 }; 47 };
49 48
50 } // namespace blink 49 } // namespace blink
51 50
52 #endif // WebSpeechSynthesizer_h 51 #endif // WebSpeechSynthesizer_h
OLDNEW
« no previous file with comments | « public/platform/WebSocketHandleClient.h ('k') | public/platform/WebString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698