1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/interfaces/xul/nsIDOMXULPopupElement.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 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 "nsIDOMElement.idl" 1.10 +#include "nsIDOMXULElement.idl" 1.11 + 1.12 +[scriptable, uuid(cb7eaa79-45d5-4ea3-ae17-b65fdcfe5e30)] 1.13 +interface nsIDOMXULPopupElement : nsISupports { 1.14 + const unsigned short BEFORE_START = 1; 1.15 + const unsigned short BEFORE_END = 2; 1.16 + const unsigned short AFTER_START = 3; 1.17 + const unsigned short AFTER_END = 4; 1.18 + const unsigned short START_BEFORE = 5; 1.19 + const unsigned short START_AFTER = 6; 1.20 + const unsigned short END_BEFORE = 7; 1.21 + const unsigned short END_AFTER = 8; 1.22 + const unsigned short OVERLAP = 9; 1.23 + const unsigned short AT_POINTER = 10; 1.24 + const unsigned short AFTER_POINTER = 11; 1.25 + 1.26 + attribute DOMString position; 1.27 + 1.28 + void showPopup(in unsigned short alignment, 1.29 + in nsIDOMElement target, 1.30 + in nsIDOMElement anchor); 1.31 + void hidePopup(); 1.32 +}; 1.33 +