2014-05-18 07:05:46 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* 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/. */
|
|
|
|
|
2014-07-18 21:35:44 +04:00
|
|
|
include protocol PCrashReporter;
|
2015-02-10 13:48:42 +03:00
|
|
|
include protocol PGMPContent;
|
2014-08-05 11:56:05 +04:00
|
|
|
include protocol PGMPTimer;
|
2014-08-19 12:56:33 +04:00
|
|
|
include protocol PGMPStorage;
|
2014-07-18 21:35:44 +04:00
|
|
|
|
|
|
|
using mozilla::dom::NativeThreadId from "mozilla/dom/TabMessageUtils.h";
|
2015-09-29 20:56:07 +03:00
|
|
|
using mozilla::GMPCrashReason from "GMPUtils.h";
|
2014-05-18 07:05:46 +04:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace gmp {
|
|
|
|
|
2014-07-02 06:26:35 +04:00
|
|
|
intr protocol PGMP
|
2014-05-18 07:05:46 +04:00
|
|
|
{
|
2015-02-10 13:48:42 +03:00
|
|
|
parent opens PGMPContent;
|
|
|
|
|
2014-07-18 21:35:44 +04:00
|
|
|
manages PCrashReporter;
|
2014-08-05 11:56:05 +04:00
|
|
|
manages PGMPTimer;
|
2014-08-19 12:56:33 +04:00
|
|
|
manages PGMPStorage;
|
2014-07-18 21:35:44 +04:00
|
|
|
|
|
|
|
parent:
|
|
|
|
async PCrashReporter(NativeThreadId tid);
|
2014-08-05 11:56:05 +04:00
|
|
|
async PGMPTimer();
|
2014-08-19 12:56:33 +04:00
|
|
|
async PGMPStorage();
|
2014-07-18 21:35:44 +04:00
|
|
|
|
2015-02-10 13:48:42 +03:00
|
|
|
async PGMPContentChildDestroyed();
|
|
|
|
|
2014-08-18 01:41:56 +04:00
|
|
|
async AsyncShutdownComplete();
|
|
|
|
async AsyncShutdownRequired();
|
|
|
|
|
2014-05-18 07:05:46 +04:00
|
|
|
child:
|
2014-08-18 01:41:56 +04:00
|
|
|
async BeginAsyncShutdown();
|
2015-09-29 20:56:07 +03:00
|
|
|
async CrashPluginNow(GMPCrashReason aReason);
|
2015-09-01 08:31:48 +03:00
|
|
|
intr StartPlugin();
|
2015-02-10 13:48:42 +03:00
|
|
|
async SetNodeId(nsCString nodeId);
|
|
|
|
async CloseActive();
|
2014-05-18 07:05:46 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace gmp
|
|
|
|
} // namespace mozilla
|