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 "nsISupports.idl" michael@0: michael@0: interface nsIDOMElement; michael@0: interface nsIController; michael@0: interface nsIControllers; michael@0: interface nsIDOMWindow; michael@0: michael@0: michael@0: [scriptable, uuid(f3c50361-14fe-11d3-bf87-00105a1b0627)] michael@0: interface nsIDOMXULCommandDispatcher : nsISupports michael@0: { michael@0: attribute nsIDOMElement focusedElement; michael@0: attribute nsIDOMWindow focusedWindow; michael@0: michael@0: void addCommandUpdater(in nsIDOMElement updater, michael@0: in DOMString events, michael@0: in DOMString targets); michael@0: void removeCommandUpdater(in nsIDOMElement updater); michael@0: michael@0: void updateCommands(in DOMString eventName); michael@0: michael@0: nsIController getControllerForCommand(in string command); michael@0: nsIControllers getControllers(); michael@0: michael@0: void advanceFocus(); michael@0: void rewindFocus(); michael@0: void advanceFocusIntoSubtree(in nsIDOMElement elt); michael@0: attribute boolean suppressFocusScroll; michael@0: };