gecko-dev/accessible
James Teh d585de6620 Bug 1479642: Make Windows XULMenuitemAccessibleWrap::Name const so it overrides AccessibleWrap::Name. r=surkov
This again exposes the accelerator (e.g. Ctrl+T for New Tab) for menu items via IAccessible::accName on windows.

Bug 1438193 made Accessible::Name const.
On Windows, XULMenuitemAccessibleWrap::Name is overridden to append the accelerator to the name.
Unfortunately, this override was missed when converting Name to const (and wasn't a compile error because it didn't use the override keyword).
As such, this override stopped being called; we always called the const version, since that's the one inherited into AccessibleWrap.
Making this const causes this override to be called.

MozReview-Commit-ID: 7Gb199mzhHa

--HG--
extra : rebase_source : 41d15042a09e4743d127fb12378c775099aa09a0
2018-07-31 11:22:59 +10:00
..
aom Bug 1468110 - add AccessibleNode relation attributes, r=yzen, qdot 2018-07-17 08:37:37 +09:00
atk Bug 1472555 - Part 5 - Remove the listbox layout. r=bz,surkov 2018-07-18 11:23:32 +01:00
base Bug 903187: Map HTML ins/del to accessible roles. r=MarcoZ 2018-07-27 16:40:50 +10:00
generic Bug 1475342 - Move document.getElementsByAttribute[NS] to ParentNode so it'll work for HTML document and elements;r=bz 2018-07-26 13:40:13 -07:00
html Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
interfaces Bug 903187: Map HTML ins/del to accessible roles. r=MarcoZ 2018-07-27 16:40:50 +10:00
ipc Bug 1476948 - Suppress clang-cl warnings from the MIDL generated code in accessible/. r=froydnj 2018-07-19 23:05:27 +09:00
jsat Bug 1477002 - Use message broadcaster to manage jsat content scripts. r=yzen 2018-07-27 15:19:00 +03:00
mac Bug 903187: Map HTML ins/del to accessible roles. r=MarcoZ 2018-07-27 16:40:50 +10:00
other Bug 1472555 - Part 5 - Remove the listbox layout. r=bz,surkov 2018-07-18 11:23:32 +01:00
tests Bug 903187: Map HTML ins/del to accessible roles. r=MarcoZ 2018-07-27 16:40:50 +10:00
windows Bug 1479642: Make Windows XULMenuitemAccessibleWrap::Name const so it overrides AccessibleWrap::Name. r=surkov 2018-07-31 11:22:59 +10:00
xpcom Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj 2018-06-02 09:33:26 +02:00
xul Bug 1472555 - Part 5 - Remove the listbox layout. r=bz,surkov 2018-07-18 11:23:32 +01:00
.eslintrc.js Bug 1436389 - Update complexity rules to adapt for the algorithm in the new ESLint. r=mossop 2018-02-07 16:16:09 +00:00
moz.build Bug 1329977 - creating doc accessibles for existing content documents. r=surkov 2017-10-31 09:48:07 -04:00