michael@0: /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsIDOMElement.idl" michael@0: #include "nsIDOMXULElement.idl" michael@0: michael@0: [scriptable, uuid(cb7eaa79-45d5-4ea3-ae17-b65fdcfe5e30)] michael@0: interface nsIDOMXULPopupElement : nsISupports { michael@0: const unsigned short BEFORE_START = 1; michael@0: const unsigned short BEFORE_END = 2; michael@0: const unsigned short AFTER_START = 3; michael@0: const unsigned short AFTER_END = 4; michael@0: const unsigned short START_BEFORE = 5; michael@0: const unsigned short START_AFTER = 6; michael@0: const unsigned short END_BEFORE = 7; michael@0: const unsigned short END_AFTER = 8; michael@0: const unsigned short OVERLAP = 9; michael@0: const unsigned short AT_POINTER = 10; michael@0: const unsigned short AFTER_POINTER = 11; michael@0: michael@0: attribute DOMString position; michael@0: michael@0: void showPopup(in unsigned short alignment, michael@0: in nsIDOMElement target, michael@0: in nsIDOMElement anchor); michael@0: void hidePopup(); michael@0: }; michael@0: