Commit Graph

76 Commits

Author SHA1 Message Date
Trevor Saunders
2e34b54154 bug 1107337 - implement ProxyAccessible::EmbeddedChildAt r=lsocks, davidb 2015-06-11 11:39:58 -04:00
Trevor Saunders
ac0bc4f5e9 bug 1170595 - switch to sending __delete__ from the parent instead of the child r=davidb, smaug
After the child sends the __delete__ message to the parent there is a period of
time in which the actor is registered, but the parent hasn't yet processed the
__delete__ message.  During that time the parent can still try and send
messages to the child, but that will crash the child process.  Fix this race by
making the child send a shutdown message to the parent, and have the parent
send __delete__ when it handles that message.
2015-06-05 16:10:34 -04:00
Trevor Saunders
1ca2b86b2d bug 1170595 - always use IdToAccessible to convert ids to accessibles r=lsocks 2015-06-05 16:10:33 -04:00
Trevor Saunders
f49c42798f bug 1169376 - Allow getting the OuterDocAccessible for the tab's top level document r=davidb 2015-05-29 15:51:30 -04:00
Trevor Saunders
a3d0d81ab7 bug 1167358 - use ProxyAccessible::Parent() a little more r=lsocks 2015-05-29 10:15:27 -04:00
Trevor Saunders
561ae2eecc bug 1167604 - don't hide ProxyAccessible::Parent() with DocAccessibleParent::Parent r=lsocks 2015-05-29 10:15:26 -04:00
Trevor Saunders
a5c55ae6ad bug 1167295 - manage PDocAccessible with PBrowser instead of PContent r=smaug 2015-05-29 10:15:26 -04:00
Trevor Saunders
13ad23633a bug 1164976 - fire useful state change and caret move events for proxies r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
9c6779e315 bug 1164976 - Make DocAccessibleParent::GetAccessible return itself when appropriate r=davidb 2015-05-15 20:29:14 -04:00
Trevor Saunders
556aa59558 bug 1162621 - proxy Accessible::IndexOfEmbeddedChild r=davidb
This is a bit dirty, we should be able to implement this just in the main
process by looking at the role of the children.  However doing it this way is
simpler and allows us to share code with the non e10s case.
2015-05-08 23:46:20 -04:00
Trevor Saunders
0a8ca50f18 bug 1162654 - allow proxies to implement the document interface r=davidb 2015-05-08 23:46:14 -04:00
Wes Kocher
ad340f00ef Backed out 2 changesets (bug 1162621, bug 1162654) for Gip(a) orange
Backed out changeset 82bbc0b0d516 (bug 1162654)
Backed out changeset 01c406429093 (bug 1162621)
2015-05-08 13:12:22 -07:00
Wes Kocher
9497b03986 Backed out changeset 28f0e71b6292 2015-05-08 13:11:52 -07:00
Trevor Saunders
c56c4b9381 no bug fixup for windows not liking ssize_t on a CLOSED TREE 2015-05-08 14:01:34 -04:00
Trevor Saunders
f82e04b95b bug 1162654 - allow proxies to implement the document interface r=davidb 2015-05-08 13:34:49 -04:00
Trevor Saunders
59bdb92736 bug 1162621 - proxy Accessible::IndexOfEmbeddedChild r=davidb
This is a bit dirty, we should be able to implement this just in the main
process by looking at the role of the children.  However doing it this way is
simpler and allows us to share code with the non e10s case.
2015-05-08 13:34:48 -04:00
Trevor Saunders
fdacda5a7d bug 1162543 - IDs not mapping to accessibles shouldn't cause ipc calls to fail r=davidb
This is expected to happen when a accessible in the child process is shutdown,
     but the parent calls a method with its ID before learning it has been shut
     down.
2015-05-07 14:05:38 -04:00
Trevor Saunders
401df336ef bug 1162543 - make DocAccessibleChild::IDToAccessible correctly get the document r=davidb
DocAccessible::mAccessibleCache doesn't contain an entry for the document
itself so we need to handle it separately.  The document always has ID 0, so we
can just check if that is the ID we are getting and if so just return the
document.
2015-05-07 14:05:38 -04:00
Trevor Saunders
c64dd37ca9 bug 1159722 - make atk expose more interfaces for proxied accessibles 2015-04-30 14:57:02 -04:00
Nicolas Silva
51e181888b Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Trevor Saunders
2afc352ad7 bug 1151402 - proxy most of IAccessibleText and IAccessibleEditableText
r=davidb
2015-04-09 11:18:23 -04:00
Nicolas Silva
eae4d10b4d Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Daniel Holbert
284cc1028f Bug 1148708: Add missing 'override' annotations in DocAccessibleChild.h. rs=ehsan 2015-03-28 07:38:29 -07:00
Olli Pettay
383674217b Bug 1148083 - IPC Proxy for Document, r=davidb 2015-03-27 17:41:04 +02:00
Olli Pettay
dd7449a248 Bug 1148025 - IPC Proxy for 'Component', r=tbsaunde 2015-03-27 00:06:45 +02:00
Olli Pettay
96c1ef9218 Bug 1147551 - IPC Proxy for min/cur/max values, r=davidb 2015-03-27 00:06:38 +02:00
Olli Pettay
dc80dd8ff3 Bug 1147518 - IPC Proxy for Action, r=davidb 2015-03-27 00:06:21 +02:00
Olli Pettay
157f43d7c9 Bug 1147168 - IPC Proxy for Selection, r=tbsaunde 2015-03-25 16:19:12 +02:00
Olli Pettay
b51394b9d7 Bug 1147079 - IPC Proxy for Table, r=tbsaunde 2015-03-25 16:16:24 +02:00
Olli Pettay
181e65f752 Bug 1146665 - IPC Proxy for TableCell, r=tbsaunde 2015-03-25 16:14:28 +02:00
Olli Pettay
d5a340e46b Bug 1146615 - IPC Proxy for HyperText, r=tbsaunde 2015-03-25 16:05:18 +02:00
Olli Pettay
8a5cab8850 Bug 1145366 - IPC Proxy for HyperLink, r=tbsaunde 2015-03-25 16:03:13 +02:00
Trevor Saunders
bfc8734ab6 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
Olli Pettay
f72f363331 Bug 1145292 - IPC Proxy for ImageAccessible, r=tbsaunde 2015-03-22 23:44:12 +02:00
Ehsan Akhgari
33bb32f549 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
Trevor Saunders
878d2906bc bug 1138436 - start on proxying IAccessible2 r=surkov, r=davidb 2015-03-16 20:48:44 -04:00
Daniel Holbert
d129effca3 Bug 1140917 followup: add missing MOZ_OVERRIDE annotations on new DocAccessibleChild method-decls. r=ehsan 2015-03-10 16:54:57 -07:00
Olli Pettay
845a3b0201 Bug 1140917 - IPC Proxy for replace/insert/copy/cut/delete/paste, r=tbsaunde 2015-03-09 23:04:02 +02:00
Olli Pettay
1765d854f1 Bug 1140900 - IPC Proxy for ScrollSubstringTo*, r=tbsaunde 2015-03-09 22:51:02 +02:00
Olli Pettay
d40eb7fe95 Bug 1140895 - IPC Proxy for get/set/add/remove Selection, r=tbsaunde 2015-03-09 22:50:16 +02:00
Mike Habicher
eb92e0a211 Bug 1141228 - include GfxMessageUtils.h in PDocAccessible.ipdl, r=tbsaunde 2015-03-09 16:42:55 -04:00
Olli Pettay
e8319937b3 Bug 1140534 - IPC Proxy for offsetAtPoint, r=tbsaunde 2015-03-08 14:05:55 +02:00
Olli Pettay
221a1a4b36 Bug 1140499 - IPC Proxy for text/char bounds, r=tbsaunde 2015-03-08 04:33:57 +02:00
Olli Pettay
e1306cda70 Bug 1140162 - IPC Proxy for TextAttributes and DefaultTextAttributes, r=tbsaunde 2015-03-06 22:44:02 +02:00
Olli Pettay
dcf87117e1 Bug 1139887 - IPC Proxy for caretOffset, r=tbsaunde 2015-03-06 22:43:25 +02:00
Olli Pettay
f9aff56a09 Bug 1139972 - IPC Proxy for charAt, r=tbsaunde 2015-03-06 19:37:37 +02:00
Olli Pettay
bca7e7be13 Bug 1135908 - [E10s] Proxy for Character/SelectionCount(), r=tbsaunde 2015-02-25 14:18:17 +02:00
Olli Pettay
5950734a4c Bug 1132960, don't include conditionally processed nsIFoo header files in .ipdl, r=tbsaunde
--HG--
extra : rebase_source : 6b6f7f1b898e8c35cd09ee310c2a661fdea420f3
2015-02-17 21:35:40 +02:00
Trevor Saunders
2fa889020e bug 1127402 - proxy RelationByType method r=davidb 2015-02-12 18:18:13 -05:00
Trevor Saunders
c733097ca4 bug 1124449 - teach IAccessible impl about proxy wrappers r=davidb 2015-02-12 18:16:44 -05:00