Masayuki Nakano
d8d0bcab65
Bug 1543013 - part 2: Make accessible use mozilla::PresShell directly rather than via nsIPresShell r=Jamie
...
This patch makes accessible module use `mozilla::PresShell` directly rather
than via `nsIPresShell`. Additionally, renames `DocAccessible::PresShell()`
to `DocAccessible::PresShellPtr()` for avoiding conflict with using
`PresShell` in it and its sub classes.
Differential Revision: https://phabricator.services.mozilla.com/D26663
--HG--
extra : moz-landing-system : lando
2019-04-13 12:13:15 +00:00
Masayuki Nakano
0986fb819b
Bug 1542506 - Make nsDocShell use mozilla::PresShell* directly rather than nsIPresShell* r=bzbarsky
...
This patch makes `nsDocShell::GetPresShell()` and
`nsDocShell::GetEldestPresShell()` return `mozilla::PresShell*` and
some non-public methods use `mozilla::PresShell*` directly.
Differential Revision: https://phabricator.services.mozilla.com/D26424
--HG--
extra : moz-landing-system : lando
2019-04-13 01:03:13 +00:00
Eitan Isaacson
baa769abf9
Bug 1525980 - Introduce nsIAccessibleAnnouncementEvent. r=Jamie
...
Differential Revision: https://phabricator.services.mozilla.com/D19060
--HG--
extra : moz-landing-system : lando
2019-02-14 17:42:45 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Nicholas Nethercote
3f02242dff
Bug 1451169 - Use nsStaticAtom* instead of nsStaticAtom** in nsAccessibilityService.h. r=davidb
...
--HG--
extra : rebase_source : 8717ea3053499405afc6cd776ca0133bd8525baa
2018-04-03 11:20:13 +10:00
Eitan Isaacson
8d5dad89ed
Bug 1479591 - Introduced accessibility scrolling event and interface. r=surkov
2018-08-15 13:07:00 -04:00
Cosmin Sabou
c2b1fcd31c
Backed out changeset dad95d849302 (bug 1479591) for causing linux debug leaks and security issues.
2018-08-15 04:39:43 +03:00
Eitan Isaacson
0f281891a2
Bug 1479591 - Introduced accessibility scrolling event and interface. r=surkov
2018-08-14 11:46:00 +03:00
Boris Zbarsky
4ef13b9076
Bug 1455676 part 2. Remove nsIDOMNode usage from accessible/. r=surkov
2018-05-29 22:58:47 -04:00
Timothy Guan-tin Chien
f0ad43f510
Bug 1442800 - Let New_Accessible take Element instead of nsIContent r=surkov
...
The passed nsIContent is always an Element.
MozReview-Commit-ID: IMvWuK6MIra
--HG--
extra : source : 5ba61f06a008e7d1d162329945f2ab132c224181
extra : intermediate-source : c7f94aad31aea1e7015e6df0a828cda3f3729b0b
2018-03-06 13:47:43 -08:00
Ciure Andrei
873d562bc3
Backed out 8 changesets (bug 1451169) on request from njn a=backout
...
Backed out changeset b92f856e15a8 (bug 1451169)
Backed out changeset 348e825756fa (bug 1451169)
Backed out changeset 624d82428726 (bug 1451169)
Backed out changeset 4d51610ca08e (bug 1451169)
Backed out changeset bb76a9589717 (bug 1451169)
Backed out changeset c145fbd03947 (bug 1451169)
Backed out changeset 6d36289e0f54 (bug 1451169)
Backed out changeset 914fb7cd9fc3 (bug 1451169)
--HG--
extra : histedit_source : 94de6631919f895dec422bc0e564f5baf885ba4a%2C18f52c6c11d3064d3137a6847575effb7d407894
2018-04-11 11:22:05 +03:00
Emilio Cobos Álvarez
0ea369c6a3
Bug 1450717: Remove unneeded / inconsistent arguments from nsCSSFrameConstructor. r=mats
...
Much in the spirit of bug 1442207.
They're not only unneeded, and cheap to get, but also we call them
inconsistently with the light DOM and flattened tree parent (like ContentRemoved
for display: contents), so they're really confusing, and kind of a footgun.
MozReview-Commit-ID: 9u3Kp8Kpp5i
2018-04-07 15:37:39 +02:00
Nicholas Nethercote
86ae6e9859
Bug 1451169 - Use nsStaticAtom* instead of nsStaticAtom** in nsAccessibilityService.h. r=davidb
...
MozReview-Commit-ID: ELDULed7sWF
--HG--
extra : rebase_source : bff720f0fdc9b9c41128299bfc1f32cdef1404f4
2018-04-03 11:20:13 +10:00
Dorel Luca
30edeead7c
Merge mozilla-central to mozilla-inbound. a=merge
2018-03-09 12:01:54 +02:00
Yura Zenevich
5a5a814950
Bug 1443871 - ensure eXPCOM consumer flag is always set if the service still exists. r=surkov
...
MozReview-Commit-ID: 8BYRPqH7jvq
2018-03-09 00:50:28 -05:00
Timothy Guan-tin Chien
686d0472da
Bug 1442800 - Let New_Accessible take Element instead of nsIContent r=surkov
...
The passed nsIContent is always an Element.
MozReview-Commit-ID: IMvWuK6MIra
--HG--
extra : rebase_source : 520c6ea9d3bd90e480224315e0fc0ce7e5b7db27
2018-03-06 13:47:43 -08:00
Gurzau Raul
3a353942ca
Backed out changeset 564cb9725e12 (bug 1442800) for failing on browser_test_docload.js on a CLOSED TREE
2018-03-09 01:19:51 +02:00
Cosmin Sabou
f8e4b21bcd
Backed out changeset 349222d58373 (bug 1442800) for frequent wpt failures on a CLOSED TREE
2018-03-07 22:18:44 +02:00
Timothy Guan-tin Chien
bdad54c522
Bug 1442800 - Let New_Accessible take Element instead of nsIContent r=surkov
...
The passed nsIContent is always an Element.
MozReview-Commit-ID: IMvWuK6MIra
--HG--
extra : rebase_source : 520c6ea9d3bd90e480224315e0fc0ce7e5b7db27
2018-03-06 13:47:43 -08:00
Timothy Guan-tin Chien
e1b7b86b11
Bug 1442029 - Move XBL accessibility role="xul:colorpicker" and role="xul:colorpickertile" into XULMap.h r=enndeakin+6102,surkov
...
- Remove the colorpickertile binding as it's no longer useful.
- Remove nsAccessibilityService::CreateAccessibleByType() as it has nothing to do anymore.
- Remove nsCoreUtils::XBLBindingRole()
MozReview-Commit-ID: E21yljdsSLl
--HG--
extra : rebase_source : f0db5893107ee0c493291c7c0bafaaef1d4bcffa
2018-03-02 09:53:55 -08:00
Paolo Amadini
d6977c62c9
Bug 1428930 - Move some XBL accessibility roles into XULMap.h. r=bgrins,surkov
...
MozReview-Commit-ID: Iye8XoQ7neq
--HG--
extra : rebase_source : e9101e02cdf30489eda8867cbf6784eeb923e47d
2018-02-07 13:23:53 +00:00
Paolo Amadini
15e5ccdfd2
Bug 1414230 - Part 1 - Align XUL and HTML markup table names. r=surkov
...
MozReview-Commit-ID: oNjcGEFIu9
--HG--
extra : rebase_source : 9dc554eb7453ea199378ffae4617b1c78a0a83ad
2018-02-05 14:26:59 +00:00
Yura Zenevich
3898a0e472
Bug 1416893 - Added getConsumers method to nsIAccessibilityService. r=surkov
...
MozReview-Commit-ID: EoBdYSxqEGz
2017-11-14 11:21:32 -05:00
Yura Zenevich
b2b66a61f5
Bug 1401980 - shutdown accessibility service on accessibliity.force_disable pref change. r=surkov
...
MozReview-Commit-ID: 8YfCaoB5Stt
2017-11-11 22:21:45 -05:00
Phil Ringnalda
15fafc3560
Backed out 2 changesets (bug 1401980) for failures in browser_shutdown_pref.js
...
CLOSED TREE
Backed out changeset cea72923c4be (bug 1401980)
Backed out changeset 72f9e62daa10 (bug 1401980)
MozReview-Commit-ID: 2bhiTKZmmib
2017-11-10 21:50:14 -08:00
Yura Zenevich
aa6a1a9b17
Bug 1415408 - send 'a11y-consumers-changed' notifcation whenever accessibility services consumers change. r=surkov
...
MozReview-Commit-ID: 2V4X4AO3JAT
2017-11-10 22:58:21 -05:00
Yura Zenevich
446a07beed
Bug 1401980 - shutdown accessibility service on accessibliity.force_disable pref change. r=surkov
...
MozReview-Commit-ID: 8YfCaoB5Stt
2017-11-10 22:43:22 -05:00
Yura Zenevich
039b34daff
Bug 1403231 - Create accessibles for the XUL "image" element using the tag name instead of the XBL role. r=surkov
...
This also adds the lookup infrastructure required for converting other XUL elements to this method of creating accessibles.
MozReview-Commit-ID: GAO63iUNMAn
--HG--
extra : rebase_source : cc3194eae7881d1b041c4241e1e8ed4aee37ef7c
2017-11-03 11:15:44 +00:00
Nicholas Nethercote
8ad99dd7fa
Bug 1411893 - Introduce nsStaticAtom. r=emilio,froydnj.
...
It's a sub-class of nsAtom, useful for cases where you know you are dealing
exclusively with static atoms. The nice thing about it is that you can use
raw nsStaticAtom pointers instead of RefPtr<>. (In fact, the AddRef/Release
implementations ensure that we'll crash if we use RefPtr<nsStaticAtom>.)
MozReview-Commit-ID: 4Q6QHX5h44V
--HG--
extra : rebase_source : e4237f85b4821b684db0ef84d1f9c5e17cdee428
2017-10-27 10:31:13 +11:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Aaron Klotz
05284bffa5
Bug 1386836: Add a nsACString overload to nsAccessibilityService::GetStringEventType; r=surkov
...
MozReview-Commit-ID: 9hMC54ki37e
2017-08-02 15:39:51 -06:00
Paul Bignier
ff2e59d1cd
Bug 1352802 - Typo fixes around 'accessible'. r=MattN
...
MozReview-Commit-ID: 27CyNOMXkRq
--HG--
extra : rebase_source : 30e8891fa40cb497ab695e72b179c850a3a5c8d9
2017-04-03 09:47:00 -07:00
Trevor Saunders
1697309ff6
bug 1331286 - remove accessibility.ipc_architecture_enabled pref r=davidb
2017-01-16 14:13:34 -05:00
Alexander Surkov
51f7b58749
Bug 1313693 - implement iterable states, part1 - add 64bit version of states stringifying, r=davidb
2016-12-13 14:00:16 -05:00
Yura Zenevich
ddff7f9c94
Bug 527003 - make a11y service store info about its consumers. Only shut down a11y when there are no more consumers remaining. r=surkov, tbsaunde
...
MozReview-Commit-ID: KF5d6xaO83E
2016-08-30 12:04:20 -04:00
Yura Zenevich
7d6abb5975
Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov
...
MozReview-Commit-ID: KKeywNi3fQb
2016-08-08 20:51:39 -04:00
Alexander Surkov
ead73ecd57
Bug 1261177 - split GetOrCreateAccessible method into two (Get and Create versions), r=yzen
2016-04-06 07:23:41 -04:00
Trevor Saunders
2478fff23c
bug 1213402 - add another , to fix silly string concatonation r=me landed on a CLOSED TREE
2015-11-10 21:45:12 -05:00
Trevor Saunders
3dd3759899
bug 1213402 - separate value change events into text value changes and numeric value changes r=davidb
...
Arguably these are different things, and it will be easier to proxy events for
atk this way because atk only wants the numeric value changes.
2015-11-10 15:55:08 -05:00
Lorien Hu
8b671e5993
Bug 1175913 - (Part 1) Subscribe to EventListenerService and recreate accessibles on click listener changes r=tbsaunde
2015-08-04 23:35:54 -04:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Trevor Saunders
763f6a896e
bug 1128751 - handle unbinding and rebinding of documents in content processes r=davidb
...
The code for managing document lifetimes assumed documents could not be
rebound to parents, however that is not the case.
2015-03-24 17:51:44 -04:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Jonathan Wei
41e34ee857
Bug 1001634 - Add basic MathML accessibility implementation, r=surkov, marcoz, patch=jwei, surkov
2015-03-09 08:16:12 -04:00
Alexander Surkov
bb6fd0650f
Bug 1140500 - add object attributes declaration into markup map, r=marcoz
2015-03-07 20:20:17 -05:00
Alexander Surkov
064a3f9b2d
Bug 1139900 - make tag name based roles faster, r=marcoz
2015-03-05 13:16:12 -05:00
Alexander Surkov
5af446d8d7
Bug 1139576 - make accessible creation by tag name faster, r=marcoz
2015-03-04 22:56:57 -05:00