Logo Search packages:      
Sourcecode: xulrunner version File versions

already_AddRefed< nsIAccessible > nsLinkableAccessible::GetActionAccessible (  )  [protected, inherited]

Return an accessible for cached action node.

Definition at line 294 of file nsBaseWidgetAccessible.cpp.

  // Return accessible for the action content if it's different from node of
  // this accessible. If the action accessible is not null then it is used to
  // redirect methods calls otherwise we use method implementation from the
  // base class.
  nsCOMPtr<nsIDOMNode> actionNode(do_QueryInterface(mActionContent));
  if (!actionNode || mDOMNode == actionNode)
    return nsnull;

  nsIAccessible *accessible = nsnull;
  GetAccService()->GetAccessibleInWeakShell(actionNode, mWeakShell,
  return accessible;

Generated by  Doxygen 1.6.0   Back to index