nsIDOMXULCommandDispatcher.idl 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #include "nsISupports.idl"
  6. interface nsIDOMElement;
  7. interface nsIController;
  8. interface nsIControllers;
  9. interface mozIDOMWindowProxy;
  10. [scriptable, uuid(a9fa9fd3-8d62-4f94-9ed8-3ea9c3cf0773)]
  11. interface nsIDOMXULCommandDispatcher : nsISupports
  12. {
  13. attribute nsIDOMElement focusedElement;
  14. attribute mozIDOMWindowProxy focusedWindow;
  15. void addCommandUpdater(in nsIDOMElement updater,
  16. in DOMString events,
  17. in DOMString targets);
  18. void removeCommandUpdater(in nsIDOMElement updater);
  19. void updateCommands(in DOMString eventName);
  20. nsIController getControllerForCommand(in string command);
  21. nsIControllers getControllers();
  22. void advanceFocus();
  23. void rewindFocus();
  24. void advanceFocusIntoSubtree(in nsIDOMElement elt);
  25. attribute boolean suppressFocusScroll;
  26. };