dom/plugins/ipc/PPluginIdentifier.ipdl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/plugins/ipc/PPluginIdentifier.ipdl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +/* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +include protocol PPluginModule;
    1.10 +
    1.11 +namespace mozilla {
    1.12 +namespace plugins {
    1.13 +
    1.14 +/**
    1.15 + * Represents an NPIdentifier that wraps either a string or an integer.
    1.16 + */
    1.17 +async protocol PPluginIdentifier
    1.18 +{
    1.19 +  manager PPluginModule;
    1.20 +
    1.21 +parent:
    1.22 +  /**
    1.23 +   * If this is a temporary identifier, inform the parent that the plugin
    1.24 +   * has made the identifier permanent by calling NPN_GetStringIdentifier.
    1.25 +   */
    1.26 +  async Retain();
    1.27 +
    1.28 +child:
    1.29 +  async __delete__();
    1.30 +};
    1.31 +
    1.32 +} // namespace plugins
    1.33 +} // namespace mozilla

mercurial