Back to index

lightning-sunbird  0.9+nobinonly
nsIAccessibilityService.idl
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *
00003  * ***** BEGIN LICENSE BLOCK *****
00004  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00005  *
00006  * The contents of this file are subject to the Mozilla Public License Version
00007  * 1.1 (the "License"); you may not use this file except in compliance with
00008  * the License. You may obtain a copy of the License at
00009  * http://www.mozilla.org/MPL/
00010  *
00011  * Software distributed under the License is distributed on an "AS IS" basis,
00012  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00013  * for the specific language governing rights and limitations under the
00014  * License.
00015  *
00016  * The Original Code is the Mozilla browser.
00017  *
00018  * The Initial Developer of the Original Code is
00019  * Netscape Communications Corporation.
00020  * Portions created by the Initial Developer are Copyright (C) 1999
00021  * the Initial Developer. All Rights Reserved.
00022  *
00023  * Contributor(s):
00024  *
00025  * Alternatively, the contents of this file may be used under the terms of
00026  * either of the GNU General Public License Version 2 or later (the "GPL"),
00027  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00028  * in which case the provisions of the GPL or the LGPL are applicable instead
00029  * of those above. If you wish to allow use of your version of this file only
00030  * under the terms of either the GPL or the LGPL, and not to allow others to
00031  * use your version of this file under the terms of the MPL, indicate your
00032  * decision by deleting the provisions above and replace them with the notice
00033  * and other provisions required by the GPL or the LGPL. If you do not delete
00034  * the provisions above, a recipient may use your version of this file under
00035  * the terms of any one of the MPL, the GPL or the LGPL.
00036  *
00037  * ***** END LICENSE BLOCK ***** */
00038 
00039 #include "nsISupports.idl"
00040 #include "nsIAccessibleRetrieval.idl"
00041 
00042 interface nsIAccessibleEventListener;
00043 interface nsIDocument;
00044 interface nsIFrame;
00045 interface nsObjectFrame;
00046 interface nsIContent;
00047 
00048 [scriptable, uuid(0e80f152-d676-4fba-8862-9dc4eb761442)]
00049 interface nsIAccessibilityService : nsIAccessibleRetrieval
00050 {
00051   nsIAccessible createOuterDocAccessible(in nsIDOMNode aNode);
00052   nsIAccessible createRootAccessible(in nsIPresShell aShell, in nsIDocument aDocument);
00053 
00054   nsIAccessible createHTML4ButtonAccessible(in nsISupports aFrame);
00055   nsIAccessible createXULAlertAccessible(in nsIDOMNode aNode);
00056   nsIAccessible createHTMLAreaAccessible(in nsIWeakReference aPresShell, in nsIDOMNode aDOMNode, in nsIAccessible aAccParent);
00057   nsIAccessible createHTMLBlockAccessible(in nsISupports aFrame);
00058   nsIAccessible createHTMLButtonAccessible(in nsISupports aFrame);
00059   nsIAccessible createHTMLButtonAccessibleXBL(in nsIDOMNode aNode);
00060   nsIAccessible createHTMLAccessibleByMarkup(in nsISupports aFrame, in nsIWeakReference aWeakShell, in nsIDOMNode aDOMNode, in AString aRole);
00061   nsIAccessible createHTMLLIAccessible(in nsISupports aFrame, in nsISupports aBulletFrame, in AString aBulletText);
00062   nsIAccessible createHTMLCheckboxAccessible(in nsISupports aFrame);
00063   nsIAccessible createHTMLCheckboxAccessibleXBL(in nsIDOMNode aNode);
00064   nsIAccessible createHTMLComboboxAccessible(in nsIDOMNode aNode, in nsISupports aPresShell);
00065   nsIAccessible createHTMLGenericAccessible(in nsISupports aFrame);
00066   nsIAccessible createHTMLGroupboxAccessible(in nsISupports aFrame);
00067   nsIAccessible createHTMLHRAccessible(in nsISupports aFrame);
00068   nsIAccessible createHTMLImageAccessible(in nsISupports aFrame);
00069   nsIAccessible createHTMLLabelAccessible(in nsISupports aFrame);
00070   nsIAccessible createHTMLListboxAccessible(in nsIDOMNode aNode, in nsISupports aPresShell);
00071   nsIAccessible createHTMLObjectFrameAccessible(in nsObjectFrame aFrame);
00072   nsIAccessible createHTMLRadioButtonAccessible(in nsISupports aFrame);
00073   nsIAccessible createHTMLRadioButtonAccessibleXBL(in nsIDOMNode aNode);
00074   nsIAccessible createHTMLSelectOptionAccessible(in nsIDOMNode aNode, in nsIAccessible aAccParent, in nsISupports aPresShell);
00075   nsIAccessible createHTMLTableAccessible(in nsISupports aFrame);
00076   nsIAccessible createHTMLTableCellAccessible(in nsISupports aFrame);
00077   nsIAccessible createHTMLTableCaptionAccessible(in nsIDOMNode aDOMNode);
00078   nsIAccessible createHTMLTableHeadAccessible(in nsIDOMNode aDOMNode);
00079   nsIAccessible createHTMLTextAccessible(in nsISupports aFrame);
00080   nsIAccessible createHTMLTextFieldAccessible(in nsISupports aFrame);
00081 
00082   nsIAccessible createXULButtonAccessible(in nsIDOMNode aNode);
00083   nsIAccessible createXULCheckboxAccessible(in nsIDOMNode aNode);
00084   nsIAccessible createXULColorPickerAccessible(in nsIDOMNode aNode);
00085   nsIAccessible createXULColorPickerTileAccessible(in nsIDOMNode aNode);
00086   nsIAccessible createXULComboboxAccessible(in nsIDOMNode aNode);
00087   nsIAccessible createXULDropmarkerAccessible(in nsIDOMNode aNode);
00088   nsIAccessible createXULGroupboxAccessible(in nsIDOMNode aNode);
00089   nsIAccessible createXULImageAccessible(in nsIDOMNode aNode);
00090   nsIAccessible createXULLinkAccessible(in nsIDOMNode aNode);
00091   nsIAccessible createXULListboxAccessible(in nsIDOMNode aNode);
00092   nsIAccessible createXULListitemAccessible(in nsIDOMNode aNode);
00093   nsIAccessible createXULMenubarAccessible(in nsIDOMNode aNode);
00094   nsIAccessible createXULMenuitemAccessible(in nsIDOMNode aNode);
00095   nsIAccessible createXULMenupopupAccessible(in nsIDOMNode aNode);
00096   nsIAccessible createXULMenuSeparatorAccessible(in nsIDOMNode aNode);
00097   nsIAccessible createXULProgressMeterAccessible(in nsIDOMNode aNode);
00098   nsIAccessible createXULStatusBarAccessible(in nsIDOMNode aNode);
00099   nsIAccessible createXULRadioButtonAccessible(in nsIDOMNode aNode);
00100   nsIAccessible createXULRadioGroupAccessible(in nsIDOMNode aNode);
00101   nsIAccessible createXULSelectOptionAccessible(in nsIDOMNode aNode);
00102   nsIAccessible createXULSelectListAccessible(in nsIDOMNode aNode);
00103   nsIAccessible createXULTabAccessible(in nsIDOMNode aNode);
00104   nsIAccessible createXULTabBoxAccessible(in nsIDOMNode aNode);
00105   nsIAccessible createXULTabPanelsAccessible(in nsIDOMNode aNode);
00106   nsIAccessible createXULTabsAccessible(in nsIDOMNode aNode);
00107   nsIAccessible createXULTextAccessible(in nsIDOMNode aNode);
00108   nsIAccessible createXULTextBoxAccessible(in nsIDOMNode aNode);
00109   nsIAccessible createXULTreeAccessible(in nsIDOMNode aNode);
00110   nsIAccessible createXULTreeColumnsAccessible(in nsIDOMNode aNode);
00111   nsIAccessible createXULTreeColumnitemAccessible(in nsIDOMNode aNode);
00112   nsIAccessible createXULToolbarAccessible(in nsIDOMNode aNode);
00113   nsIAccessible createXULToolbarSeparatorAccessible(in nsIDOMNode aNode);
00114   nsIAccessible createXULTooltipAccessible(in nsIDOMNode aNode);
00115 
00116   [noscript] nsIAccessible getAccessible(in nsIDOMNode aNode, in nsIPresShell aPresShell,                          
00117                               in nsIWeakReference aWeakShell, 
00118                               inout nsIFrame frameHint, out boolean aIsHidden);
00119 
00134   [noscript] void invalidateSubtreeFor(in nsIPresShell aPresShell,
00135                                        in nsIContent aChangedContent,
00136                                        in PRUint32 aEvent);
00137 };
00138 
00139 
00140 %{ C++
00141 
00142 // for component registration
00143 // {DE401C37-9A7F-4278-A6F8-3DE2833989EF}
00144 #define NS_ACCESSIBILITY_SERVICE_CID \
00145 { 0xde401c37, 0x9a7f, 0x4278, { 0xa6, 0xf8, 0x3d, 0xe2, 0x83, 0x39, 0x89, 0xef } }
00146 
00147 extern nsresult
00148 NS_GetAccessibilityService(nsIAccessibilityService** aResult);
00149 
00150 %}