dom/interfaces/xul/nsIDOMXULCommandDispatcher.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/interfaces/xul/nsIDOMXULCommandDispatcher.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     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 "nsISupports.idl"
    1.10 +
    1.11 +interface nsIDOMElement;
    1.12 +interface nsIController;
    1.13 +interface nsIControllers;
    1.14 +interface nsIDOMWindow;
    1.15 +
    1.16 +
    1.17 +[scriptable, uuid(f3c50361-14fe-11d3-bf87-00105a1b0627)]
    1.18 +interface nsIDOMXULCommandDispatcher : nsISupports
    1.19 +{
    1.20 +            attribute nsIDOMElement    focusedElement;
    1.21 +            attribute nsIDOMWindow     focusedWindow;
    1.22 +
    1.23 +  void                      addCommandUpdater(in nsIDOMElement updater,
    1.24 +                                              in DOMString events,
    1.25 +                                              in DOMString targets);
    1.26 +  void                      removeCommandUpdater(in nsIDOMElement updater);
    1.27 +
    1.28 +  void                      updateCommands(in DOMString eventName);
    1.29 +
    1.30 +  nsIController             getControllerForCommand(in string command);
    1.31 +  nsIControllers            getControllers();
    1.32 +
    1.33 +  void advanceFocus();
    1.34 +  void rewindFocus();
    1.35 +  void advanceFocusIntoSubtree(in nsIDOMElement elt);
    1.36 +  attribute boolean suppressFocusScroll;
    1.37 +};

mercurial