Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Issue 12222003: Rebase ConfirmBubbleViews on DialogDelegateView. (Closed)

Created:
7 years, 10 months ago by msw
Modified:
7 years, 10 months ago
CC:
chromium-reviews, tfarina, Hironori Bono, James Cook, Mike Wittman
Visibility:
Public.

Description

Rebase 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -181 lines) Patch
M chrome/browser/tab_contents/spelling_bubble_model.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/spelling_bubble_model.cc View 1 2 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/tab_contents/spelling_menu_observer.cc View 1 2 2 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/confirm_bubble_views.h View 1 chunk +22 lines, -30 lines 0 comments Download
M chrome/browser/ui/views/confirm_bubble_views.cc View 1 2 chunks +78 lines, -129 lines 0 comments Download
M chrome/browser/ui/views/confirm_bubble_views_unittest.cc View 1 2 3 1 chunk +3 lines, -11 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
msw
Hey Rachel and Scott, please take a look; thanks!
7 years, 10 months ago (2013-02-12 00:04:19 UTC) #1
rpetterson
On 2013/02/12 00:04:19, msw wrote: > Hey Rachel and Scott, please take a look; thanks! ...
7 years, 10 months ago (2013-02-12 00:27:51 UTC) #2
rpetterson
Oh, and one small question. https://codereview.chromium.org/12222003/diff/1007/chrome/browser/ui/views/confirm_bubble_views_unittest.cc File chrome/browser/ui/views/confirm_bubble_views_unittest.cc (right): https://codereview.chromium.org/12222003/diff/1007/chrome/browser/ui/views/confirm_bubble_views_unittest.cc#newcode31 chrome/browser/ui/views/confirm_bubble_views_unittest.cc:31: views::DialogDelegateView::CreateDialogWidget(bubble, NULL, parent)->Show(); You ...
7 years, 10 months ago (2013-02-12 00:28:19 UTC) #3
msw
https://codereview.chromium.org/12222003/diff/1007/chrome/browser/ui/views/confirm_bubble_views_unittest.cc File chrome/browser/ui/views/confirm_bubble_views_unittest.cc (right): https://codereview.chromium.org/12222003/diff/1007/chrome/browser/ui/views/confirm_bubble_views_unittest.cc#newcode31 chrome/browser/ui/views/confirm_bubble_views_unittest.cc:31: views::DialogDelegateView::CreateDialogWidget(bubble, NULL, parent)->Show(); On 2013/02/12 00:28:20, rpetterson wrote: > ...
7 years, 10 months ago (2013-02-12 00:40:12 UTC) #4
Mike Wittman
https://codereview.chromium.org/12222003/diff/1007/chrome/browser/ui/views/confirm_bubble_views_unittest.cc File chrome/browser/ui/views/confirm_bubble_views_unittest.cc (right): https://codereview.chromium.org/12222003/diff/1007/chrome/browser/ui/views/confirm_bubble_views_unittest.cc#newcode31 chrome/browser/ui/views/confirm_bubble_views_unittest.cc:31: views::DialogDelegateView::CreateDialogWidget(bubble, NULL, parent)->Show(); On 2013/02/12 00:40:12, msw wrote: > ...
7 years, 10 months ago (2013-02-12 00:49:57 UTC) #5
sky
LGTM
7 years, 10 months ago (2013-02-12 03:15:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/12222003/1007
7 years, 10 months ago (2013-02-12 03:18:14 UTC) #7
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98513
7 years, 10 months ago (2013-02-12 06:17:18 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/12222003/1007
7 years, 10 months ago (2013-02-12 06:28:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/12222003/16002
7 years, 10 months ago (2013-02-12 16:12:32 UTC) #10
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=98824
7 years, 10 months ago (2013-02-12 17:27:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/12222003/16002
7 years, 10 months ago (2013-02-12 17:57:47 UTC) #12
commit-bot: I haz the power
7 years, 10 months ago (2013-02-12 19:29:04 UTC) #13
Message was sent while issue was closed.
Change committed as 181975

Powered by Google App Engine
This is Rietveld 408576698