New issue
Advanced search Search tips

Issue 634143 link

Starred by 5 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug

Blocking:
issue 637460



Sign in to add a comment

Remove widget hierarchy methods for geometry

Project Member Reported by chrishtr@chromium.org, Aug 3 2016

Issue description

    IntRect convertToRootFrame(const IntRect&) const;
    IntRect convertFromRootFrame(const IntRect&) const;

    IntPoint convertToRootFrame(const IntPoint&) const;
    IntPoint convertFromRootFrame(const IntPoint&) const;
    FloatPoint convertFromRootFrame(const FloatPoint&) const;

    virtual IntRect convertToContainingWidget(const IntRect&) const;
    virtual IntRect convertFromContainingWidget(const IntRect&) const;
    virtual IntPoint convertToContainingWidget(const IntPoint&) const;
    virtual IntPoint convertFromContainingWidget(const IntPoint&) const;

    // Virtual methods to convert points to/from child widgets
    virtual IntPoint convertChildToSelf(const Widget*, const IntPoint&) const;
    virtual IntPoint convertSelfToChild(const Widget*, const IntPoint&) const;

 
Project Member

Comment 1 by bugdroid1@chromium.org, Aug 4 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1573fb538f3ab7c4a9e1fcb0c6c81b4d6af57cf7

commit 1573fb538f3ab7c4a9e1fcb0c6c81b4d6af57cf7
Author: chrishtr <chrishtr@chromium.org>
Date: Thu Aug 04 03:34:45 2016

Remove useless code to invalidate rects on the HostWindow. It's a no-op for frames.

BUG=634143

Review-Url: https://codereview.chromium.org/2211453004
Cr-Commit-Position: refs/heads/master@{#409715}

[modify] https://crrev.com/1573fb538f3ab7c4a9e1fcb0c6c81b4d6af57cf7/third_party/WebKit/Source/core/frame/FrameView.cpp

Cc: szager@chromium.org
Blocking: 637460
Pass this bug to the architecture team that is working on  issue 637460 ?
Cc: chrishtr@chromium.org
Owner: joelhockey@chromium.org
Hi Joel, Chris asked to pass this to you.
Can I clarify what work is still to be done on this bug?  The original description lists 11 methods in FrameView without any description about what should be done to them.  If the work is unclear, maybe it is best to close this bug, or mark it a duplicate of  crbug.com/637460 
These methods duplicate other methods on the Layout tree. I'll just mark it
as available, since I don't think it actually blocks removal of the widget
tree.
Cc: joelhockey@chromium.org
Owner: ----
Status: Available (was: Assigned)
I think this bug actually does block  issue 637460 . The tasks necessary
here are to migrate callsites of convertToRootFrame etc to use
LayoutObject:LocalToAncestorQuad for the source and destination LayoutObjects
that are implied by the use-case. I am happy to consult on the right way to
do this for whoever picks up this bug.
Project Member

Comment 12 by sheriffbot@chromium.org, Jun 13 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment