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 <mukai@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Evan Stade <estade@chromium.org> Commit-Queue: Jun Mukai <mukai@chromium.org> Cr-Commit-Position: refs/heads/master@{#636248}
Showing
Please register or sign in to comment