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

Issue 12096084: Cleanup BubbleFrameView and BubbleBorder construction. (Closed)

Created:
7 years, 10 months ago by msw
Modified:
7 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, alicet1, msw+watch_chromium.org
Visibility:
Public.

Description

Cleanup BubbleFrameView and BubbleBorder construction. Pass custom color to BubbleBorder ctor (or SK_ColorWHITE default). Call BubbleFrameView::SetBubbleBorder instead and remove border ctor arg. Misc refactoring and cleanup. TODO(followup): Update bubbles to use BubbleDelegateView where possible. TODO(followup): Use theme colors for misc borders instead of SK_ColorWHITE. BUG=166075 TEST=No observable changes. R=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180090

Patch Set 1 #

Patch Set 2 : Additional refactoring and cleanup. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -111 lines) Patch
M ash/wm/maximize_bubble_controller.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/fullscreen_exit_bubble_views.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/notifications/balloon_view_views.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc View 1 1 chunk +3 lines, -7 lines 0 comments Download
M ui/views/bubble/bubble_border.h View 1 1 chunk +1 line, -1 line 2 comments Download
M ui/views/bubble/bubble_border.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M ui/views/bubble/bubble_delegate.cc View 1 1 chunk +5 lines, -8 lines 0 comments Download
M ui/views/bubble/bubble_frame_view.h View 1 3 chunks +5 lines, -6 lines 0 comments Download
M ui/views/bubble/bubble_frame_view.cc View 1 3 chunks +11 lines, -13 lines 0 comments Download
M ui/views/bubble/bubble_frame_view_unittest.cc View 1 3 chunks +5 lines, -9 lines 0 comments Download
M ui/views/bubble/tray_bubble_view.cc View 1 13 chunks +41 lines, -50 lines 0 comments Download
M ui/views/controls/menu/menu_scroll_view_container.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M ui/views/window/dialog_frame_view.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
msw
Hey Scott, please take a look; thanks!
7 years, 10 months ago (2013-01-31 18:33:24 UTC) #1
sky
https://codereview.chromium.org/12096084/diff/8002/ui/views/bubble/bubble_border.h File ui/views/bubble/bubble_border.h (right): https://codereview.chromium.org/12096084/diff/8002/ui/views/bubble/bubble_border.h#newcode68 ui/views/bubble/bubble_border.h:68: BubbleBorder(ArrowLocation arrow, Shadow shadow, SkColor color); Is there a ...
7 years, 10 months ago (2013-01-31 19:31:16 UTC) #2
msw
https://codereview.chromium.org/12096084/diff/8002/ui/views/bubble/bubble_border.h File ui/views/bubble/bubble_border.h (right): https://codereview.chromium.org/12096084/diff/8002/ui/views/bubble/bubble_border.h#newcode68 ui/views/bubble/bubble_border.h:68: BubbleBorder(ArrowLocation arrow, Shadow shadow, SkColor color); On 2013/01/31 19:31:16, ...
7 years, 10 months ago (2013-01-31 20:11:40 UTC) #3
sky
On Thu, Jan 31, 2013 at 12:11 PM, <msw@chromium.org> wrote: > > https://codereview.chromium.org/12096084/diff/8002/ui/views/bubble/bubble_border.h > File ...
7 years, 10 months ago (2013-01-31 21:16:53 UTC) #4
msw
> Shouldn't they all lookup the same theme value? Yes, for the most part, but ...
7 years, 10 months ago (2013-01-31 22:18:37 UTC) #5
sky
Since its even split, LGTM
7 years, 10 months ago (2013-02-01 00:07:03 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/12096084/8002
7 years, 10 months ago (2013-02-01 00:24:17 UTC) #7
commit-bot: I haz the power
7 years, 10 months ago (2013-02-01 05:47:48 UTC) #8
Message was sent while issue was closed.
Change committed as 180090

Powered by Google App Engine
This is Rietveld 408576698