Commit Graph

235 Commits

Author SHA1 Message Date
Trevor Saunders
ea8a901a13 bug 1272712 - send a RoleChanged message when an accessible document's role changes r=davidb 2016-06-14 12:46:21 -04:00
Masayuki Nakano
a1636168ba Bug 1278014 part.6 Rename SelectionType::SELECTION_SPELLCHECK to SelectionType::eSpellCheck r=smaug
MozReview-Commit-ID: 4n2jEVax37O

--HG--
extra : rebase_source : eb8c0dbedfeac83de330ccef874525dea355b52c
2016-06-09 18:37:36 +09:00
Masayuki Nakano
d960ef26d5 Bug 1278014 part.5 Rename SelectionType::SELECTION_NORMAL to SelectionType::eNormal r=smaug
MozReview-Commit-ID: AAdxTTKEvrk

--HG--
extra : rebase_source : 82e10db6b8b17d4f571625e34bb3c8f1905ef58a
2016-06-09 18:35:22 +09:00
Masayuki Nakano
00591135a4 Bug 1278014 part.2 Define mozilla::SelectionType as an enum class and use it instead of RawSelectionType as far as possible r=smaug
This patch defines mozilla::SelectionType as an enum class.  This is safer than nsISelectionController::SELECTION_* since setting illegal value to its variable is checked at build time.  So, as far as possible, this should be used everywhere (but of course, this isn't available in scriptable interfaces).

And also this implements some useful methods for managing SelectionType and RawSelectionType which are implemented in layout/nsSelection.cpp because nsISelectionController is implemented by both PresShell and nsTextEditorState.  Therefore, implementing one of them may make hard to find them.  On the other hand, nsSelection.cpp is a better file name to look for them.

Note that this patch creates mozilla::Selection::RawType() for binding.  Native code should keep using Selection::Type() but the binding code needs to use RawType() due to impossible to convert from SelectionType to RawSelectionType without explicit cast.

MozReview-Commit-ID: 81vX7A0hHQN

--HG--
extra : rebase_source : d9f88e217c713c60d1c2578ce6421c73ccba8650
2016-06-11 11:06:37 +09:00
Jonathan Watt
b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Lorien Hu
c86a00d637 Bug 1274194 - HyperTextAccessible InsertChildAt and RemoveChild now call AccessibleWrap for superclass method r=tbsaunde 2016-06-09 14:33:48 -07:00
Alexander Surkov
cfb8c639d1 Bug 1278294 - add tree logging for single content insertion, part5, r=yzen 2016-06-08 13:51:47 -04:00
Alexander Surkov
a79ccd2084 Bug 1278294 - UpdateTreeOnRemoval should use logging::TreeInfo, part2, r=yzen 2016-06-08 07:33:06 -04:00
Wes Kocher
511408a877 Backed out changeset 452617569aeb (bug 1278294) for build bustage CLOSED TREE 2016-06-07 14:48:22 -07:00
Alexander Surkov
7a5475e4a8 Bug 1278294 - UpdateTreeOnRemoval should use logging::TreeInfo, part2, r=yzen 2016-06-07 17:21:59 -04:00
Eric Skoglund
ebe3c8320b Bug 1031184 - Introduce a NativeDescription method to more easily customize accessible descriptions for various classes, r=MarcoZ
Implemented a NativeDescription method

--HG--
extra : rebase_source : f0129eaea0f183ab3f67963dfbb61141af670f64
2016-05-23 00:12:54 +02:00
Alexander Surkov
59bfc9cc59 Bug 1271946 - no alert, menupopup_start events from created subtree, partial backout of bug 1262420, r=marcoz 2016-05-18 08:58:26 -04:00
Trevor Saunders
256fff4fc9 bug 1271436 - add nsIDocShell::GetCommandManager() r=smaug 2016-05-17 18:16:07 -04:00
Alexander Surkov
db0f2224b6 Bug 1273020 - add more assertions, r=njn 2016-05-17 14:11:42 -04:00
Nicholas Nethercote
c63787f910 Bug 1273020 - Add missing null checks in ApplicationAccessible. r=surkov.
--HG--
extra : rebase_source : f28ed60b77797d975290f2b45c242526df984364
2016-05-16 12:36:25 +10:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Alexander Surkov
a24bc2972b Bug 1270218 - keep indexes in parent updated in-the-middle of insertions and removals, r=yzen 2016-05-05 10:42:00 -04:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Trevor Saunders
471e46a43a bug 1266518 - add a new event message for AccSelChangeEvents r=davidb
For these events atk needs to know about the widget not the event target, and
the easiest way to support that is by adding a new event message that sends the
widget id.
2016-04-25 13:38:06 -04:00
Alexander Surkov
446c271cb6 Bug 1262420 - split updateTreeInternal for removals and insertions, part 2, r=yzen 2016-04-25 09:10:41 -04:00
Alexander Surkov
e3f1739729 Bug 1262420 - split updateTreeInternal for removals and insertions, removals part, r=yzen 2016-04-25 09:07:48 -04:00
Trevor Saunders
907963ea24 bug 1262563 - add IsFromUserInput to show / hide event messages r=davidb 2016-04-21 13:41:09 -04:00
L. David Baron
376413eeb5 Bug 1053986 - Rename nsIFrame::IsBoxFrame to IsXULBoxFrame. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

But with additional manual changes in accessible/.

MozReview-Commit-ID: W0wUPoQsVH
2016-04-20 21:28:30 -07:00
Masayuki Nakano
cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Alexander Surkov
83f637d163 Bug 1262417 - bind a value change event with reorder event firing, r=yzen 2016-04-19 11:51:51 -04:00
Nathan Froyd
dc00d2ec98 Bug 1264784 - part 1 - call nsIFrame::{GetScreenRect,GetView} instead of their *External counterparts; r=dholbert
The latter functions just call through to the former functions, and
we're going to remove the latter functions in a separate, subsequent
patch.
2016-04-15 19:37:35 -04:00
Alexander Surkov
79325fd1a2 Bug 1264473 - do not schedule child document rebuinding during main document shutdown, r=yzen 2016-04-14 11:15:16 -04:00
Alexander Surkov
1499275e07 Bug 1262415 - make Accessible to keep weak pointers to parent and children, r=yzen 2016-04-12 11:20:56 -04:00
Jonathan Watt
de4c3d11fe Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku 2016-03-31 13:20:14 +01:00
Jonathan Watt
9480920b04 Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku 2016-03-31 12:46:32 +01:00
Jonathan Watt
fb7bb15e68 Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
Cameron McCormack
672aaef5a4 Bug 1261754 - Part 11: Move opacity from nsStyleDisplay to nsStyleEffects. r=dholbert 2016-04-12 15:52:43 +10:00
Trevor Saunders
9d406fe177 bug 1261144 - rename AccCollector.{h,cpp} to EmbeddedObjCollector.{h,cpp} r=lsocks 2016-04-11 21:41:09 -04:00
Alexander Surkov
f34bc138b9 Bug 1261439 - replace nsAccUtils::IsEmbeddedObject on a bit flag check, r=marcoz 2016-04-08 08:35:11 -04:00
Alexander Surkov
51947ead2c Bug 1261425 - coalesce mutation events by a tree structure, r=yzen 2016-04-07 09:30:22 -04:00
Sebastian Hengst
c77c3ae876 Backed out changeset 071d44d633ea (bug 1234121) 2016-04-07 14:15:41 +02:00
Lorien Hu
edd5ded287 Bug 1234121 - FocusManager focused proxy cleared on hide event (Part 2) r=tbsaunde 2016-04-07 04:18:15 -07:00
Alexander Surkov
41a839ff6b Bug 1261408 - detect ARIA owned children early to avoid tree moving, r=yzen 2016-04-06 07:58:58 -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
Alexander Surkov
62081fdb80 Bug 1261170 - add a single node ProcessContentInserted method version, r=yzen 2016-04-05 20:48:30 -04:00
Alexander Surkov
c2cdfb8b81 Bug 1261167 - remove Accessible::TestChildCache, r=marcoz 2016-04-05 17:35:31 -04:00
Alexander Surkov
167cbebba2 Bug 1261165 - remove Accessible::ChildrenFlags, r=yzen 2016-04-05 17:34:00 -04:00
alexander
ddd1904862 Bug 1260862 - "remove Cache/EnsureChildren". r=mzehe 2016-03-30 12:53:00 +02:00
alexander
5ce933a8d2 Bug 1261377 - "With current child caching reorganization, NVDA is no longer able to render some content". r=mzehe 2016-04-01 09:39:00 +02:00
Alexander Surkov
c9b15d3087 Bug 1260860 - stop illicit accessible stealing, r=yzen 2016-04-01 11:07:57 -04:00
Alexander Surkov
a85d9d1c0c Bug 1260496 - get rid of CacheChildren for application accessible, r=marcoz 2016-04-01 10:57:06 -04:00
Alexander Surkov
89c58301b4 Bug 1260494 - rebuild child indexes by AutoTreeMutation guard, r=yzen 2016-04-01 10:53:52 -04:00
Alexander Surkov
35ac8eea5d Bug 1260277 - remove empty CacheChildren's, r=marcoz 2016-03-31 21:40:56 -04:00
Alexander Surkov
5165ca54aa Bug 1258228 - create special child accessibles in owner's constructor, part1, r=marcoz 2016-03-31 21:22:34 -04:00
Alexander Surkov
e66c565efd Bug 1256461 - merge MoveChild and SeizeChild methods, r=yzen 2016-03-31 21:22:13 -04:00