Description[MacViews] Implement size constraints for app windows.
This works the same way as NativeAppWindowCocoa by setting
properties on the NSWindow in OnSizeConstraintsChanged.
This also moves some code in common with NativeAppWindowCocoa
out to c/b/ui/cocoa/apps/nswindow_util.h. More code will be moved
there as they're implemented on MacViews, e.g.
CalculateDraggableRegions.
BUG=459877
Committed: https://crrev.com/b563202b63c248fa7f3605f802d7649ae7d48562
Cr-Commit-Position: refs/heads/master@{#323429}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Sync and rebase #Patch Set 3 : Address comments. #
Total comments: 9
Patch Set 4 : Update test. #Patch Set 5 : Address comments. #
Total comments: 15
Patch Set 6 : Address comments. #
Total comments: 2
Patch Set 7 : Address comments. #Patch Set 8 : Change nswindow_util to nswindow_frame_controls. #Patch Set 9 : Sync and rebase #Patch Set 10 : Update ui/gfx/BUILD.gn #Messages
Total messages: 27 (6 generated)
|