commit | 6052a653c5e5b430ee4f3ba9e41b37b4f78752d6 | [log] [tgz] |
---|---|---|
author | Jun Mukai <mukai@chromium.org> | Sat Jan 12 00:44:33 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Jan 12 00:44:33 2019 |
tree | 79d9381e78ce59f4c5f54d905b29e39a5801cd10 | |
parent | 794e7b06f7c5e2081582b93ae971e9be9968aec2 [diff] |
Reland "Allow dragging for NonClientArea (i.e. DraggableRegions)" The non-client area in ProxyWindow is set through "DraggableRegions", and this section is used for draggability of the window (see https://cs.chromium.org/chromium/src/apps/ui/views/app_window_frame_view.cc?sq=package:chromium&g=0&l=196). The same logic should be introduced on Mash, otherwise frameless app window can't be dragged. The previous CL (r622061) was reverted since this CL actually makes any browser-windows unresizable -- this draggable-regions check should be done only when the located event isn't on the edge (i.e. keep the existing behavior as long as it returns values other than HTCLIENT). Bug: 920469 Test: ash_unittests Change-Id: I9389e35ae8cb89b84df6517e932acaa5cb7ebaa7 Reviewed-on: https://chromium-review.googlesource.com/c/1407776 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Jun Mukai <mukai@chromium.org> Cr-Commit-Position: refs/heads/master@{#622239}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .