dom/media/webspeech/synth/ipc/PSpeechSynthesisRequest.ipdl
author Ryan VanderMeulen <ryanvm@gmail.com>
Wed, 05 Aug 2015 14:36:49 -0400
changeset 288093 25d448978f89083662611831740bbc7308cfb280
parent 288086 e5b42fb931a655c9db67c988321f3aa26b526d39
child 288621 f83dae195fa43d99ed11bff30e9c3d81a7164b42
permissions -rw-r--r--
Backed out 4 changesets (bug 1188099) for B2G test failures and crashes. Backed out changeset f89e9a209c6c (bug 1188099) Backed out changeset e5b42fb931a6 (bug 1188099) Backed out changeset a300bd34d135 (bug 1188099) Backed out changeset 02f399ce296d (bug 1188099)

/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

include protocol PSpeechSynthesis;

namespace mozilla {
namespace dom {

async protocol PSpeechSynthesisRequest
{
  manager PSpeechSynthesis;

 parent:

  Pause();

  Resume();

  Cancel();

 child:

  __delete__(bool aIsError, float aElapsedTime, uint32_t aCharIndex);

  OnStart(nsString aUri);

  OnPause(float aElapsedTime, uint32_t aCharIndex);

  OnResume(float aElapsedTime, uint32_t aCharIndex);

  OnBoundary(nsString aName, float aElapsedTime, uint32_t aCharIndex);

  OnMark(nsString aName, float aElapsedTime, uint32_t aCharIndex);
};

} // namespace dom
} // namespace mozilla