gecko-dev/widget/nsITouchBarHelper.idl
shindli 083cbd8b40 Backed out 8 changesets (bug 1563350, bug 1563351, bug 1563349, bug 1567939) on suspicion of causing OS X crashes https://bugzilla.mozilla.org/show_bug.cgi?id=1587351 CLOSED TREE a=backout
Backed out changeset 86ed8b9bee5f (bug 1563351)
Backed out changeset 355b0329bd95 (bug 1563350)
Backed out changeset 653caa0c494a (bug 1567939)
Backed out changeset 4b4a71e170bd (bug 1563349)
Backed out changeset 81b93962243b (bug 1563349)
Backed out changeset cff2050ff540 (bug 1563349)
Backed out changeset db50ea44f0b1 (bug 1563349)
Backed out changeset dcbddc5738c3 (bug 1563349)
2019-10-09 13:33:05 +03:00

37 lines
922 B
Plaintext

/* 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 "nsIArray.idl"
#include "nsISupports.idl"
#include "nsITouchBarInput.idl"
/**
* Back-to-frontend communication for the Touch Bar
*/
[scriptable, uuid(ea109912-3acc-48de-b679-c23b6a122da5)]
interface nsITouchBarHelper : nsISupports
{
/**
* Returns the active browser's URL.
*/
readonly attribute AString activeUrl;
/**
* Return the active browser's page title.
*/
readonly attribute AString activeTitle;
/**
* Returns all available Touch Bar Inputs in an nsIArray
* of nsITouchBarInput objects.
*/
attribute nsIArray allItems;
/**
* Returns the requested TouchBarInput.
* Exposed for testing.
*/
nsITouchBarInput getTouchBarInput(in string aInputName);
};