зеркало из https://github.com/mozilla/pjs.git
Fix regression from bug 352357; we rely on the constants in the interface being continous (there must not be any gaps). Too bad IDL doesn't offer any auto-enumeration... r=aaronlev
This commit is contained in:
Родитель
d9521f53e3
Коммит
8a516595ae
|
@ -56,7 +56,7 @@ interface nsIPersistentProperties;
|
|||
*
|
||||
* @status UNDER_REVIEW
|
||||
*/
|
||||
[scriptable, uuid(e420f6cd-3058-44f7-9b4e-61c4ded531e9)]
|
||||
[scriptable, uuid(1b9596e8-d7bf-4b99-b032-53a1bf9be1c3)]
|
||||
interface nsIAccessible : nsISupports
|
||||
{
|
||||
/**
|
||||
|
@ -448,46 +448,46 @@ interface nsIAccessible : nsISupports
|
|||
const unsigned long ROLE_DESKTOP_FRAME = 71;
|
||||
const unsigned long ROLE_DIRECTORY_PANE = 72;
|
||||
const unsigned long ROLE_FILE_CHOOSER = 73;
|
||||
const unsigned long ROLE_FONT_CHOOSER = 75;
|
||||
const unsigned long ROLE_CHROME_WINDOW = 76;
|
||||
const unsigned long ROLE_GLASS_PANE = 77;
|
||||
const unsigned long ROLE_HTML_CONTAINER = 78;
|
||||
const unsigned long ROLE_ICON = 79;
|
||||
const unsigned long ROLE_LABEL = 81;
|
||||
const unsigned long ROLE_LAYERED_PANE = 82;
|
||||
const unsigned long ROLE_OPTION_PANE = 83;
|
||||
const unsigned long ROLE_PASSWORD_TEXT = 84;
|
||||
const unsigned long ROLE_POPUP_MENU = 85;
|
||||
const unsigned long ROLE_RADIO_MENU_ITEM = 86;
|
||||
const unsigned long ROLE_ROOT_PANE = 87;
|
||||
const unsigned long ROLE_SCROLL_PANE = 88;
|
||||
const unsigned long ROLE_SPLIT_PANE = 89;
|
||||
const unsigned long ROLE_TABLE_COLUMN_HEADER = 90;
|
||||
const unsigned long ROLE_TABLE_ROW_HEADER = 91;
|
||||
const unsigned long ROLE_TEAR_OFF_MENU_ITEM = 92;
|
||||
const unsigned long ROLE_TERMINAL = 93;
|
||||
const unsigned long ROLE_TEXT_CONTAINER = 94;
|
||||
const unsigned long ROLE_TOGGLE_BUTTON = 95;
|
||||
const unsigned long ROLE_TREE_TABLE = 96;
|
||||
const unsigned long ROLE_VIEWPORT = 97;
|
||||
const unsigned long ROLE_HEADER = 98;
|
||||
const unsigned long ROLE_FOOTER = 99;
|
||||
const unsigned long ROLE_PARAGRAPH = 100;
|
||||
const unsigned long ROLE_RULER = 101;
|
||||
const unsigned long ROLE_AUTOCOMPLETE = 102;
|
||||
const unsigned long ROLE_EDITBAR = 103;
|
||||
const unsigned long ROLE_ENTRY = 105;
|
||||
const unsigned long ROLE_CAPTION = 106;
|
||||
const unsigned long ROLE_DOCUMENT_FRAME = 107;
|
||||
const unsigned long ROLE_HEADING = 108;
|
||||
const unsigned long ROLE_PAGE = 109;
|
||||
const unsigned long ROLE_SECTION = 110;
|
||||
const unsigned long ROLE_REDUNDANT_OBJECT = 111;
|
||||
const unsigned long ROLE_FORM = 112;
|
||||
const unsigned long ROLE_IME = 113;
|
||||
const unsigned long ROLE_APP_ROOT = 114;
|
||||
const unsigned long ROLE_PARENT_MENUITEM = 115;
|
||||
const unsigned long ROLE_LAST_ENTRY = 116; // Important -- helps ensure nsRoleMap's are synchronized
|
||||
const unsigned long ROLE_FONT_CHOOSER = 74;
|
||||
const unsigned long ROLE_CHROME_WINDOW = 75;
|
||||
const unsigned long ROLE_GLASS_PANE = 76;
|
||||
const unsigned long ROLE_HTML_CONTAINER = 77;
|
||||
const unsigned long ROLE_ICON = 78;
|
||||
const unsigned long ROLE_LABEL = 79;
|
||||
const unsigned long ROLE_LAYERED_PANE = 80;
|
||||
const unsigned long ROLE_OPTION_PANE = 81;
|
||||
const unsigned long ROLE_PASSWORD_TEXT = 82;
|
||||
const unsigned long ROLE_POPUP_MENU = 83;
|
||||
const unsigned long ROLE_RADIO_MENU_ITEM = 84;
|
||||
const unsigned long ROLE_ROOT_PANE = 85;
|
||||
const unsigned long ROLE_SCROLL_PANE = 86;
|
||||
const unsigned long ROLE_SPLIT_PANE = 87;
|
||||
const unsigned long ROLE_TABLE_COLUMN_HEADER = 88;
|
||||
const unsigned long ROLE_TABLE_ROW_HEADER = 89;
|
||||
const unsigned long ROLE_TEAR_OFF_MENU_ITEM = 90;
|
||||
const unsigned long ROLE_TERMINAL = 91;
|
||||
const unsigned long ROLE_TEXT_CONTAINER = 92;
|
||||
const unsigned long ROLE_TOGGLE_BUTTON = 93;
|
||||
const unsigned long ROLE_TREE_TABLE = 94;
|
||||
const unsigned long ROLE_VIEWPORT = 95;
|
||||
const unsigned long ROLE_HEADER = 96;
|
||||
const unsigned long ROLE_FOOTER = 97;
|
||||
const unsigned long ROLE_PARAGRAPH = 98;
|
||||
const unsigned long ROLE_RULER = 99;
|
||||
const unsigned long ROLE_AUTOCOMPLETE = 100;
|
||||
const unsigned long ROLE_EDITBAR = 101;
|
||||
const unsigned long ROLE_ENTRY = 102;
|
||||
const unsigned long ROLE_CAPTION = 103;
|
||||
const unsigned long ROLE_DOCUMENT_FRAME = 104;
|
||||
const unsigned long ROLE_HEADING = 105;
|
||||
const unsigned long ROLE_PAGE = 106;
|
||||
const unsigned long ROLE_SECTION = 107;
|
||||
const unsigned long ROLE_REDUNDANT_OBJECT = 108;
|
||||
const unsigned long ROLE_FORM = 109;
|
||||
const unsigned long ROLE_IME = 110;
|
||||
const unsigned long ROLE_APP_ROOT = 111;
|
||||
const unsigned long ROLE_PARENT_MENUITEM = 112;
|
||||
const unsigned long ROLE_LAST_ENTRY = 113; // Important -- helps ensure nsRoleMap's are synchronized
|
||||
|
||||
// MSAA relationship extensions to accNavigate
|
||||
const unsigned long NAVRELATION_CONTROLLED_BY = 0x1000;
|
||||
|
|
|
@ -120,45 +120,45 @@ PRUint32 atkRoleMap[] = {
|
|||
ATK_ROLE_DESKTOP_FRAME, // nsIAccessible::ROLE_DESKTOP_FRAME 71
|
||||
ATK_ROLE_DIRECTORY_PANE, // nsIAccessible::ROLE_DIRECTORY_PANE 72
|
||||
ATK_ROLE_FILE_CHOOSER, // nsIAccessible::ROLE_FILE_CHOOSER 73
|
||||
ATK_ROLE_FONT_CHOOSER, // nsIAccessible::ROLE_FONT_CHOOSER 75
|
||||
ATK_ROLE_FRAME, // nsIAccessible::ROLE_CHROME_WINDOW 76
|
||||
ATK_ROLE_GLASS_PANE, // nsIAccessible::ROLE_GLASS_PANE 77
|
||||
ATK_ROLE_HTML_CONTAINER, // nsIAccessible::ROLE_HTML_CONTAINER 78
|
||||
ATK_ROLE_ICON, // nsIAccessible::ROLE_ICON 79
|
||||
ATK_ROLE_LABEL, // nsIAccessible::ROLE_LABEL 81
|
||||
ATK_ROLE_LAYERED_PANE, // nsIAccessible::ROLE_LAYERED_PANE 82
|
||||
ATK_ROLE_OPTION_PANE, // nsIAccessible::ROLE_OPTION_PANE 83
|
||||
ATK_ROLE_PASSWORD_TEXT, // nsIAccessible::ROLE_PASSWORD_TEXT 84
|
||||
ATK_ROLE_POPUP_MENU, // nsIAccessible::ROLE_POPUP_MENU 85
|
||||
ATK_ROLE_RADIO_MENU_ITEM, // nsIAccessible::ROLE_RADIO_MENU_ITEM 86
|
||||
ATK_ROLE_ROOT_PANE, // nsIAccessible::ROLE_ROOT_PANE 87
|
||||
ATK_ROLE_SCROLL_PANE, // nsIAccessible::ROLE_SCROLL_PANE 88
|
||||
ATK_ROLE_SPLIT_PANE, // nsIAccessible::ROLE_SPLIT_PANE 89
|
||||
ATK_ROLE_TABLE_COLUMN_HEADER, // nsIAccessible::ROLE_TABLE_COLUMN_HEADER 90
|
||||
ATK_ROLE_TABLE_ROW_HEADER, // nsIAccessible::ROLE_TABLE_ROW_HEADER 91
|
||||
ATK_ROLE_TEAR_OFF_MENU_ITEM, // nsIAccessible::ROLE_TEAR_OFF_MENU_ITEM 92
|
||||
ATK_ROLE_TERMINAL, // nsIAccessible::ROLE_TERMINAL 93
|
||||
ATK_ROLE_TEXT, // nsIAccessible::ROLE_TEXT_CONTAINER 94
|
||||
ATK_ROLE_TOGGLE_BUTTON, // nsIAccessible::ROLE_TOGGLE_BUTTON 95
|
||||
ATK_ROLE_TREE_TABLE, // nsIAccessible::ROLE_TREE_TABLE 96
|
||||
ATK_ROLE_VIEWPORT, // nsIAccessible::ROLE_VIEWPORT 97
|
||||
ATK_ROLE_HEADER, // nsIAccessible::ROLE_HEADER 98
|
||||
ATK_ROLE_FOOTER, // nsIAccessible::ROLE_FOOTER 99
|
||||
ATK_ROLE_PARAGRAPH, // nsIAccessible::ROLE_PARAGRAPH 100
|
||||
ATK_ROLE_RULER, // nsIAccessible::ROLE_RULER 101
|
||||
ATK_ROLE_AUTOCOMPLETE, // nsIAccessible::ROLE_AUTOCOMPLETE 102
|
||||
ATK_ROLE_EDITBAR, // nsIAccessible::ROLE_EDITBAR 103
|
||||
ATK_ROLE_ENTRY, // nsIAccessible::ROLE_ENTRY 105
|
||||
ATK_ROLE_CAPTION, // nsIAccessible::ROLE_CAPTION 106
|
||||
ATK_ROLE_DOCUMENT_FRAME, // nsIAccessible::ROLE_DOCUMENT_FRAME 107
|
||||
ATK_ROLE_HEADING, // nsIAccessible::ROLE_HEADING 108
|
||||
ATK_ROLE_PAGE, // nsIAccessible::ROLE_PAGE 109
|
||||
ATK_ROLE_SECTION, // nsIAccessible::ROLE_SECTION 110
|
||||
ATK_ROLE_REDUNDANT_OBJECT, // nsIAccessible::ROLE_REDUNDANT_OBJECT 111
|
||||
ATK_ROLE_FORM, // nsIAccessible::ROLE_FORM 112
|
||||
ATK_ROLE_INPUT_METHOD_WINDOW, // nsIAccessible::ROLE_IME 113
|
||||
ATK_ROLE_APPLICATION, // nsIAccessible::ROLE_APP_ROOT 114
|
||||
ATK_ROLE_MENU, // nsIAccessible::ROLE_PARENT_MENUITEM 115
|
||||
ATK_ROLE_FONT_CHOOSER, // nsIAccessible::ROLE_FONT_CHOOSER 74
|
||||
ATK_ROLE_FRAME, // nsIAccessible::ROLE_CHROME_WINDOW 75
|
||||
ATK_ROLE_GLASS_PANE, // nsIAccessible::ROLE_GLASS_PANE 76
|
||||
ATK_ROLE_HTML_CONTAINER, // nsIAccessible::ROLE_HTML_CONTAINER 77
|
||||
ATK_ROLE_ICON, // nsIAccessible::ROLE_ICON 78
|
||||
ATK_ROLE_LABEL, // nsIAccessible::ROLE_LABEL 79
|
||||
ATK_ROLE_LAYERED_PANE, // nsIAccessible::ROLE_LAYERED_PANE 80
|
||||
ATK_ROLE_OPTION_PANE, // nsIAccessible::ROLE_OPTION_PANE 81
|
||||
ATK_ROLE_PASSWORD_TEXT, // nsIAccessible::ROLE_PASSWORD_TEXT 82
|
||||
ATK_ROLE_POPUP_MENU, // nsIAccessible::ROLE_POPUP_MENU 83
|
||||
ATK_ROLE_RADIO_MENU_ITEM, // nsIAccessible::ROLE_RADIO_MENU_ITEM 84
|
||||
ATK_ROLE_ROOT_PANE, // nsIAccessible::ROLE_ROOT_PANE 85
|
||||
ATK_ROLE_SCROLL_PANE, // nsIAccessible::ROLE_SCROLL_PANE 86
|
||||
ATK_ROLE_SPLIT_PANE, // nsIAccessible::ROLE_SPLIT_PANE 87
|
||||
ATK_ROLE_TABLE_COLUMN_HEADER, // nsIAccessible::ROLE_TABLE_COLUMN_HEADER 88
|
||||
ATK_ROLE_TABLE_ROW_HEADER, // nsIAccessible::ROLE_TABLE_ROW_HEADER 89
|
||||
ATK_ROLE_TEAR_OFF_MENU_ITEM, // nsIAccessible::ROLE_TEAR_OFF_MENU_ITEM 90
|
||||
ATK_ROLE_TERMINAL, // nsIAccessible::ROLE_TERMINAL 91
|
||||
ATK_ROLE_TEXT, // nsIAccessible::ROLE_TEXT_CONTAINER 92
|
||||
ATK_ROLE_TOGGLE_BUTTON, // nsIAccessible::ROLE_TOGGLE_BUTTON 93
|
||||
ATK_ROLE_TREE_TABLE, // nsIAccessible::ROLE_TREE_TABLE 94
|
||||
ATK_ROLE_VIEWPORT, // nsIAccessible::ROLE_VIEWPORT 95
|
||||
ATK_ROLE_HEADER, // nsIAccessible::ROLE_HEADER 96
|
||||
ATK_ROLE_FOOTER, // nsIAccessible::ROLE_FOOTER 97
|
||||
ATK_ROLE_PARAGRAPH, // nsIAccessible::ROLE_PARAGRAPH 98
|
||||
ATK_ROLE_RULER, // nsIAccessible::ROLE_RULER 99
|
||||
ATK_ROLE_AUTOCOMPLETE, // nsIAccessible::ROLE_AUTOCOMPLETE 100
|
||||
ATK_ROLE_EDITBAR, // nsIAccessible::ROLE_EDITBAR 101
|
||||
ATK_ROLE_ENTRY, // nsIAccessible::ROLE_ENTRY 102
|
||||
ATK_ROLE_CAPTION, // nsIAccessible::ROLE_CAPTION 103
|
||||
ATK_ROLE_DOCUMENT_FRAME, // nsIAccessible::ROLE_DOCUMENT_FRAME 104
|
||||
ATK_ROLE_HEADING, // nsIAccessible::ROLE_HEADING 105
|
||||
ATK_ROLE_PAGE, // nsIAccessible::ROLE_PAGE 106
|
||||
ATK_ROLE_SECTION, // nsIAccessible::ROLE_SECTION 107
|
||||
ATK_ROLE_REDUNDANT_OBJECT, // nsIAccessible::ROLE_REDUNDANT_OBJECT 108
|
||||
ATK_ROLE_FORM, // nsIAccessible::ROLE_FORM 109
|
||||
ATK_ROLE_INPUT_METHOD_WINDOW, // nsIAccessible::ROLE_IME 110
|
||||
ATK_ROLE_APPLICATION, // nsIAccessible::ROLE_APP_ROOT 111
|
||||
ATK_ROLE_MENU, // nsIAccessible::ROLE_PARENT_MENUITEM 112
|
||||
kROLE_ATK_LAST_ENTRY // nsIAccessible::ROLE_LAST_ENTRY
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче