Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions  Download package

PRBool nsAccessibleTreeWalker::GetAccessible (  )  [protected]

If the DOM node's frame has an accessible or the DOMNode itself implements nsIAccessible return it.

Definition at line 278 of file nsAccessibleTreeWalker.cpp.

  if (!mAccService) {
    return PR_FALSE;

  mState.accessible = nsnull;
  nsCOMPtr<nsIPresShell> presShell(do_QueryReferent(mWeakShell));

  mAccService->GetAccessible(mState.domNode, presShell, mWeakShell,
                             &mState.frame, &mState.isHidden,
  return mState.accessible ? PR_TRUE : PR_FALSE;

Generated by  Doxygen 1.6.0   Back to index