Closed Bug 2000639 Opened 1 month ago Closed 1 month ago

Remove nsViewManager.

Categories

(Core :: Web Painting, task)

task

Tracking

()

RESOLVED FIXED
147 Branch
Tracking Status
firefox147 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file, 1 obsolete file)

After the blocking bugs, it's little more than a backpointer to the pres shell.

After the previous patches, nsViewManager is basically a backpointer to
its pres shell.

Remove it and just make PresShell manage the root view directly. After
this is done, we can decide what to do about nsView (which is itself
little more than a widget listener that forwards to pres shell right
now).

This technically starts listening to mParentWidget slightly later (on
pres shell creation), but I think that's ok.

It hasn't done anything useful for a while. The widget listener's shell
and the view's shell will always match for the cases where both exist.

For popups things go through nsMenuPopupFrame::HandleEvent now.

Comment on attachment 9527322 [details]
Bug 2000639 - Remove nsIWidget::mUseAttachedEvents. r=tnikkel,#layout

Revision D272975 was moved to bug 2000999. Setting attachment 9527322 [details] to obsolete.

Attachment #9527322 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
QA Whiteboard: [qa-triage-done-c148/b147]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: