Chromium Code Reviews
DescriptionFix Views new dialog style hit-testing.
This CL is a continuation of a reverted CL:
https://codereview.chromium.org/16084008/
This CL fixes test failures/crashes that caused revert.
It also refines the behavior and improves testing.
Allow non-resizable dialog dragging (and system menu).
(revise NonClientHitTest to return HTCAPTION as needed)
This was a regression from my http://crrev.com/202000
Allow the top-left to show the system menu on left-click.
Allow dragging dialogs from the frame view side/bottom.
This is new behavior that I think is good :)
Expand BubbleFrameViewTest.NonClientHitTest and support.
Add dialog_delegate_unittest.cc and DialogTest.HitTest.
BUG=244676, 166075
TEST=all non-constrained dialogs can be dragged, and their Windows system menus are shown on title-bar right-click, and top-left area left-click.
R=sky@chromium.org
ABANDONED DUE TO INTENDED BEHAVIOR CHANGE.
Patch Set 1 : Original reverted CL from https://codereview.chromium.org/16084008/. #Patch Set 2 : Pass |bubble| ownership to the widget. #Patch Set 3 : Fix hit-testing logic; fix bubble test; add dialog test. #Patch Set 4 : Cleanup. #Patch Set 5 : Add Aura context, simplify and make test more flexible. #
Messages
Total messages: 11 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||