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

Issue 933893003: Use standard icon/title in global error bubble (Closed)

Created:
5 years, 10 months ago by xiaoling
Modified:
5 years, 10 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, tfarina, tdanderson+views_chromium.org, alicet1, msw+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Addresses the spacing issue between close button and title in global error bubble from issue 449737. Add an optional title icon in the BubbleFrameView and use the standard title/icon in the GlobalErrorBubbleView. BUG=449737 Committed: https://crrev.com/d9e93b432128b228d5057b5898fe42e5ba5ab140 Cr-Commit-Position: refs/heads/master@{#317927}

Patch Set 1 #

Patch Set 2 #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 20

Patch Set 8 : #

Total comments: 8

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 4

Patch Set 12 : #

Patch Set 13 #

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -61 lines) Patch
M chrome/browser/ui/panels/panel.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/global_error_bubble_view.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/global_error_bubble_view.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +22 lines, -34 lines 0 comments Download
M ui/views/bubble/bubble_frame_view.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M ui/views/bubble/bubble_frame_view.cc View 1 2 3 4 5 6 7 8 7 chunks +62 lines, -19 lines 0 comments Download
M ui/views/widget/widget.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -2 lines 0 comments Download
M ui/views/window/dialog_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 13 3 chunks +35 lines, -3 lines 0 comments Download

Messages

Total messages: 31 (9 generated)
msw
https://codereview.chromium.org/933893003/diff/40001/ui/views/widget/widget_delegate.h File ui/views/widget/widget_delegate.h (right): https://codereview.chromium.org/933893003/diff/40001/ui/views/widget/widget_delegate.h#newcode83 ui/views/widget/widget_delegate.h:83: virtual gfx::ImageSkia GetWindowTitleIcon(); Use GetWindowIcon and ShouldShowWindowIcon below instead.
5 years, 10 months ago (2015-02-18 18:48:15 UTC) #2
xiaoling
https://codereview.chromium.org/933893003/diff/40001/ui/views/widget/widget_delegate.h File ui/views/widget/widget_delegate.h (right): https://codereview.chromium.org/933893003/diff/40001/ui/views/widget/widget_delegate.h#newcode83 ui/views/widget/widget_delegate.h:83: virtual gfx::ImageSkia GetWindowTitleIcon(); On 2015/02/18 18:48:15, msw wrote: > ...
5 years, 10 months ago (2015-02-18 19:03:02 UTC) #3
msw
https://codereview.chromium.org/933893003/diff/40001/ui/views/widget/widget_delegate.h File ui/views/widget/widget_delegate.h (right): https://codereview.chromium.org/933893003/diff/40001/ui/views/widget/widget_delegate.h#newcode83 ui/views/widget/widget_delegate.h:83: virtual gfx::ImageSkia GetWindowTitleIcon(); On 2015/02/18 19:03:02, xiaoling wrote: > ...
5 years, 10 months ago (2015-02-18 19:14:44 UTC) #4
xiaoling
Hi Michael, I updated the issue. Can you please start a formal review?
5 years, 10 months ago (2015-02-19 02:20:58 UTC) #5
msw
Can you try to add some tests? https://codereview.chromium.org/933893003/diff/120001/chrome/browser/ui/views/global_error_bubble_view.cc File chrome/browser/ui/views/global_error_bubble_view.cc (right): https://codereview.chromium.org/933893003/diff/120001/chrome/browser/ui/views/global_error_bubble_view.cc#newcode171 chrome/browser/ui/views/global_error_bubble_view.cc:171: return true; ...
5 years, 10 months ago (2015-02-19 23:56:14 UTC) #6
xiaoling
PTAL. I'll look into how to test. Will send screenshot. https://codereview.chromium.org/933893003/diff/120001/chrome/browser/ui/views/global_error_bubble_view.cc File chrome/browser/ui/views/global_error_bubble_view.cc (right): https://codereview.chromium.org/933893003/diff/120001/chrome/browser/ui/views/global_error_bubble_view.cc#newcode171 ...
5 years, 10 months ago (2015-02-20 19:43:21 UTC) #7
msw
https://codereview.chromium.org/933893003/diff/120001/ui/views/bubble/bubble_frame_view.cc File ui/views/bubble/bubble_frame_view.cc (right): https://codereview.chromium.org/933893003/diff/120001/ui/views/bubble/bubble_frame_view.cc#newcode175 ui/views/bubble/bubble_frame_view.cc:175: gfx::ImageSkia image; On 2015/02/20 19:43:21, xiaoling wrote: > On ...
5 years, 10 months ago (2015-02-20 20:03:44 UTC) #8
xiaoling
Thank you! https://codereview.chromium.org/933893003/diff/140001/chrome/browser/ui/views/global_error_bubble_view.h File chrome/browser/ui/views/global_error_bubble_view.h (right): https://codereview.chromium.org/933893003/diff/140001/chrome/browser/ui/views/global_error_bubble_view.h#newcode32 chrome/browser/ui/views/global_error_bubble_view.h:32: void WindowClosing() override; On 2015/02/20 20:03:44, msw ...
5 years, 10 months ago (2015-02-20 20:23:19 UTC) #9
msw
lgtm. it'd be nice to have tests in this CL or a followup.
5 years, 10 months ago (2015-02-20 21:58:44 UTC) #10
xiaoling
On 2015/02/20 21:58:44, msw wrote: > lgtm. it'd be nice to have tests in this ...
5 years, 10 months ago (2015-02-20 22:31:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/933893003/180001
5 years, 10 months ago (2015-02-20 23:47:09 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/44417)
5 years, 10 months ago (2015-02-21 00:34:49 UTC) #15
xiaoling
On 2015/02/21 00:34:49, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 10 months ago (2015-02-21 00:38:51 UTC) #17
sky
LGTM
5 years, 10 months ago (2015-02-21 04:21:24 UTC) #18
xiaoling
Hi, I uploaded another patch to fix some test failures. Most changes are in file ...
5 years, 10 months ago (2015-02-24 22:03:01 UTC) #19
msw
lgtm with comment nits. https://codereview.chromium.org/933893003/diff/200001/ui/views/window/dialog_delegate_unittest.cc File ui/views/window/dialog_delegate_unittest.cc (right): https://codereview.chromium.org/933893003/diff/200001/ui/views/window/dialog_delegate_unittest.cc#newcode192 ui/views/window/dialog_delegate_unittest.cc:192: // Ensure that the new ...
5 years, 10 months ago (2015-02-24 22:19:46 UTC) #20
xiaoling
Thanks! https://codereview.chromium.org/933893003/diff/200001/ui/views/window/dialog_delegate_unittest.cc File ui/views/window/dialog_delegate_unittest.cc (right): https://codereview.chromium.org/933893003/diff/200001/ui/views/window/dialog_delegate_unittest.cc#newcode192 ui/views/window/dialog_delegate_unittest.cc:192: // Ensure that the new style's BubbleFrameView hit-tests ...
5 years, 10 months ago (2015-02-24 22:38:29 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/933893003/220001
5 years, 10 months ago (2015-02-24 23:04:03 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ng/builds/14235) ios_rel_device_ninja_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 10 months ago (2015-02-24 23:21:59 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/933893003/260001
5 years, 10 months ago (2015-02-24 23:28:54 UTC) #29
commit-bot: I haz the power
Committed patchset #14 (id:260001)
5 years, 10 months ago (2015-02-25 00:35:08 UTC) #30
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 00:35:40 UTC) #31
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/d9e93b432128b228d5057b5898fe42e5ba5ab140
Cr-Commit-Position: refs/heads/master@{#317927}

Powered by Google App Engine
This is Rietveld 408576698