widget/nsIMacWebAppUtils.idl
author Gijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 18 Feb 2014 17:07:27 +0000
changeset 170231 c9de8e0ce7450bc27797523a96022a5b9d84b8ea
parent 99380 4cffe2b37d0c95dde87ec2a96f5bf8d34eb3a670
child 178294 d0012e4d8a9a4cd0dd99bd0afd76541f7fecb870
permissions -rw-r--r--
Bug 966683 - Australis - automatically toggle accesskey-focuses on Linux to prevent menubar focus stealing, r=Neil,dao

/* 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 "nsISupports.idl"

interface nsIMacWebAppUtils;

/**
 * Allow MozApps API to locate and manipulate natively installed apps
 */

[scriptable, uuid(e9096367-ddd9-45e4-b762-49c0c18b7119)]
interface nsIMacWebAppUtils : nsISupports {
  /**
   * Find the path for an app with the given signature.
   */
  AString pathForAppWithIdentifier(in AString bundleIdentifier);

  /**
   * Launch the app with the given identifier, if it exists.
   */
  void launchAppWithIdentifier(in AString bundleIdentifier);

};