Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Prevent sending client area for custom-frame widgets"
This reverts commit 9f396dd. Reason for revert: crbug.com/939663 Original change's description: > Prevent sending client area for custom-frame widgets > > When custom frame is used for a widget, the "client area" shouldn't > be sent based on the client-area, otherwise the located event on the > frame will be handled incorrectly. > > With this CL, DesktopWindowTreeHostMus checks remove_standard_frame > of Widget::InitParams and adopts that behavior, thus dialogs of > using custom frame and bubbles will not send client area anymore. > > This property is already used in BrowserFrameMash, so > set_auto_update_client_area method is now gone. > > Bug: 935338 > Test: manually > Change-Id: I285954a53fea3f9f32d2fc24847cd869e5d5f939 > Reviewed-on: https://chromium-review.googlesource.com/c/1488179 > Auto-Submit: Jun Mukai <[email protected]> > Reviewed-by: Scott Violet <[email protected]> > Reviewed-by: Evan Stade <[email protected]> > Commit-Queue: Jun Mukai <[email protected]> > Cr-Commit-Position: refs/heads/master@{#636248} [email protected],[email protected],[email protected] # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 935338 Change-Id: I58f0c9ac298485ff8603e52af3a15f3b51f75452 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1510757 Reviewed-by: Wenzhao (Colin) Zang <[email protected]> Commit-Queue: Wenzhao (Colin) Zang <[email protected]> Cr-Original-Commit-Position: refs/heads/master@{#638916}(cherry picked from commit 9f2aff2392146f578449a2413c91512d838bc12d) Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1519123 Reviewed-by: Jun Mukai <[email protected]> Cr-Commit-Position: refs/branch-heads/3729@{#65} Cr-Branched-From: d4a8972-refs/heads/master@{#638880}
- Loading branch information