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

Issue 1846033002: Switch GlobalErrorBubbleView to a BubbleDialogDelegate. (Closed)

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

Description

Switch GlobalErrorBubbleView to a BubbleDialogDelegate. Simplify code, fix margins. BUG=585312 Committed: https://crrev.com/e372a77d7d302b4e1dbf55900094925e677afddb Cr-Commit-Position: refs/heads/master@{#385241}

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix button action #

Total comments: 4

Patch Set 3 : with dbg code #

Patch Set 4 : preserve elevation stuff #

Patch Set 5 : remove one last dbg line #

Patch Set 6 : . #

Total comments: 7

Patch Set 7 : remove reset #

Patch Set 8 : add comment #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -106 lines) Patch
M chrome/browser/ui/views/global_error_bubble_view.h View 1 2 2 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/global_error_bubble_view.cc View 1 2 3 4 5 6 7 8 6 chunks +62 lines, -89 lines 0 comments Download
M ui/views/window/dialog_client_view.cc View 1 2 3 3 chunks +2 lines, -10 lines 0 comments Download
M ui/views/window/dialog_delegate.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M ui/views/window/dialog_delegate.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (14 generated)
Evan Stade
https://screenshot.googleplex.com/cGkLJ4jONNa.png https://codereview.chromium.org/1846033002/diff/1/chrome/browser/ui/views/global_error_bubble_view.cc File chrome/browser/ui/views/global_error_bubble_view.cc (right): https://codereview.chromium.org/1846033002/diff/1/chrome/browser/ui/views/global_error_bubble_view.cc#newcode36 chrome/browser/ui/views/global_error_bubble_view.cc:36: const int kMaxBubbleViewWidth = 362; in the screenshot, ...
4 years, 8 months ago (2016-03-31 22:04:35 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1846033002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1846033002/20001
4 years, 8 months ago (2016-03-31 22:05:07 UTC) #4
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/88308)
4 years, 8 months ago (2016-03-31 22:20:00 UTC) #6
msw
https://codereview.chromium.org/1846033002/diff/20001/chrome/browser/ui/global_error/global_error.h File chrome/browser/ui/global_error/global_error.h (left): https://codereview.chromium.org/1846033002/diff/20001/chrome/browser/ui/global_error/global_error.h#oldcode84 chrome/browser/ui/global_error/global_error.h:84: virtual bool ShouldAddElevationIconToAcceptButton(); Isn't this used by chrome/browser/safe_browsing/srt_global_error_win.cc and ...
4 years, 8 months ago (2016-03-31 22:37:18 UTC) #7
Evan Stade
responding to comments but not yet updated https://codereview.chromium.org/1846033002/diff/20001/chrome/browser/ui/global_error/global_error.h File chrome/browser/ui/global_error/global_error.h (left): https://codereview.chromium.org/1846033002/diff/20001/chrome/browser/ui/global_error/global_error.h#oldcode84 chrome/browser/ui/global_error/global_error.h:84: virtual bool ...
4 years, 8 months ago (2016-04-01 20:58:15 UTC) #8
Evan Stade
Alright, I had to rearrange some stuff in DCV/DialogDelegate to allow greater flexibility in creating ...
4 years, 8 months ago (2016-04-02 01:00:40 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1846033002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1846033002/100001
4 years, 8 months ago (2016-04-02 01:00:58 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-02 02:04:54 UTC) #14
sky
LGTM
4 years, 8 months ago (2016-04-04 15:19:04 UTC) #15
msw
https://codereview.chromium.org/1846033002/diff/100001/chrome/browser/ui/views/global_error_bubble_view.cc File chrome/browser/ui/views/global_error_bubble_view.cc (right): https://codereview.chromium.org/1846033002/diff/100001/chrome/browser/ui/views/global_error_bubble_view.cc#newcode66 chrome/browser/ui/views/global_error_bubble_view.cc:66: // |elevation_icon_setter_| references |accept_button_|, so make sure it is ...
4 years, 8 months ago (2016-04-04 17:13:18 UTC) #16
Evan Stade
https://codereview.chromium.org/1846033002/diff/100001/chrome/browser/ui/views/global_error_bubble_view.cc File chrome/browser/ui/views/global_error_bubble_view.cc (right): https://codereview.chromium.org/1846033002/diff/100001/chrome/browser/ui/views/global_error_bubble_view.cc#newcode66 chrome/browser/ui/views/global_error_bubble_view.cc:66: // |elevation_icon_setter_| references |accept_button_|, so make sure it is ...
4 years, 8 months ago (2016-04-04 22:59:07 UTC) #17
msw
https://codereview.chromium.org/1846033002/diff/100001/chrome/browser/ui/views/global_error_bubble_view.cc File chrome/browser/ui/views/global_error_bubble_view.cc (right): https://codereview.chromium.org/1846033002/diff/100001/chrome/browser/ui/views/global_error_bubble_view.cc#newcode169 chrome/browser/ui/views/global_error_bubble_view.cc:169: return true; On 2016/04/04 22:59:07, Evan Stade wrote: > ...
4 years, 8 months ago (2016-04-05 00:25:26 UTC) #18
Evan Stade
https://codereview.chromium.org/1846033002/diff/100001/chrome/browser/ui/views/global_error_bubble_view.cc File chrome/browser/ui/views/global_error_bubble_view.cc (right): https://codereview.chromium.org/1846033002/diff/100001/chrome/browser/ui/views/global_error_bubble_view.cc#newcode169 chrome/browser/ui/views/global_error_bubble_view.cc:169: return true; On 2016/04/05 00:25:26, msw wrote: > On ...
4 years, 8 months ago (2016-04-05 03:13:18 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1846033002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1846033002/140001
4 years, 8 months ago (2016-04-05 03:13:50 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/182076) ios_dbg_simulator_ninja on ...
4 years, 8 months ago (2016-04-05 03:15:51 UTC) #23
Finnur
https://codereview.chromium.org/1846033002/diff/100001/chrome/browser/ui/views/global_error_bubble_view.cc File chrome/browser/ui/views/global_error_bubble_view.cc (right): https://codereview.chromium.org/1846033002/diff/100001/chrome/browser/ui/views/global_error_bubble_view.cc#newcode169 chrome/browser/ui/views/global_error_bubble_view.cc:169: return true; Late to the party... Although I did ...
4 years, 8 months ago (2016-04-05 15:19:14 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1846033002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1846033002/160001
4 years, 8 months ago (2016-04-05 17:05:28 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-05 17:47:47 UTC) #29
msw
lgtm
4 years, 8 months ago (2016-04-05 18:01:23 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1846033002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1846033002/160001
4 years, 8 months ago (2016-04-05 18:42:42 UTC) #33
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 8 months ago (2016-04-05 18:49:35 UTC) #34
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 18:51:15 UTC) #36
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/e372a77d7d302b4e1dbf55900094925e677afddb
Cr-Commit-Position: refs/heads/master@{#385241}

Powered by Google App Engine
This is Rietveld 408576698