gecko-dev/layout
Masayuki Nakano 1b0e6d02fe Bug 1466208 - part 39: Create PresShell::EventHandler::MaybeHandleKeyboardEventBeforeDispatch() r=smaug
`PresShell::EventHandler::HandleEventInternal()` may handle `Escape` key before
dispatching it in some cases.  This requires too many lines for somebody who
investigate the method for the other events.  Therefore, this patch moves it
into the new method.

Additionally, this patch creates `WidgetKeyboardEvent::CanTreatAsUserInput()`
and `WidgetKeyboardEvent::ShouldInteractionTimeRecorded()` because we should
manage similar checks in one place (we already have
`WidgetKeyboardEvent::CanUserGestureActivateTarget()`).  Finally, their
conditions are not enough for what the comment wants to do there since they do
not check some modifier keys.  Therefore, this patch makes them check all
possible modifier keys too.

Differential Revision: https://phabricator.services.mozilla.com/D21340

--HG--
extra : moz-landing-system : lando
2019-03-08 12:46:17 +00:00
..
base Bug 1466208 - part 39: Create PresShell::EventHandler::MaybeHandleKeyboardEventBeforeDispatch() r=smaug 2019-03-08 12:46:17 +00:00
build Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-01 09:28:28 +02:00
doc Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
forms Bug 1532122 - Make word-spacing, letter-spacing, and line-height use Rust lengths. r=boris 2019-03-04 18:19:40 +00:00
generic Bug 1526941 - Part 1: Simplify nsDisplayTransform constructors r=mattwoodrow 2019-03-07 17:12:21 +00:00
inspector Bug 1215878 - Implement CSS revert keyword. r=heycam,birtles 2019-03-07 11:59:36 +00:00
ipc Bug 1532725 - Rename PRemoteFrame to PBrowserBridge. r=nika 2019-03-04 20:15:58 -06:00
mathml Bug 1523969 part 14 - Move method definition inline comments to new line in 'layout/'. r=dholbert 2019-02-25 16:09:24 -06:00
media
painting Bug 1526941 - Part 5: Rewrite nsDisplayTransform bounds calculations r=mattwoodrow 2019-03-07 17:13:45 +00:00
printing Bug 1528914 - Tidy the relationship between the doc shell and the pres context. r=qdot 2019-02-19 22:53:40 +00:00
reftests Bug 1533796 - Always run 1133905-*-vh-*.html reftests with containerless scrolling enabled. r=kats 2019-03-08 19:36:39 +00:00
style Bug 1508028 - Change stroke-miterlimit restriction from GreaterThanOrEqualToOneNumber to NonNegativeNumber. r=longsonr,emilio 2019-03-09 13:05:56 +00:00
svg Bug 1532444 - Go back to doing synchronous invalidation in ReflowSVGNonDisplayText as its invoked by ScheduleReflowSVGNonDisplayText so is already asynchronous r=dholbert 2019-03-09 14:14:33 +00:00
tables Bug 1523969 part 14 - Move method definition inline comments to new line in 'layout/'. r=dholbert 2019-02-25 16:09:24 -06:00
tools Bug 1529863 - Remove remnants of unused browser.firstrun and browser.snippets prefs. r=geckoview-reviewers,whimboo,esawin 2019-03-06 14:59:46 +00:00
xul Bug 1519960, add a previousColumn property for tree columns so that tree drag and drop will work without box objects, r=bzbarsky 2019-03-07 17:57:18 -05:00
moz.build Bug 1521673 - Go through layout/tools/layout-debug even when tests are disabled. r=dmajor 2019-01-22 14:30:39 +00:00