author JerryShih <hshih@mozilla.com>
Sat, 28 May 2016 10:38:00 +0200
changeset 333179 6da38f357ecd7da12aff8c1c8d6386dc0a078c05
parent 318605 b04361fcbafcb20cfab95999b6a7b37633dd3bc7
child 393759 8cee26a9755fe6d5b6187ee373dcfdf86410309f
permissions -rw-r--r--
Bug 1187466 - check compositor status in TextureHost::lock(). r=dvander, a=sylvestre If the compositor is a nullptr during lock() call, it means that the compositor is not compatible with current textureHost. So return false in lock().

/* 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;
include protocol PChannelDiverter;

namespace mozilla {
namespace dom {

protocol PExternalHelperApp
  manager PContent;

  async OnStartRequest(nsCString entityID);
  async OnDataAvailable(nsCString data, uint64_t offset, uint32_t count);
  async OnStopRequest(nsresult code);

  async DivertToParentUsing(PChannelDiverter diverter);

  async Cancel(nsresult aStatus);
  async __delete__();

} // namespace dom
} // namespace mozilla