Backed out changeset 9d8b4c0b99ed (bug 1945683) for causing btime failures. CLOSED...
[gecko.git] / dom / media / webspeech / synth / ipc / PSpeechSynthesisRequest.ipdl
blob8543eebc5b674f507d0e389682aae97263898278
1 /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
2 /* vim: set ts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
5  * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 include protocol PSpeechSynthesis;
9 namespace mozilla {
10 namespace dom {
12 [ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
13 async protocol PSpeechSynthesisRequest
15   manager PSpeechSynthesis;
17  parent:
19   async __delete__();
21   async Pause();
23   async Resume();
25   async Cancel();
27   async ForceEnd();
29   async SetAudioOutputVolume(float aVolume);
31  child:
33   async OnEnd(bool aIsError, float aElapsedTime, uint32_t aCharIndex);
35   async OnStart(nsString aUri);
37   async OnPause(float aElapsedTime, uint32_t aCharIndex);
39   async OnResume(float aElapsedTime, uint32_t aCharIndex);
41   async OnBoundary(nsString aName, float aElapsedTime, uint32_t aCharIndex,
42                    uint32_t aCharLength, uint8_t argc);
44   async OnMark(nsString aName, float aElapsedTime, uint32_t aCharIndex);
47 } // namespace dom
48 } // namespace mozilla