Chromium Code Reviews

Side by Side Diff: third_party/WebKit/Source/modules/speech/SpeechSynthesis.h

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2013 Apple 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 44 matching lines...)
55 void pause(); 55 void pause();
56 void resume(); 56 void resume();
57 57
58 const HeapVector<Member<SpeechSynthesisVoice>>& getVoices(); 58 const HeapVector<Member<SpeechSynthesisVoice>>& getVoices();
59 59
60 // Used in testing to use a mock platform synthesizer 60 // Used in testing to use a mock platform synthesizer
61 void setPlatformSynthesizer(PlatformSpeechSynthesizer*); 61 void setPlatformSynthesizer(PlatformSpeechSynthesizer*);
62 62
63 DEFINE_ATTRIBUTE_EVENT_LISTENER(voiceschanged); 63 DEFINE_ATTRIBUTE_EVENT_LISTENER(voiceschanged);
64 64
65 ExecutionContext* executionContext() const override; 65 ExecutionContext* getExecutionContext() const override;
66 66
67 DECLARE_VIRTUAL_TRACE(); 67 DECLARE_VIRTUAL_TRACE();
68 68
69 private: 69 private:
70 explicit SpeechSynthesis(ExecutionContext*); 70 explicit SpeechSynthesis(ExecutionContext*);
71 71
72 // PlatformSpeechSynthesizerClient override methods. 72 // PlatformSpeechSynthesizerClient override methods.
73 void voicesDidChange() override; 73 void voicesDidChange() override;
74 void didStartSpeaking(PlatformSpeechSynthesisUtterance*) override; 74 void didStartSpeaking(PlatformSpeechSynthesisUtterance*) override;
75 void didPauseSpeaking(PlatformSpeechSynthesisUtterance*) override; 75 void didPauseSpeaking(PlatformSpeechSynthesisUtterance*) override;
(...skipping 14 matching lines...)
90 HeapDeque<Member<SpeechSynthesisUtterance>> m_utteranceQueue; 90 HeapDeque<Member<SpeechSynthesisUtterance>> m_utteranceQueue;
91 bool m_isPaused; 91 bool m_isPaused;
92 92
93 // EventTarget 93 // EventTarget
94 const AtomicString& interfaceName() const override; 94 const AtomicString& interfaceName() const override;
95 }; 95 };
96 96
97 } // namespace blink 97 } // namespace blink
98 98
99 #endif // SpeechSynthesisEvent_h 99 #endif // SpeechSynthesisEvent_h
OLDNEW

Powered by Google App Engine