DescriptionRebase ConfirmBubbleViews on DialogDelegateView.
This fixes the dialog-like confirm "bubble" class.
(make it a window-modal dialog delegate subclass)
Call new SpellingBubbleModel::SetPref(false) on 'No thanks'.
(clicking ok then cancel in two windows yields feature off)
See pics of the change at http://crbug.com/166075#c31
TODO(followup): Remove ConfirmBubble*? (only used by spelling).
TODO(followup): Fix insets after tweaking the new dialog style.
TODO(followup): Fix dialog 'extra view' placement.
BUG=166075
TEST=Spelling bubble (web textfield context menu -> "Spell-checker options" -> "Ask Google for suggestions") looks/works reasonable on Win/CrOS/Aura.
R=rlp@chromium.org,sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181975
Patch Set 1 : Working pretty well. #Patch Set 2 : Add SpellingBubbleModel::SetPref, call false on 'No thanks'. #Patch Set 3 : Restore the NativeView ConfirmBubble argument for non-TOOLKIT_VIEWS. #Patch Set 4 : Fix ConfirmBubbleViewsTest and remove moot checks. #
Total comments: 3
Patch Set 5 : Sync and rebase to retry CQ. #
Messages
Total messages: 13 (0 generated)
|