DescriptionSome code in MessageBoxView was focusing the first focusable element in the view, overidding the focus set from the DialogDelegate.
We now only rely on the dialog delegate.
Also changed dialog delegate so the default button is also the focused button.
BUG=98
TEST=Open a javascript alert then confirm dialog. A button should be focused. Open all dialogs in Chrome. A button should be focused by default.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=4334
Patch Set 1 #Patch Set 2 : '' #
Messages
Total messages: 2 (0 generated)
|