зеркало из https://github.com/mozilla/gecko-dev.git
Bug 345421 nsRoleMap.h uses -1 for PRUint32
patch by gaomingcn at gmail.com r=aaronleventhal
This commit is contained in:
Родитель
91f4bf9f2e
Коммит
e3cd95949c
|
@ -41,7 +41,7 @@
|
||||||
#include <atk/atk.h>
|
#include <atk/atk.h>
|
||||||
#include "nsAccessibleWrap.h"
|
#include "nsAccessibleWrap.h"
|
||||||
|
|
||||||
#define ROLE_ATK_LAST_ENTRY -1
|
const PRUint32 ROLE_ATK_LAST_ENTRY = 0xffffffff;
|
||||||
|
|
||||||
// Map array from cross platform roles to ATK roles
|
// Map array from cross platform roles to ATK roles
|
||||||
PRUint32 atkRoleMap[] = {
|
PRUint32 atkRoleMap[] = {
|
||||||
|
|
|
@ -40,19 +40,19 @@
|
||||||
|
|
||||||
#include "OLEACC.H"
|
#include "OLEACC.H"
|
||||||
|
|
||||||
#define USE_ROLE_STRING 0
|
const PRUint32 USE_ROLE_STRING = 0;
|
||||||
#define ROLE_MSAA_LAST_ENTRY -1
|
const PRUint32 ROLE_MSAA_LAST_ENTRY = 0xffffffff;
|
||||||
|
|
||||||
#ifndef ROLE_SYSTEM_SPLITBUTTON
|
#ifndef ROLE_SYSTEM_SPLITBUTTON
|
||||||
#define ROLE_SYSTEM_SPLITBUTTON ( 0x3e ) // Not defined in all oleacc.h versions
|
const PRUint32 ROLE_SYSTEM_SPLITBUTTON = 0x3e; // Not defined in all oleacc.h versions
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef ROLE_SYSTEM_IPADDRESS
|
#ifndef ROLE_SYSTEM_IPADDRESS
|
||||||
#define ROLE_SYSTEM_IPADDRESS ( 0x3f ) // Not defined in all oleacc.h versions
|
const PRUint32 ROLE_SYSTEM_IPADDRESS = 0x3f; // Not defined in all oleacc.h versions
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef ROLE_SYSTEM_OUTLINEBUTTON
|
#ifndef ROLE_SYSTEM_OUTLINEBUTTON
|
||||||
#define ROLE_SYSTEM_OUTLINEBUTTON ( 0x40 ) // Not defined in all oleacc.h versions
|
const PRUint32 ROLE_SYSTEM_OUTLINEBUTTON = 0x40; // Not defined in all oleacc.h versions
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Map array from cross platform roles to MSAA roles
|
// Map array from cross platform roles to MSAA roles
|
||||||
|
|
Загрузка…
Ссылка в новой задаче