extensions/spellcheck/hunspell/glue/PRemoteSpellcheckEngine.ipdl
author Andreas Pehrson <pehrsons@gmail.com>
Thu, 05 Nov 2015 15:42:24 +0800
changeset 306659 481d2dace480c02b375a91e902ece00eef223c2b
parent 293114 bc496e1c596316188b986f1c6c8ab632794d7e4e
child 327058 b04361fcbafcb20cfab95999b6a7b37633dd3bc7
permissions -rw-r--r--
Bug 1208371 - Various cleanups in DOMMediaStream/MediaStreamTrack. r?jib

/* 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 PContent;

namespace mozilla {

sync protocol PRemoteSpellcheckEngine {
  manager PContent;

parent:
  __delete__();

  sync Check(nsString aWord) returns (bool aIsMisspelled);

  sync CheckAndSuggest(nsString aWord) returns (bool aIsMisspelled, nsString[] aSuggestions);

  sync SetDictionary(nsString aDictionary) returns (bool success);
};

} // namespace mozilla