Closed Bug 1924240 Opened 5 months ago Closed 4 months ago

Harmonize parent / child widget handling across platforms.

Categories

(Core :: Widget, task, P3)

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(6 files)

No description provided.
Assignee: nobody → emilio
Status: NEW → ASSIGNED

No reason to have a separate member here.

Severity: -- → S3
Keywords: leave-open
Priority: -- → P3
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3613fc672c50 Simpler parent / child setup in nsCocoaWindow.mm. r=mac-reviewers,bradwerth
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/7652535fcdac Remove an assert that doesn't always hold.
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ff7cbc693154 Pack android nsWindow fields better and clean-up initialization. r=geckoview-reviewers,m_kato https://hg.mozilla.org/integration/autoland/rev/6e19fcee135d Make android widget handling similar to all other platforms. r=m_kato,geckoview-reviewers
No longer depends on: 1914831
See Also: → 1855973

Move mParent to nsIWidget.h along with kids and so on. Instead of
ReparentNativeWidget add a more general DidChangeParent method.

Make mParent weak to prevent cycles. These are broken on Destroy() but
it feels kinda silly, and we were inconsistent before I started this
effort so pretty sure it can be done.

Blocks: 1855973
See Also: 1855973
Keywords: leave-open
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/66cf65217104 More common parent handling between Linux and Windows. r=stransky,win-reviewers,rkraesig https://hg.mozilla.org/integration/autoland/rev/3c9fb8f4a18e Simplify nsWindow::IsTopLevelWidget() on Windows. r=win-reviewers,rkraesig https://hg.mozilla.org/integration/autoland/rev/7cec75426e72 Devirtualize parent handling. r=mac-reviewers,win-reviewers,geckoview-reviewers,bradwerth,m_kato,rkraesig https://hg.mozilla.org/integration/autoland/rev/4d75277ebe4e apply code formatting via Lando
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a2f3ba3fdba0 More common parent handling between Linux and Windows. r=stransky,win-reviewers,rkraesig https://hg.mozilla.org/integration/autoland/rev/046b408b7544 Simplify nsWindow::IsTopLevelWidget() on Windows. r=win-reviewers,rkraesig https://hg.mozilla.org/integration/autoland/rev/d2c236c5df45 Devirtualize parent handling. r=mac-reviewers,win-reviewers,geckoview-reviewers,bradwerth,m_kato,rkraesig
Flags: needinfo?(emilio)
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
Regressions: 1926624
Regressions: 1935022
Regressions: 1936194
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: