toolkit/modules/nsIRegion.idl
author Barret Rennie <barret@brennie.ca>
Mon, 05 Dec 2022 17:34:17 +0000
changeset 644696 014c40f660b4bc7f4900c101855e0252fecf450b
parent 564654 cf9e8638462a2e1583d4aa16bc216db1263cbc4a
permissions -rw-r--r--
Bug 1803668 - Support actions in Infobar messages r=emcminn Differential Revision: https://phabricator.services.mozilla.com/D163643

/* 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"

[scriptable, uuid(21e6d094-e016-41a4-80cd-76d2e20871aa)]
interface nsIRegion : nsISupports
{
  /**
   * The users current region.
   */
  readonly attribute AString current;

  /**
   * The users current home region.
   */
  readonly attribute AString home;
};

%{ C++
/**
 * The observer topic to listen to for Region notifications.
 */
#define REGION_TOPIC "browser-region-updated"

%}