Move display layout parenting logic to C++ |
||||
Issue descriptionCurrently the display layout re-parenting logic for 3+ displays resides in JS and is used by the UI when the layout tree structure changes. We should move this logic into C++ so that it can be shared with the model when a new display is added or the size/resolution changes. Since we only apply this logic when a drag event completes, any minor lag from the JS/C++ round trip should not be apparent to the user. (The UI will receive a complete update regardless and will recenter and resize the new layout).
,
Dec 28 2016
,
Sep 13 2017
I added some logic to reparent displays while applying the layout and de-intersecting displays here: https://cs.chromium.org/chromium/src/ui/display/display_layout.cc?type=cs&q=MaybeReparentTargetDisplay&l=136. Maybe we can extend and reuse that.
,
Mar 7 2018
This is not somehting I'm going to have to work on any time soon. -> malaykeshav@ to consider doing or to archive. |
||||
►
Sign in to add a comment |
||||
Comment 1 by steve...@chromium.org
, Mar 22 2016