mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Backing out changes to 2 files I accidentally checked in
This commit is contained in:
parent
972fd827a3
commit
a0485ce5f0
@ -242,11 +242,9 @@ NS_IMETHODIMP nsDocAccessibleWrap::FireToolkitEvent(PRUint32 aEvent, nsIAccessib
|
||||
GUITHREADINFO guiInfo;
|
||||
guiInfo.cbSize = sizeof(GUITHREADINFO);
|
||||
if (gmGetGUIThreadInfo(NULL, &guiInfo)) {
|
||||
if (hWnd != guiInfo.hwndFocus) {
|
||||
hWnd = guiInfo.hwndFocus;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// notify the window system
|
||||
NotifyWinEvent(aEvent, hWnd, worldID, childID);
|
||||
|
@ -465,10 +465,10 @@ NS_IMETHODIMP nsXULTreeitemAccessible::GetRole(PRUint32 *_retval)
|
||||
// Possible states: focused, focusable, selected, expanded/collapsed
|
||||
NS_IMETHODIMP nsXULTreeitemAccessible::GetState(PRUint32 *_retval)
|
||||
{
|
||||
*_retval = STATE_FOCUSABLE | STATE_SELECTABLE;
|
||||
|
||||
NS_ENSURE_TRUE(mTree && mTreeView, NS_ERROR_FAILURE);
|
||||
|
||||
*_retval = STATE_FOCUSABLE | STATE_SELECTABLE;
|
||||
|
||||
// get expanded/collapsed state
|
||||
PRBool isContainer, isContainerOpen, isContainerEmpty;
|
||||
mTreeView->IsContainer(mRow, &isContainer);
|
||||
|
Loading…
Reference in New Issue
Block a user