2001-02-14 20:51:33 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
2004-04-17 21:52:36 +00:00
|
|
|
* ***** BEGIN LICENSE BLOCK *****
|
|
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
2001-02-14 20:51:33 +00:00
|
|
|
* The Original Code is the Mozilla browser.
|
2004-04-17 21:52:36 +00:00
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is
|
|
|
|
* Netscape Communications Corporation.
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 1999
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
*
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
|
|
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
* use your version of this file under the terms of the MPL, indicate your
|
|
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
* the provisions above, a recipient may use your version of this file under
|
|
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** */
|
2001-02-14 20:51:33 +00:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
2003-07-09 07:01:46 +00:00
|
|
|
#include "nsIAccessibleRetrieval.idl"
|
2001-02-14 20:51:33 +00:00
|
|
|
|
2002-06-25 22:54:23 +00:00
|
|
|
interface nsIAccessibleEventListener;
|
2003-04-15 08:45:55 +00:00
|
|
|
interface nsIDocument;
|
2004-05-26 13:01:13 +00:00
|
|
|
interface nsIFrame;
|
2003-04-15 08:45:55 +00:00
|
|
|
interface nsObjectFrame;
|
2001-06-30 00:25:09 +00:00
|
|
|
|
2004-09-01 14:58:34 +00:00
|
|
|
[scriptable, uuid(a5f0a449-41a5-4040-bb67-56e2eafcffd7)]
|
2003-07-09 07:01:46 +00:00
|
|
|
interface nsIAccessibilityService : nsIAccessibleRetrieval
|
2001-02-14 20:51:33 +00:00
|
|
|
{
|
2003-04-01 20:02:51 +00:00
|
|
|
nsIAccessible createOuterDocAccessible(in nsIDOMNode aNode);
|
2003-04-15 08:45:55 +00:00
|
|
|
nsIAccessible createRootAccessible(in nsIPresShell aShell, in nsIDocument aDocument);
|
2001-12-15 23:50:14 +00:00
|
|
|
|
|
|
|
nsIAccessible createHTML4ButtonAccessible(in nsISupports aFrame);
|
2005-03-15 15:00:44 +00:00
|
|
|
nsIAccessible createXULAlertAccessible(in nsIDOMNode aNode);
|
2001-12-15 23:50:14 +00:00
|
|
|
nsIAccessible createHTMLAreaAccessible(in nsIWeakReference aPresShell, in nsIDOMNode aDOMNode, in nsIAccessible aAccParent);
|
2003-03-05 02:51:36 +00:00
|
|
|
nsIAccessible createHTMLBlockAccessible(in nsISupports aFrame);
|
2001-12-15 23:50:14 +00:00
|
|
|
nsIAccessible createHTMLButtonAccessible(in nsISupports aFrame);
|
2002-06-26 01:53:11 +00:00
|
|
|
nsIAccessible createHTMLButtonAccessibleXBL(in nsIDOMNode aNode);
|
2005-03-15 15:00:44 +00:00
|
|
|
nsIAccessible createHTMLAccessibleByMarkup(in nsISupports aFrame, in nsIWeakReference aWeakShell, in nsIDOMNode aDOMNode);
|
2004-06-04 19:28:36 +00:00
|
|
|
nsIAccessible createHTMLLIAccessible(in nsISupports aFrame, in nsISupports aBulletFrame, in AString aBulletText);
|
2001-12-15 23:50:14 +00:00
|
|
|
nsIAccessible createHTMLCheckboxAccessible(in nsISupports aFrame);
|
2002-05-17 04:03:12 +00:00
|
|
|
nsIAccessible createHTMLCheckboxAccessibleXBL(in nsIDOMNode aNode);
|
2001-07-20 22:17:31 +00:00
|
|
|
nsIAccessible createHTMLComboboxAccessible(in nsIDOMNode aNode, in nsISupports aPresShell);
|
2004-09-01 14:58:34 +00:00
|
|
|
nsIAccessible createHTMLGenericAccessible(in nsISupports aFrame);
|
2002-02-16 01:34:42 +00:00
|
|
|
nsIAccessible createHTMLGroupboxAccessible(in nsISupports aFrame);
|
2003-03-06 18:50:39 +00:00
|
|
|
nsIAccessible createHTMLHRAccessible(in nsISupports aFrame);
|
2001-12-15 23:50:14 +00:00
|
|
|
nsIAccessible createHTMLImageAccessible(in nsISupports aFrame);
|
2003-03-06 18:50:39 +00:00
|
|
|
nsIAccessible createHTMLLabelAccessible(in nsISupports aFrame);
|
2001-07-20 22:17:31 +00:00
|
|
|
nsIAccessible createHTMLListboxAccessible(in nsIDOMNode aNode, in nsISupports aPresShell);
|
2003-04-15 08:45:55 +00:00
|
|
|
nsIAccessible createHTMLObjectFrameAccessible(in nsObjectFrame aFrame);
|
2001-04-17 23:06:38 +00:00
|
|
|
nsIAccessible createHTMLRadioButtonAccessible(in nsISupports aFrame);
|
2002-06-19 02:00:38 +00:00
|
|
|
nsIAccessible createHTMLRadioButtonAccessibleXBL(in nsIDOMNode aNode);
|
2001-12-15 23:50:14 +00:00
|
|
|
nsIAccessible createHTMLSelectOptionAccessible(in nsIDOMNode aNode, in nsIAccessible aAccParent, in nsISupports aPresShell);
|
2001-05-11 21:11:38 +00:00
|
|
|
nsIAccessible createHTMLTableAccessible(in nsISupports aFrame);
|
|
|
|
nsIAccessible createHTMLTableCellAccessible(in nsISupports aFrame);
|
2002-06-07 04:15:18 +00:00
|
|
|
nsIAccessible createHTMLTableCaptionAccessible(in nsIDOMNode aDOMNode);
|
|
|
|
nsIAccessible createHTMLTableHeadAccessible(in nsIDOMNode aDOMNode);
|
2001-12-15 23:50:14 +00:00
|
|
|
nsIAccessible createHTMLTextAccessible(in nsISupports aFrame);
|
2001-05-11 21:11:38 +00:00
|
|
|
nsIAccessible createHTMLTextFieldAccessible(in nsISupports aFrame);
|
2001-12-15 23:50:14 +00:00
|
|
|
|
2001-10-09 21:52:36 +00: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 02:05:26 +00:00
|
|
|
nsIAccessible createXULColorPickerAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULColorPickerTileAccessible(in nsIDOMNode aNode);
|
2001-12-17 01:21:29 +00:00
|
|
|
nsIAccessible createXULComboboxAccessible(in nsIDOMNode aNode);
|
2002-01-09 10:02:29 +00: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 02:05:26 +00:00
|
|
|
nsIAccessible createXULGroupboxAccessible(in nsIDOMNode aNode);
|
2001-10-09 21:52:36 +00:00
|
|
|
nsIAccessible createXULImageAccessible(in nsIDOMNode aNode);
|
2001-12-17 01:21:29 +00:00
|
|
|
nsIAccessible createXULListboxAccessible(in nsIDOMNode aNode);
|
2002-02-18 07:35:10 +00: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 02:05:26 +00:00
|
|
|
nsIAccessible createXULMenubarAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULMenuitemAccessible(in nsIDOMNode aNode);
|
2001-12-15 23:50:14 +00: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 02:05:26 +00:00
|
|
|
nsIAccessible createXULMenuSeparatorAccessible(in nsIDOMNode aNode);
|
2001-12-15 23:50:14 +00:00
|
|
|
nsIAccessible createXULProgressMeterAccessible(in nsIDOMNode aNode);
|
2002-01-09 10:02:29 +00:00
|
|
|
nsIAccessible createXULStatusBarAccessible(in nsIDOMNode aNode);
|
2001-12-15 23:50:14 +00:00
|
|
|
nsIAccessible createXULRadioButtonAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULRadioGroupAccessible(in nsIDOMNode aNode);
|
2001-12-17 01:21:29 +00: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-15 23:50:14 +00:00
|
|
|
nsIAccessible createXULTextAccessible(in nsIDOMNode aNode);
|
2003-06-04 20:57:39 +00:00
|
|
|
nsIAccessible createXULTextBoxAccessible(in nsIDOMNode aNode);
|
2002-05-13 07:19:43 +00:00
|
|
|
nsIAccessible createXULTreeAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULTreeColumnsAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULTreeColumnitemAccessible(in nsIDOMNode aNode);
|
2002-11-06 01:29:58 +00:00
|
|
|
nsIAccessible createXULToolbarAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULToolbarSeparatorAccessible(in nsIDOMNode aNode);
|
|
|
|
nsIAccessible createXULTooltipAccessible(in nsIDOMNode aNode);
|
2004-05-26 13:01:13 +00:00
|
|
|
|
|
|
|
[noscript] nsIAccessible getAccessible(in nsIDOMNode aNode, in nsIPresShell aPresShell,
|
|
|
|
in nsIWeakReference aWeakShell,
|
|
|
|
inout nsIFrame frameHint, out boolean aIsHidden);
|
2001-02-14 20:51:33 +00: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
|
2003-07-09 07:01:46 +00:00
|
|
|
NS_GetAccessibilityService(nsIAccessibilityService** aResult);
|
2001-08-03 08:15:20 +00:00
|
|
|
|
2001-02-14 20:51:33 +00:00
|
|
|
%}
|