2001-02-14 23:51:33 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Mozilla Public
|
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.mozilla.org/MPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
|
|
|
*
|
|
|
|
* The Original Code is the Mozilla browser.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
|
|
|
* Communications Corporation. Portions created by Netscape are
|
|
|
|
* Copyright (C) 1999 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Original Author: Eric Vaughan (evaughan@netscape.com)
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
2001-03-04 05:31:28 +03:00
|
|
|
#include "domstubs.idl"
|
2001-03-05 23:21:39 +03:00
|
|
|
#include "nsIAtom.idl"
|
2001-05-12 01:11:38 +04:00
|
|
|
#include "domstubs.idl"
|
|
|
|
#include "nsIAccessible.idl"
|
2001-02-14 23:51:33 +03:00
|
|
|
|
2001-06-30 04:25:09 +04:00
|
|
|
interface nsIWeakReference;
|
|
|
|
|
2001-02-14 23:51:33 +03:00
|
|
|
[scriptable, uuid(68D9720A-0984-42b6-A3F5-8237ED925727)]
|
|
|
|
interface nsIAccessibilityService : nsISupports
|
|
|
|
{
|
2001-12-16 02:50:14 +03:00
|
|
|
nsIAccessible createAccessible(in nsIDOMNode aNode, in nsISupports aDocument);
|
|
|
|
nsIAccessible createIFrameAccessible(in nsIDOMNode aNode);
|
2001-05-12 01:11:38 +04:00
|
|
|
nsIAccessible createRootAccessible(in nsISupports aPresContext, in nsISupports aFrame);
|
2001-12-16 02:50:14 +03:00
|
|
|
|
|
|
|
nsIAccessible createHTML4ButtonAccessible(in nsISupports aFrame);
|
|
|
|
nsIAccessible createHTMLAreaAccessible(in nsIWeakReference aPresShell, in nsIDOMNode aDOMNode, in nsIAccessible aAccParent);
|
|
|
|
nsIAccessible createHTMLBlockAccessible(in nsIDOMNode aNode, in nsISupports aDocument);
|
|
|
|
nsIAccessible createHTMLButtonAccessible(in nsISupports aFrame);
|
|
|
|
nsIAccessible createHTMLCheckboxAccessible(in nsISupports aFrame);
|
2001-07-21 02:17:31 +04:00
|
|
|
nsIAccessible createHTMLComboboxAccessible(in nsIDOMNode aNode, in nsISupports aPresShell);
|
2002-02-16 04:34:42 +03:00
|
|
|
nsIAccessible createHTMLGroupboxAccessible(in nsISupports aFrame);
|
2001-12-16 02:50:14 +03:00
|
|
|
nsIAccessible createHTMLImageAccessible(in nsISupports aFrame);
|
2001-07-21 02:17:31 +04:00
|
|
|
nsIAccessible createHTMLListboxAccessible(in nsIDOMNode aNode, in nsISupports aPresShell);
|
2002-02-18 10:35:10 +03:00
|
|
|
// new
|
2002-02-18 11:48:29 +03:00
|
|
|
// nsIAccessible CreateHTMLObjectAccessible(in nsISupports aFrame);
|
2002-02-18 10:35:10 +03:00
|
|
|
// end new
|
2001-04-18 03:06:38 +04:00
|
|
|
nsIAccessible createHTMLRadioButtonAccessible(in nsISupports aFrame);
|
2001-12-16 02:50:14 +03:00
|
|
|
nsIAccessible createHTMLSelectOptionAccessible(in nsIDOMNode aNode, in nsIAccessible aAccParent, in nsISupports aPresShell);
|
2001-05-12 01:11:38 +04:00
|
|
|
nsIAccessible createHTMLTableAccessible(in nsISupports aFrame);
|
|
|
|
nsIAccessible createHTMLTableCellAccessible(in nsISupports aFrame);
|
2001-12-16 02:50:14 +03:00
|
|
|
nsIAccessible createHTMLTextAccessible(in nsISupports aFrame);
|
2001-05-12 01:11:38 +04:00
|
|
|
nsIAccessible createHTMLTextFieldAccessible(in nsISupports aFrame);
|
2001-12-16 02:50:14 +03:00
|
|
|
|
2001-10-10 01:52:36 +04:00
|
|
|
nsIAccessible createXULButtonAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULCheckboxAccessible(in nsIDOMNode aNode);
|
Bug 109851, bug 108629, bug 109921, bug 109977, bug 109153, bug 109187, bug 109213, bug 109221. Check in latest XUL accessibility support - menus, <colorpicker>, <progressmeter>, <groupbox>, mixed states for checkboxes, buttons that can be 'checked' ie pressed down, fixes extra MSAA events being generated, couldn't see HTML content
2001-11-20 05:05:26 +03:00
|
|
|
nsIAccessible createXULColorPickerAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULColorPickerTileAccessible(in nsIDOMNode aNode);
|
2001-12-17 04:21:29 +03:00
|
|
|
nsIAccessible createXULComboboxAccessible(in nsIDOMNode aNode);
|
2002-01-09 13:02:29 +03:00
|
|
|
nsIAccessible createXULDropmarkerAccessible(in nsIDOMNode aNode);
|
Bug 109851, bug 108629, bug 109921, bug 109977, bug 109153, bug 109187, bug 109213, bug 109221. Check in latest XUL accessibility support - menus, <colorpicker>, <progressmeter>, <groupbox>, mixed states for checkboxes, buttons that can be 'checked' ie pressed down, fixes extra MSAA events being generated, couldn't see HTML content
2001-11-20 05:05:26 +03:00
|
|
|
nsIAccessible createXULGroupboxAccessible(in nsIDOMNode aNode);
|
2001-10-10 01:52:36 +04:00
|
|
|
nsIAccessible createXULImageAccessible(in nsIDOMNode aNode);
|
2001-12-17 04:21:29 +03:00
|
|
|
nsIAccessible createXULListboxAccessible(in nsIDOMNode aNode);
|
2002-02-18 10:35:10 +03:00
|
|
|
nsIAccessible createXULListitemAccessible(in nsIDOMNode aNode);
|
Bug 109851, bug 108629, bug 109921, bug 109977, bug 109153, bug 109187, bug 109213, bug 109221. Check in latest XUL accessibility support - menus, <colorpicker>, <progressmeter>, <groupbox>, mixed states for checkboxes, buttons that can be 'checked' ie pressed down, fixes extra MSAA events being generated, couldn't see HTML content
2001-11-20 05:05:26 +03:00
|
|
|
nsIAccessible createXULMenubarAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULMenuitemAccessible(in nsIDOMNode aNode);
|
2001-12-16 02:50:14 +03:00
|
|
|
nsIAccessible createXULMenupopupAccessible(in nsIDOMNode aNode);
|
Bug 109851, bug 108629, bug 109921, bug 109977, bug 109153, bug 109187, bug 109213, bug 109221. Check in latest XUL accessibility support - menus, <colorpicker>, <progressmeter>, <groupbox>, mixed states for checkboxes, buttons that can be 'checked' ie pressed down, fixes extra MSAA events being generated, couldn't see HTML content
2001-11-20 05:05:26 +03:00
|
|
|
nsIAccessible createXULMenuSeparatorAccessible(in nsIDOMNode aNode);
|
2001-12-16 02:50:14 +03:00
|
|
|
nsIAccessible createXULProgressMeterAccessible(in nsIDOMNode aNode);
|
2002-01-09 13:02:29 +03:00
|
|
|
nsIAccessible createXULStatusBarAccessible(in nsIDOMNode aNode);
|
2001-12-16 02:50:14 +03:00
|
|
|
nsIAccessible createXULRadioButtonAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULRadioGroupAccessible(in nsIDOMNode aNode);
|
2001-12-17 04:21:29 +03:00
|
|
|
nsIAccessible createXULSelectOptionAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULSelectListAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULTabAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULTabBoxAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULTabPanelsAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULTabsAccessible(in nsIDOMNode aNode);
|
2001-12-16 02:50:14 +03:00
|
|
|
nsIAccessible createXULTextAccessible(in nsIDOMNode aNode);
|
|
|
|
|
2001-08-03 12:15:20 +04:00
|
|
|
nsIAccessible getAccessibleFor(in nsIDOMNode aNode);
|
2001-02-14 23:51:33 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
%{ C++
|
|
|
|
|
|
|
|
// for component registration
|
|
|
|
// {DE401C37-9A7F-4278-A6F8-3DE2833989EF}
|
|
|
|
#define NS_ACCESSIBILITY_SERVICE_CID \
|
|
|
|
{ 0xde401c37, 0x9a7f, 0x4278, { 0xa6, 0xf8, 0x3d, 0xe2, 0x83, 0x39, 0x89, 0xef } }
|
|
|
|
|
|
|
|
extern nsresult
|
|
|
|
NS_NewAccessibilityService(nsIAccessibilityService** aResult);
|
2001-08-03 12:15:20 +04:00
|
|
|
|
2001-02-14 23:51:33 +03:00
|
|
|
%}
|