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

Side by Side Diff: Source/core/platform/chromium/support/WebSpeechSynthesizerClientImpl.h

Issue 14466008: Switch speech synthesis from compile-flag to runtime-flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase, switch to RuntimeEnabledFeatures.in Created 7 years, 7 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
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 * * Redistributions of source code must retain the above copyright 7 * * 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 * * Redistributions in binary form must reproduce the above copyright 9 * * 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual void setVoiceList(const WebKit::WebVector<WebKit::WebSpeechSynthesis Voice>& voices); 46 virtual void setVoiceList(const WebKit::WebVector<WebKit::WebSpeechSynthesis Voice>& voices);
47 virtual void didStartSpeaking(const WebKit::WebSpeechSynthesisUtterance&); 47 virtual void didStartSpeaking(const WebKit::WebSpeechSynthesisUtterance&);
48 virtual void didFinishSpeaking(const WebKit::WebSpeechSynthesisUtterance&); 48 virtual void didFinishSpeaking(const WebKit::WebSpeechSynthesisUtterance&);
49 virtual void didPauseSpeaking(const WebKit::WebSpeechSynthesisUtterance&); 49 virtual void didPauseSpeaking(const WebKit::WebSpeechSynthesisUtterance&);
50 virtual void didResumeSpeaking(const WebKit::WebSpeechSynthesisUtterance&); 50 virtual void didResumeSpeaking(const WebKit::WebSpeechSynthesisUtterance&);
51 virtual void speakingErrorOccurred(const WebKit::WebSpeechSynthesisUtterance &); 51 virtual void speakingErrorOccurred(const WebKit::WebSpeechSynthesisUtterance &);
52 virtual void wordBoundaryEventOccurred(const WebKit::WebSpeechSynthesisUtter ance&, unsigned charIndex); 52 virtual void wordBoundaryEventOccurred(const WebKit::WebSpeechSynthesisUtter ance&, unsigned charIndex);
53 virtual void sentenceBoundaryEventOccurred(const WebKit::WebSpeechSynthesisU tterance&, unsigned charIndex); 53 virtual void sentenceBoundaryEventOccurred(const WebKit::WebSpeechSynthesisU tterance&, unsigned charIndex);
54 54
55 private: 55 private:
56 #if ENABLE(SPEECH_SYNTHESIS)
57 PlatformSpeechSynthesizer* m_synthesizer; 56 PlatformSpeechSynthesizer* m_synthesizer;
58 PlatformSpeechSynthesizerClient* m_client; 57 PlatformSpeechSynthesizerClient* m_client;
59 #endif
60 }; 58 };
61 59
62 } // namespace WebCore 60 } // namespace WebCore
63 61
64 #endif // WebSpeechSynthesizerClientImpl_h 62 #endif // WebSpeechSynthesizerClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698