DescriptionRepositioning of the dimmer overlay when the shelf gets only moved and not resized.
The "dimmer" cannot be parented by the shelf, but it needs to overlay it. The existing OnBoundsChanged call will only detect size changes since the position relatively to its parent never changes. Therefore the shelf's window needs to be observed as well to get absolute location changes.
BUG=285415
TEST=visual
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221804
Patch Set 1 #
Total comments: 4
Patch Set 2 : Changed comments #Patch Set 3 : Fixed unit test #Messages
Total messages: 11 (0 generated)
|