Bug 253468 - nsIAccessible doesn't need STATE_SIZEABLE and STATE_RESIZABLE.

r=aaronleventhal@moonset.net, sr=shaver@mozilla.org
This commit is contained in:
pkw%us.ibm.com 2004-07-30 18:06:27 +00:00
Родитель 365f77fb94
Коммит 1e27a7f4a9
3 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -52,7 +52,7 @@
*
* @status UNDER_REVIEW
*/
[scriptable, uuid(EF7E14F3-64D2-4389-8F8B-DD899C544374)]
[scriptable, uuid(E2F395E9-3795-4494-9D0E-C5D50CD196C0)]
interface nsIAccessible : nsISupports
{
/**
@ -280,7 +280,6 @@ interface nsIAccessible : nsISupports
const unsigned long STATE_MODAL = 0x01000000; // Must do something with control before leaving it
const unsigned long STATE_MULTI_LINE = 0x02000000; // Edit control that can take multiple lines
const unsigned long STATE_SENSITIVE = 0x04000000; // No explanation given
const unsigned long STATE_RESIZABLE = 0x08000000; // Object can be resized
const unsigned long STATE_SHOWING = 0x10000000; // This object and all of it's ancestors are visible
const unsigned long STATE_SINGLE_LINE = 0x20000000; // This text object can only contain 1 line of text
const unsigned long STATE_TRANSIENT = 0x40000000; // Tells accessibility aid "Don't add event listener - this object doesn't generate any". For example, could be used with higher level containers.

Просмотреть файл

@ -538,9 +538,6 @@ nsAccessibleWrap::TranslateStates(PRUint32 aState, void *aAtkStateSet)
if (aState & nsIAccessible::STATE_SENSITIVE)
atk_state_set_add_state (state_set, ATK_STATE_SENSITIVE);
if (aState & nsIAccessible::STATE_RESIZABLE)
atk_state_set_add_state (state_set, ATK_STATE_RESIZABLE);
if (aState & nsIAccessible::STATE_SHOWING)
atk_state_set_add_state (state_set, ATK_STATE_SHOWING);

Просмотреть файл

@ -489,8 +489,6 @@ TranslateAState(PRUint32 aState)
return ATK_STATE_MULTI_LINE;
case nsIAccessible::STATE_SENSITIVE:
return ATK_STATE_SENSITIVE;
case nsIAccessible::STATE_RESIZABLE:
return ATK_STATE_RESIZABLE;
case nsIAccessible::STATE_SHOWING:
return ATK_STATE_SHOWING;
case nsIAccessible::STATE_SINGLE_LINE: