Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
michael@0 | 1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | #include "nsIDOMElement.idl" |
michael@0 | 7 | #include "nsIDOMXULElement.idl" |
michael@0 | 8 | |
michael@0 | 9 | [scriptable, uuid(cb7eaa79-45d5-4ea3-ae17-b65fdcfe5e30)] |
michael@0 | 10 | interface nsIDOMXULPopupElement : nsISupports { |
michael@0 | 11 | const unsigned short BEFORE_START = 1; |
michael@0 | 12 | const unsigned short BEFORE_END = 2; |
michael@0 | 13 | const unsigned short AFTER_START = 3; |
michael@0 | 14 | const unsigned short AFTER_END = 4; |
michael@0 | 15 | const unsigned short START_BEFORE = 5; |
michael@0 | 16 | const unsigned short START_AFTER = 6; |
michael@0 | 17 | const unsigned short END_BEFORE = 7; |
michael@0 | 18 | const unsigned short END_AFTER = 8; |
michael@0 | 19 | const unsigned short OVERLAP = 9; |
michael@0 | 20 | const unsigned short AT_POINTER = 10; |
michael@0 | 21 | const unsigned short AFTER_POINTER = 11; |
michael@0 | 22 | |
michael@0 | 23 | attribute DOMString position; |
michael@0 | 24 | |
michael@0 | 25 | void showPopup(in unsigned short alignment, |
michael@0 | 26 | in nsIDOMElement target, |
michael@0 | 27 | in nsIDOMElement anchor); |
michael@0 | 28 | void hidePopup(); |
michael@0 | 29 | }; |
michael@0 | 30 |