Chromium Code Reviews
DescriptionAdd ash-enable-sticky-edges for 'sticky' instead of 'snap' behavior.
I renamed everything related to edges to 'sticky' to differentiate
it from SnapSizer in the code. I put the new behavior (which is
a pretty trivial change) behind a flag.
I moved ShouldStickToEdge to window_util.cc in case we want to use
the smae logic in snapping panels to / from the launcher. However,
my initial experimentation with that was not great so I left that
change out for now.
BUG=228955
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195809
Patch Set 1 #
Total comments: 10
Patch Set 2 : Revert max bounds change, address feedback #Patch Set 3 : Fewer sticky renames + unittests #Patch Set 4 : . #
Total comments: 14
Patch Set 5 : Address feedback #Patch Set 6 : Rebase #
Messages
Total messages: 21 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||