Aaron Klotz
ee56e6a4b2
Bug 1651705: Part 6 - Update Android a11y to work with `NativeWeakPtr`; r=eeejay
...
This patch is similar to part 4 but for Android a11y.
Conversions over to `NativeWeakPtr` are pretty straight forward thanks to the
type system. Basically we take a `NativeWeakPtr`, call `Access()` on it, and
if the accessor is truthy, then we call whatever methods we need to call.
Creation of new pointers is done using `NativeWeakPtrHolder::Attach()` and
detaching of strong references is done by `NativeWeakPtr::Detach()`.
Differential Revision: https://phabricator.services.mozilla.com/D87365
2020-09-21 21:48:53 +00:00
Butkovits Atila
925221149f
Backed out 7 changesets (bug 1651705) as requested by Aklotz. CLOSED TREE
...
Backed out changeset 60730e8394ae (bug 1651705)
Backed out changeset c441ae751191 (bug 1651705)
Backed out changeset c289f06ceba2 (bug 1651705)
Backed out changeset d4491ef94b3e (bug 1651705)
Backed out changeset 1cca90ffab83 (bug 1651705)
Backed out changeset 9b1ce53e6472 (bug 1651705)
Backed out changeset a31251ba4566 (bug 1651705)
2020-09-01 20:39:15 +03:00
Aaron Klotz
6a34c1e45b
Bug 1651705: Part 6 - Update Android a11y to work with `NativeWeakPtr`; r=eeejay
...
This patch is similar to part 4 but for Android a11y.
Conversions over to `NativeWeakPtr` are pretty straight forward thanks to the
type system. Basically we take a `NativeWeakPtr`, call `Access()` on it, and
if the accessor is truthy, then we call whatever methods we need to call.
Creation of new pointers is done using `NativeWeakPtrHolder::Attach()` and
detaching of strong references is done by `NativeWeakPtr::Detach()`.
Differential Revision: https://phabricator.services.mozilla.com/D87365
2020-09-01 14:34:37 +00:00
Narcis Beleuzu
3361c24c23
Backed out 7 changesets (bug 1651705) for mochitest failures on test_resizers_resizing_elements.html . CLOSED TREE
...
Backed out changeset 7fd32a3fb6e7 (bug 1651705)
Backed out changeset de4edbcb15c1 (bug 1651705)
Backed out changeset 531e71369f68 (bug 1651705)
Backed out changeset 84590e96de88 (bug 1651705)
Backed out changeset 7d9d2d44b2ee (bug 1651705)
Backed out changeset 9ffca762753c (bug 1651705)
Backed out changeset 2d79f4348b36 (bug 1651705)
2020-08-28 23:06:39 +03:00
Aaron Klotz
78b90eb9b7
Bug 1651705: Part 6 - Update Android a11y to work with `NativeWeakPtr`; r=eeejay
...
This patch is similar to part 4 but for Android a11y.
Conversions over to `NativeWeakPtr` are pretty straight forward thanks to the
type system. Basically we take a `NativeWeakPtr`, call `Access()` on it, and
if the accessor is truthy, then we call whatever methods we need to call.
Creation of new pointers is done using `NativeWeakPtrHolder::Attach()` and
detaching of strong references is done by `NativeWeakPtr::Detach()`.
Differential Revision: https://phabricator.services.mozilla.com/D87365
2020-08-27 20:14:50 +00:00
Eitan Isaacson
8e38a4587c
Bug 1616466 - Support expand/collapse android accessibility actions. r=Jamie,geckoview-reviewers,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D63290
--HG--
extra : moz-landing-system : lando
2020-02-25 22:37:00 +00:00
Eitan Isaacson
5f6ff669bf
Bug 1616146 - Cache accessibility focus boundaries in java. r=Jamie
...
This allows `performAction` to immediately return false if a boundary is
reached and allow TalkBack to navigate past the web view.
Change viewport cache listener to reorder since it should catch all tree
mutations in the document.
Differential Revision: https://phabricator.services.mozilla.com/D63117
--HG--
extra : moz-landing-system : lando
2020-02-18 21:09:06 +00:00
Andrew Creskey
b491100580
Bug 1593104 - Fixes to issues encountered when building on Android with optimization r=Jamie
...
We noticed a handful of linker errors when building with other build optimization flags -Os, -O2, and -O3 instead the default, -Oz.
(see Bug 1591725).
This change is intended to be 0-impact on functionality -- simply resolving the linker errors.
Differential Revision: https://phabricator.services.mozilla.com/D51312
--HG--
extra : moz-landing-system : lando
2019-11-05 13:05:06 +00:00
Eitan Isaacson
cff449b020
Bug 1564549 - Implement clipboard actions natively. r=geckoview-reviewers,yzen,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D45602
--HG--
extra : moz-landing-system : lando
2019-09-23 23:42:38 +00:00
Eitan Isaacson
967793da25
Bug 1564549 - Implement set selection natively. r=geckoview-reviewers,yzen,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D45601
--HG--
extra : moz-landing-system : lando
2019-09-23 23:42:40 +00:00
Eitan Isaacson
1bce54c7cc
Bug 1564549 - Implement text navigation natively. r=geckoview-reviewers,Jamie,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D45600
--HG--
extra : moz-landing-system : lando
2019-09-23 23:42:47 +00:00
Eitan Isaacson
0f147877cd
Bug 1564549 - Implement move and explore by touch natively. r=geckoview-reviewers,yzen,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D45599
--HG--
extra : moz-landing-system : lando
2019-09-23 23:42:49 +00:00
Eitan Isaacson
f636c8855c
Bug 1564549 - Add action forwarding macro. r=Jamie
...
Differential Revision: https://phabricator.services.mozilla.com/D45597
--HG--
extra : moz-landing-system : lando
2019-09-23 23:42:53 +00:00
Noemi Erli
ecdbbb2a1f
Backed out 8 changesets (bug 1564549) for causing failures in browser_all_files_referenced.js CLOSED TREE
...
Backed out changeset a6b83802832c (bug 1564549)
Backed out changeset 7f38c6ddd009 (bug 1564549)
Backed out changeset 15a754fb192e (bug 1564549)
Backed out changeset 34441585469f (bug 1564549)
Backed out changeset aada27f6ad6e (bug 1564549)
Backed out changeset 103dbf465704 (bug 1564549)
Backed out changeset c38e72058869 (bug 1564549)
Backed out changeset aca91e9add16 (bug 1564549)
2019-09-24 02:38:39 +03:00
Eitan Isaacson
11dd6681cd
Bug 1564549 - Implement clipboard actions natively. r=geckoview-reviewers,yzen,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D45602
--HG--
extra : moz-landing-system : lando
2019-09-23 21:07:08 +00:00
Eitan Isaacson
ef8c8bacd2
Bug 1564549 - Implement set selection natively. r=geckoview-reviewers,yzen,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D45601
--HG--
extra : moz-landing-system : lando
2019-09-23 21:07:02 +00:00
Eitan Isaacson
ac01020042
Bug 1564549 - Implement text navigation natively. r=geckoview-reviewers,Jamie,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D45600
--HG--
extra : moz-landing-system : lando
2019-09-23 21:06:58 +00:00
Eitan Isaacson
85d6a5f093
Bug 1564549 - Implement move and explore by touch natively. r=geckoview-reviewers,yzen,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D45599
--HG--
extra : moz-landing-system : lando
2019-09-23 21:06:51 +00:00
Eitan Isaacson
874de5845e
Bug 1564549 - Add action forwarding macro. r=Jamie
...
Differential Revision: https://phabricator.services.mozilla.com/D45597
--HG--
extra : moz-landing-system : lando
2019-09-23 21:06:40 +00:00
J.C. Jones
cad430cae6
Bug 1391438 - Move GECKOBUNDLE macros into their own header r=snorp
...
The GECKOBUNDLE macros are useful to more than just a11y code, so let's move them into the jni package so that all jni consumers may drink of their sweet nectar.
Differential Revision: https://phabricator.services.mozilla.com/D30585
--HG--
extra : moz-landing-system : lando
2019-05-10 17:59:46 +00:00
Ryan Hunt
0eeced87be
Bug 1534395 - Rename TabParent to BrowserParent. r=nika
...
This commit renames TabParent to BrowserParent.
Differential Revision: https://phabricator.services.mozilla.com/D28133
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
rename : dom/ipc/TabParent.h => dom/ipc/BrowserParent.h
extra : rebase_source : d2706b9f42177d8de16068b7b1d088a44b8720a4
extra : histedit_source : a617ddac45c58050ef799116a67d2d983f2a8f6d%2C1d1dabd8761a32d548a6fbf1027be960698f6a5e
2019-04-09 16:38:15 -05:00
Eitan Isaacson
59ea5c03e6
Bug 1544541 - Check that accessible in batch exists in SessionAccessibility. r=yzen
...
Differential Revision: https://phabricator.services.mozilla.com/D27569
--HG--
extra : moz-landing-system : lando
2019-04-16 02:38:17 +00:00
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
Eitan Isaacson
6d8e53ccd1
Bug 1479042 - Add Android announcement event plumbing. r=yzen
...
Depends on D21610
Differential Revision: https://phabricator.services.mozilla.com/D21611
--HG--
extra : moz-landing-system : lando
2019-03-05 19:36:05 +00:00
Eitan Isaacson
50711a42d5
Bug 1531579 - Refresh viewport cache on tree mutations and fire android event. r=yzen
...
Differential Revision: https://phabricator.services.mozilla.com/D21610
--HG--
extra : moz-landing-system : lando
2019-03-12 21:58:37 +00:00
Dorel Luca
df51e27b6a
Backed out changeset 583048926c12 (bug 1531579) for Geckoview failure. CLOSED TREE
2019-03-12 01:38:46 +02:00
Eitan Isaacson
adcc1ec434
Bug 1531579 - Refresh viewport cache on tree mutations and fire android event. r=yzen
...
Differential Revision: https://phabricator.services.mozilla.com/D21610
--HG--
extra : moz-landing-system : lando
2019-03-05 19:28:41 +00:00
Eitan Isaacson
bf64f6d78e
Bug 1525470 - Include description in accessible hints. r=yzen
...
Differential Revision: https://phabricator.services.mozilla.com/D19870
--HG--
extra : moz-landing-system : lando
2019-02-21 17:45:17 +00:00
Dorel Luca
0c4863aaf0
Backed out changeset ac4f1b5527fd (bug 1525470) for failures in geckoview in org.mozilla.geckoview.test.AccessibilityTest.testCheckbox. CLOSED TREE
2019-02-20 02:53:14 +02:00
Eitan Isaacson
2ba937125b
Bug 1525470 - Include description in accessible hints. r=yzen
...
Differential Revision: https://phabricator.services.mozilla.com/D19870
--HG--
extra : moz-landing-system : lando
2019-02-19 18:56:30 +00:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Eitan Isaacson
ce8d13e455
Bug 1518247 - Pass name in viewport cache. r=yzen
...
Differential Revision: https://phabricator.services.mozilla.com/D15857
--HG--
extra : moz-landing-system : lando
2019-01-14 20:04:58 +00:00
Sylvestre Ledru
ad75e912fb
Bug 1512961 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D14060
--HG--
extra : moz-landing-system : lando
2018-12-10 19:23:16 +00:00
Eitan Isaacson
9045d6bab7
Bug 1511398 - Check if the retrieved accessible child is actually valid when filling the bundle's data, r=yzen
...
Differential Revision: https://phabricator.services.mozilla.com/D13611
--HG--
extra : moz-landing-system : lando
2018-12-06 15:43:23 +00:00
Narcis Beleuzu
ec8e87d9fc
Backed out changeset 4ad8241eb92a (bug 1511398) gv-junit2 crashes on [@ mozilla::a11y::Accessible::IsDefunct() const] . CLOSED TREE
2018-12-05 22:06:21 +02:00
Eitan Isaacson
e5975f34ba
Bug 1511398 - Check if the retrieved accessible child is actually valid when filling the bundle's data, r=yzen
...
Differential Revision: https://phabricator.services.mozilla.com/D13611
--HG--
extra : moz-landing-system : lando
2018-12-05 19:06:40 +00:00
Eitan Isaacson
2cd7977288
Bug 1510794 - Implement AccessibilityNodeInfo.ACTION_CLICK natively. r=yzen
...
Differential Revision: https://phabricator.services.mozilla.com/D13321
--HG--
extra : moz-landing-system : lando
2018-12-05 16:08:01 +00:00
Eitan Isaacson
8e0b1240c1
Bug 1510791 - Add action count to BatchData and set isClickable correctly in Android. r=yzen
...
Differential Revision: https://phabricator.services.mozilla.com/D13320
--HG--
extra : moz-landing-system : lando
2018-12-05 15:37:24 +00:00
Tooru Fujisawa
7983faeb5d
Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
2018-12-01 04:52:05 +09: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
Lina Cambridge
994f3a458c
Bug 1494713 - Add `nsWindow::From`. r=jchen
...
Differential Revision: https://phabricator.services.mozilla.com/D11289
--HG--
extra : moz-landing-system : lando
2018-11-16 17:31:58 +00:00
Eitan Isaacson
413fe38c65
Bug 1479039 - Update SessionAccessibility cache and state from events. r=snorp,yzen
...
Differential Revision: https://phabricator.services.mozilla.com/D11217
--HG--
extra : moz-landing-system : lando
2018-11-12 16:42:37 +00:00
Eitan Isaacson
f312bc912b
Bug 1479039 - Update cached focus path bounds on scroll. r=snorp,yzen
...
Differential Revision: https://phabricator.services.mozilla.com/D11216
--HG--
extra : moz-landing-system : lando
2018-11-12 16:42:03 +00:00
Eitan Isaacson
956b93179f
Bug 1479039 - Implement java portion of focus path cache. r=snorp,yzen
...
Differential Revision: https://phabricator.services.mozilla.com/D11215
--HG--
extra : moz-landing-system : lando
2018-11-12 16:41:40 +00:00
Eitan Isaacson
7befdbc6f7
Bug 1502187 - Implement native part of viewport caching. r=Jamie
...
Depends on D9865
Differential Revision: https://phabricator.services.mozilla.com/D9866
--HG--
extra : moz-landing-system : lando
2018-11-06 04:35:51 +00:00
Eitan Isaacson
485bf4e802
Bug 1503728 - Get proxy's SessionAccessible from its chrome doc. r=Jamie
2018-11-02 13:12:00 -04:00
Eitan Isaacson
72450b73d0
Bug 1501496 - Don't send accessible GeckoBundle in sendEvent, class names is enough. r=Jamie
...
Differential Revision: https://phabricator.services.mozilla.com/D9689
--HG--
extra : moz-landing-system : lando
2018-10-25 21:49:28 +00:00
Eitan Isaacson
0716f068cd
Bug 1499209 - Send abbreviated source bundles with accessibility events. r=Jamie
...
Depends on D8778
Differential Revision: https://phabricator.services.mozilla.com/D8779
--HG--
extra : moz-landing-system : lando
2018-10-22 18:15:34 +00:00
Gurzau Raul
0468dba8b1
Backed out 2 changesets (bug 1499209) for Accessibility crashes [@ mozilla::a11y::Accessible::Proxy() const] on a CLOSED TREE
...
Backed out changeset c8d88737a20e (bug 1499209)
Backed out changeset 6a22bf58801f (bug 1499209)
2018-10-20 04:22:52 +03:00
Eitan Isaacson
45919aed72
Bug 1499209 - Send abbreviated source bundles with accessibility events. r=Jamie
...
Depends on D8778
Differential Revision: https://phabricator.services.mozilla.com/D8779
--HG--
extra : moz-landing-system : lando
2018-10-19 23:26:10 +00:00