DescriptionUpdateWindowTitle before SetInitialBounds in Widget::Init.
Reverse the ordering of these Widget::Init operations.
BubbleFrameView uses title/close presence for sizing.
(requires title/close to be set before bounds init)
DialogDelegate::CreateNewStyleFrameView did this explicitly.
(that changed in http://crrev.com/214637, seems less hacky)
Add a unit test, and cleanup a related test.
BUG=267343
TEST=Dialogs are sized properly, especially non-tab/content-modal dialogs (add wifi, import lock, screen sharing, etc.); see the bug and its dups for examples.
R=sky@chromium.org,ben@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215805
Patch Set 1 #Patch Set 2 : Add a comment and a dialog unit test. #
Messages
Total messages: 8 (0 generated)
|