Commit Graph

4319 Commits

Author SHA1 Message Date
Trevor Saunders
25f4e5b4dd bug 1243077 - make xpcAccessible::GetFirstChild() work with proxies r=davidb 2016-01-27 18:42:47 -05:00
Trevor Saunders
eeb5e033a9 bug 1243077 - add AccessibleOrProxy::FirstChild() r=davidb 2016-01-27 18:42:47 -05:00
Trevor Saunders
82d0a0cb57 bug 1243077 - make xpcAccessible::GetChildren() work with proxied accessibles r=davidb 2016-01-27 18:42:46 -05:00
Trevor Saunders
09e76d6161 bug 1243077 - remove an unnecessary AddRef() from xpcAccessible::GetChildren()
r=davidb
2016-01-27 18:42:46 -05:00
Trevor Saunders
7ed70c4747 bug 1243077 - make xpcAccessible::GetChildAt() work with proxied accessibles r=davidb 2016-01-27 18:42:46 -05:00
Trevor Saunders
d6b1c63636 bug 1243077 - add AccessibleOrProxy::ChildAt() r=davidb 2016-01-27 18:42:45 -05:00
Trevor Saunders
316224a8fa bug 1243077 - support proxied accessibles in xpcAccessible::GetRole() r=davidb 2016-01-27 18:42:45 -05:00
Trevor Saunders
2756d3cc25 bug 1243077 - simplify GetRoleCB some r=davidb
We can replace the code  dealing with Accessibles and proxies differently with
a call to AccessibleOrProxy::Role()
2016-01-27 18:42:45 -05:00
Trevor Saunders
3533020369 bug 1243077 - add ToXPC{,Document} overloads for proxied accessibles r=davidb 2016-01-27 18:42:44 -05:00
Trevor Saunders
ed7112af70 bug 1243077 - make it possible to get MaiAtkObject::mAccWrap from an AtkObject* without casting to Accessible* or ProxyAccessible* r=davidb 2016-01-27 18:42:44 -05:00
Trevor Saunders
68157e1e81 bug 1243077 - add AccessibleOrProxy::Role() r=davidb 2016-01-27 18:42:44 -05:00
Trevor Saunders
d45bd1dd7a bug 1243077 - implement xpcAccessible::GetChildCount() for proxied accessibles
r=davidb
2016-01-27 18:42:43 -05:00
Trevor Saunders
0f1a4e92f4 bug 1243077 - add AccessibleOrProxy xpcAccessible::IntlGeneric() r=davidb
It will be useful to get mIntl without casting it to either Accessible* or
  ProxyAccessible*.  sadly C++ won't let us overload the name Intl() this way
  so for now this method is named IntlGeneric().
2016-01-27 18:42:43 -05:00
Trevor Saunders
a3a485c619 bug 1243077 - add AccessibleOrProxy::ChildCount() r=davidb 2016-01-27 18:42:42 -05:00
Trevor Saunders
eaa9db8267 bug 1243077 - add AccessibleOrProxy::IsNull() r=davidb 2016-01-27 18:42:42 -05:00
Mats Palmgren
c20fce3514 Bug 1241840 - Set table cell colspan=0 to 1 instead per the HTML spec. r=bz 2016-01-27 17:02:12 +01:00
Trevor Saunders
8c619bee29 bug 1241453 - fire nsIAccessibleCaretMoveEvents for proxies r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
de7f21d8e9 bug 1241453 - fire nsIAccessibleEvents for proxied accessibles r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
f5e0d1168e bug 1241453 - fire nsIAccessibleTextChangeEvents for proxies r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
071de9db69 bug 1241453 - fire nsIAccessibleStateChangeEvents for proxied accessibles r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
6ec025eab0 bug 1241453 - factor dispatching nsIAccessibleEvents out of HandleAccEvent() r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
5cf41fab72 bug 1241453 - add DocAccessibleParent::GetXPCAccessible() r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
f74ed4bb3b bug 1241453 - allow caching proxies in xpcAccessibleDocuments r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
5aa2104440 bug 1241453 - assert accessibles are only added to non remote xpcAccessibleDocuments r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
973d0ef356 bug 1241453 - allow caching xpc documents for remote documents r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
66dfc5d929 bug 1241453 - fixup xpcAccessible Intl() methods to not assume mIntl is always an Accessible r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
e5c491e88c bug 1241453 - allow xpcAccessibleDocument::mCache to use proxies as keys r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
e9a6911336 bug 1241453 - allow constructing xpcAccessibles with proxies r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
68c4c04937 bug 1241453 - allow storing proxies in xpcAccessibleGeneric::mIntl r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
6db1192c25 bug 1241453 - clean up GetAccessibleWrap() r=davidb
We can simplify it some to make better use of AccessibleOrProxy.
2016-01-26 07:49:25 -05:00
Trevor Saunders
2e7c424cea bug 1241453 - switch MaiHyperLink to use AccessibleOrProxy r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
65cdeb5b7b bug 1241453 - switch MaiAtkObject to use AccessibleOrProxy r=davidb 2016-01-26 07:49:25 -05:00
Trevor Saunders
5a6d7c2794 bug 1241453 - add an AccessibleOrProxy class r=davidb
We have several places that store either a ProxyAccessible* or an Accessible*
 in the same member using a uintptr_t and stealing the lowest bit of the
 pointer.  The goal of the AccessibleOrProxy class is to make this simpler and
 consolidate the logic involved in doing it.
2016-01-26 07:49:25 -05:00
Sylvestre Ledru
14ec5bc735 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
David Rajchenbach-Teller
41e4edde4b Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.
2016-01-14 23:03:11 +01:00
Alexander Surkov
28d32c5bd2 Bug 1233118 - implement IAccessible2_3::selectionRanges, r=yzen 2016-01-20 12:53:03 -05:00
Sebastian Hengst
e687c33b0f Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
3a3c914116 Bug 1224374 - Profiler labels for the 25 top chrome hangs;r=BenWa,MarcoZ
Experience shows that we do not have enough profiler labels to make
BHR hang reports meaningful. This patch adds enough labels to let us
exploit hang reports matching the 25 topmost chrome hangs.
2016-01-14 23:03:11 +01:00
Jonathan Kew
04e7780340 Bug 1239301 - Use 'ch' units rather than 'ex' units when specifying a width that is intended to fit a specific number of characters. r=tbsaunde 2016-01-18 13:27:59 +00:00
Eitan Isaacson
17f0419b09 Bug 1239051 - Labels should expose labeled controllers action. r=tbsaunde 2016-01-14 12:37:15 -08:00
Jonathan Kew
bb2f64218c Bug 1239007 - Replace nsIntRect by strongly-typed rects in a couple of nsCocoaUtils functions. r=mstange 2016-01-13 07:32:55 +00:00
Till Schneidereit
4818bc57dd Bug 1101817 - Part 1: Remove usages of WeakMap.prototype.clear from Gecko. r=yzen,mak,yoric,gijs,jlongster 2016-01-04 13:06:50 +01:00
Nathan Froyd
f63b2e1061 Bug 1222531 - turn off -Wextra-tokens on clang-cl in accessible/ directories; r=tbsaunde
The Windows MIDL code generator creates things like:

    #endif !_MIDL_USE_GUIDDEF_

which clang-cl complains about.  MSVC doesn't, so turn this warning off.
2015-11-06 13:10:03 -05:00
Trevor Saunders
b4b5b08e9b bug 1235965 - null check mDoc in AccessibleWrap::Shutdown() r=davidb 2016-01-08 14:23:08 -05:00
Trevor Saunders
7fad434095 bug 1203861 - use strncmp() instead of nsCString.equals() to compare names r=davidb
AtkObject stores the name as a C string, but nsCString can store strings with
'\0' in the middle.  That means that if we compute a name containing '\0'
nsCString.equals() will nevr consider that string to be equal to
AtkObject::name, however we only want to compare up to the first '\0' because
that is the only part Atk will ever see.  So we should use strncmp() instead of
nsCString.equals().
2016-01-08 14:23:08 -05:00
Trevor Saunders
0204efbf5d bug 1228400 - null check tabChild before notifying the parent process about new child documents r=davidb 2016-01-07 14:18:40 -05:00
Nicholas Nethercote
4d571fac6a Bug 1232852 (part 3) - Remove unused parameters from some accessibility code. r=tbsaunde. 2015-12-15 21:24:06 -08:00
Bogdan Postelnicu
5bbc94187d Bug 1235373 - Add an assert to check validity of pointers: mElement->GetPrimaryFrame() and frame. r=surkov 2015-12-28 06:25:00 -05:00
Alexander Surkov
ae937250ed Bug 1231919 - crash in mozilla::a11y::DocAccessible::ValidateARIAOwned, r=davidb 2015-12-14 12:02:23 -05:00
Jim Mathies
fbdb9901db Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde 2015-12-10 14:28:33 -05:00