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

Issue 1880853002: Convert ValidationMessageBubbleView to BubbleDialogDelegate (Closed)

Created:
4 years, 8 months ago by Evan Stade
Modified:
4 years, 8 months ago
Reviewers:
groby-ooo-7-16, msw
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert ValidationMessageBubbleView to BubbleDialogDelegate - merge with ValidationMessageBubbleDelegate (which is the actual view) - make bubble self-owned, like almost all bubbles (makes shutdown destruction less tricky) BUG=585312 Committed: https://crrev.com/53f17391c1e7884791dc02b14cbba2e6dd65ff91 Cr-Commit-Position: refs/heads/master@{#387845}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : fix cocoa? #

Patch Set 4 : docs #

Total comments: 5

Patch Set 5 : compile #

Total comments: 2

Patch Set 6 : void #

Total comments: 12

Patch Set 7 : msw review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -245 lines) Patch
M chrome/browser/ui/browser.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tab_dialogs_cocoa.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/validation_message_bubble_cocoa.h View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm View 1 2 3 4 5 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/validation_message_bubble_controller_unittest.mm View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/tab_dialogs.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/validation_message_bubble.h View 1 2 3 1 chunk +7 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/tab_dialogs_views.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tab_dialogs_views.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/validation_message_bubble_delegate.h View 1 2 1 chunk +0 lines, -49 lines 0 comments Download
M chrome/browser/ui/views/validation_message_bubble_delegate.cc View 1 2 1 chunk +0 lines, -100 lines 0 comments Download
D chrome/browser/ui/views/validation_message_bubble_delegate_unittest.cc View 1 2 1 chunk +0 lines, -52 lines 0 comments Download
M chrome/browser/ui/views/validation_message_bubble_view.h View 1 2 3 4 5 6 3 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/validation_message_bubble_view.cc View 1 2 3 4 5 6 1 chunk +71 lines, -13 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 26 (11 generated)
Evan Stade
+groby can you have a look at the cocoa side of this
4 years, 8 months ago (2016-04-12 19:04:42 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880853002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880853002/60001
4 years, 8 months ago (2016-04-12 19:05:13 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/49214)
4 years, 8 months ago (2016-04-12 19:13:26 UTC) #7
groby-ooo-7-16
https://codereview.chromium.org/1880853002/diff/60001/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.h File chrome/browser/ui/cocoa/validation_message_bubble_cocoa.h (right): https://codereview.chromium.org/1880853002/diff/60001/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.h#newcode21 chrome/browser/ui/cocoa/validation_message_bubble_cocoa.h:21: public base::SupportsWeakPtr<ValidationMessageBubbleCocoa> { You're aware of the lifetime issues ...
4 years, 8 months ago (2016-04-13 01:42:32 UTC) #8
Evan Stade
https://codereview.chromium.org/1880853002/diff/60001/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.h File chrome/browser/ui/cocoa/validation_message_bubble_cocoa.h (right): https://codereview.chromium.org/1880853002/diff/60001/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.h#newcode21 chrome/browser/ui/cocoa/validation_message_bubble_cocoa.h:21: public base::SupportsWeakPtr<ValidationMessageBubbleCocoa> { On 2016/04/13 01:42:31, groby wrote: > ...
4 years, 8 months ago (2016-04-13 15:39:19 UTC) #9
groby-ooo-7-16
c/b/ui/cocoa LGTM https://codereview.chromium.org/1880853002/diff/60001/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm File chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm (right): https://codereview.chromium.org/1880853002/diff/60001/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm#newcode180 chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm:180: delete this; On 2016/04/13 15:39:19, Evan Stade ...
4 years, 8 months ago (2016-04-13 21:05:56 UTC) #10
Evan Stade
+msw for views review +groby can you also verify mac still works by going to ...
4 years, 8 months ago (2016-04-13 22:25:02 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880853002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880853002/80001
4 years, 8 months ago (2016-04-13 22:25:46 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/95082)
4 years, 8 months ago (2016-04-13 22:53:55 UTC) #16
groby-ooo-7-16
Seems Mac is still working - screenshot: http://imgur.com/SGuWHuT https://codereview.chromium.org/1880853002/diff/80001/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm File chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm (right): https://codereview.chromium.org/1880853002/diff/80001/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm#newcode178 chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm:178: ValidationMessageBubbleCocoa::CloseValidationMessage() ...
4 years, 8 months ago (2016-04-14 00:37:54 UTC) #17
msw
lgtm with nits and qs https://codereview.chromium.org/1880853002/diff/100001/chrome/browser/ui/views/validation_message_bubble_view.cc File chrome/browser/ui/views/validation_message_bubble_view.cc (right): https://codereview.chromium.org/1880853002/diff/100001/chrome/browser/ui/views/validation_message_bubble_view.cc#newcode20 chrome/browser/ui/views/validation_message_bubble_view.cc:20: static const int kPadding ...
4 years, 8 months ago (2016-04-14 01:51:38 UTC) #18
Evan Stade
https://codereview.chromium.org/1880853002/diff/80001/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm File chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm (right): https://codereview.chromium.org/1880853002/diff/80001/chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm#newcode178 chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm:178: ValidationMessageBubbleCocoa::CloseValidationMessage() { On 2016/04/14 00:37:53, groby wrote: > Ooops. ...
4 years, 8 months ago (2016-04-18 01:16:44 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880853002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880853002/120001
4 years, 8 months ago (2016-04-18 01:28:21 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-04-18 02:22:17 UTC) #24
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 02:23:17 UTC) #26
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/53f17391c1e7884791dc02b14cbba2e6dd65ff91
Cr-Commit-Position: refs/heads/master@{#387845}

Powered by Google App Engine
This is Rietveld 408576698