Change APZEventResult::mHandledByRootApzc to Maybe<APZHandledResult> from Maybe<bool>
Categories
(Core :: Panning and Zooming, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: hiro, Assigned: hiro)
References
Details
Attachments
(3 files, 1 obsolete file)
In bug 1663000 we are going to introduce an enum class named APZHandledResult representing tri-state a) the event will be handled in the root APZC, b) the event will not be handled in a non root APZC, c) the event will not be handled in any APZC, and use them for deferred answer cases, but in theory it can also be used for non-deferred cases.
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
In the case of nsEventStatus_eConsumeNoDefault, we don't want to do default
processing in browser UIs, so we should never return INPUT_RESULT_HANDLED.
Note that in the current code path, we never set mHandledByRootApzc in
ReceiveInputEvent() in the case of nsEventStatus_eConsumeNoDefault, as far as I
can tell.
Depends on D96331
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D96332
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 years ago
|
||
I am running into a moz-phab issue (bug 1674310), so I had to create a new review request unfortunately. I am sorry, Botond.
Updated•4 years ago
|
Pushed by hikezoe.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5e275c31e9f4 Change APZEventResult::mHandledByRootApzc to Maybe<APZHandledResult>. r=botond https://hg.mozilla.org/integration/autoland/rev/a2f0dae16c37 Use ConvertAPZHandledResult nsEventStatus_eConsumeNoDefault case. r=botond,geckoview-reviewers,agi https://hg.mozilla.org/integration/autoland/rev/079ac6ad6133 Use ConvertAPZHandledResult to convert mHandledByRootApzc for motion event cases. r=botond,geckoview-reviewers,agi
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5e275c31e9f4
https://hg.mozilla.org/mozilla-central/rev/a2f0dae16c37
https://hg.mozilla.org/mozilla-central/rev/079ac6ad6133
Description
•