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

Issue 2640593002: Fix alignment of title/content on the OIB / Site Settings bubble. (Closed)

Created:
3 years, 11 months ago by tapted
Modified:
3 years, 11 months ago
Reviewers:
msw
CC:
chromium-reviews, msramek+watch_chromium.org, groby+bubble_chromium.org, tfarina, raymes+watch_chromium.org, msw+watch_chromium.org, hcarmona+bubble_chromium.org, mac-reviews_chromium.org, markusheintz_, rouslan+bubble_chromium.org, chrome-apps-syd-reviews_chromium.org, kylix_rd
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix alignment of title/content on the OIB / Site Settings bubble. r442683 adopted a dynamic inset for the title in bubble dialogs in order to align with the content under Harmony. Shortly after, r442779 landed and adopted the default bubble title view for the site settings bubble, rather than providing a custom one. Title and content should always be aligned on the site settings bubble (regardless of Harmony), so it now needs to be aware of whether the title in the dialog is inset or not. Harmony will align title and content by default. Otherwise, to fix alignment for the site settings bubble, explicitly set the title margins to match the content margins. BUG=681081 Review-Url: https://codereview.chromium.org/2640593002 Cr-Commit-Position: refs/heads/master@{#444474} Committed: https://chromium.googlesource.com/chromium/src/+/57b697aa2605b6bbcb97352a32ccdb28204739e9

Patch Set 1 #

Patch Set 2 : zap tracing #

Patch Set 3 : selfnits #

Total comments: 4

Patch Set 4 : respond to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -22 lines) Patch
M chrome/browser/ui/views/website_settings/website_settings_popup_view.cc View 4 chunks +10 lines, -12 lines 0 comments Download
M ui/views/bubble/bubble_dialog_delegate.h View 2 chunks +7 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_dialog_delegate.cc View 1 2 3 2 chunks +8 lines, -10 lines 0 comments Download

Messages

Total messages: 18 (13 generated)
tapted
Hi mike, please take a look (kylixrd cc FYI) Thanks!
3 years, 11 months ago (2017-01-18 18:01:12 UTC) #9
msw
lgtm with minor optional nits, thanks for the fix https://codereview.chromium.org/2640593002/diff/40001/ui/views/bubble/bubble_dialog_delegate.cc File ui/views/bubble/bubble_dialog_delegate.cc (right): https://codereview.chromium.org/2640593002/diff/40001/ui/views/bubble/bubble_dialog_delegate.cc#newcode107 ui/views/bubble/bubble_dialog_delegate.cc:107: ...
3 years, 11 months ago (2017-01-18 18:30:13 UTC) #11
tapted
Thanks Mike! https://codereview.chromium.org/2640593002/diff/40001/ui/views/bubble/bubble_dialog_delegate.cc File ui/views/bubble/bubble_dialog_delegate.cc (right): https://codereview.chromium.org/2640593002/diff/40001/ui/views/bubble/bubble_dialog_delegate.cc#newcode107 ui/views/bubble/bubble_dialog_delegate.cc:107: BubbleFrameView* frame = new BubbleFrameView(title_margins_, margins()); On ...
3 years, 11 months ago (2017-01-18 19:49:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2640593002/60001
3 years, 11 months ago (2017-01-18 19:51:05 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 20:51:40 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/57b697aa2605b6bbcb97352a32cc...

Powered by Google App Engine
This is Rietveld 408576698