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

Issue 2700083002: Views/Harmony: Use LayoutDelegate::GetMetric() for views::kPanelHorizMargin. (Closed)

Created:
3 years, 10 months ago by Patti Lor
Modified:
3 years, 10 months ago
Reviewers:
tapted, Peter Kasting
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Views/Harmony: Use LayoutDelegate::GetMetric() for views::kPanelHorizMargin. Replace direct references to views::kPanelHorizMargin under chrome/* with a call to LayoutDelegate::GetMetric(). BUG=691897 Review-Url: https://codereview.chromium.org/2700083002 Cr-Commit-Position: refs/heads/master@{#452376} Committed: https://chromium.googlesource.com/chromium/src/+/cf729d6b29b5ff36ef3115f88b45193c59ab3f52

Patch Set 1 #

Patch Set 2 : Fix includes. #

Total comments: 2

Patch Set 3 : Review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -8 lines) Patch
M chrome/browser/ui/views/extensions/extension_install_dialog_view.cc View 1 3 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/extensions/media_galleries_dialog_views.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/webshare/webshare_target_picker_view.cc View 1 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 35 (24 generated)
Patti Lor
Hi Trent, PTAL - I've missed bubble_dialog_delegate.cc & views_delegate.cc, but I think that is intended ...
3 years, 10 months ago (2017-02-20 01:37:27 UTC) #10
tapted
lgtm % nit https://codereview.chromium.org/2700083002/diff/20001/chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc File chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc (right): https://codereview.chromium.org/2700083002/diff/20001/chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc#newcode34 chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc:34: const int kBorderHorizMargin = LayoutDelegate::Get()->GetMetric( nit: ...
3 years, 10 months ago (2017-02-20 04:42:00 UTC) #11
Patti Lor
Hi pkasting, PTAL for owner's review on all files. Thank you! https://codereview.chromium.org/2700083002/diff/20001/chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc File chrome/browser/ui/views/extensions/media_gallery_checkbox_view.cc (right): ...
3 years, 10 months ago (2017-02-20 06:34:39 UTC) #19
Patti Lor
On 2017/02/20 06:34:39, Patti Lor wrote: > Hi pkasting, PTAL for owner's review on all ...
3 years, 10 months ago (2017-02-21 22:43:23 UTC) #22
Peter Kasting
LGTM I did see it, I was just out yesterday and hadn't made it to ...
3 years, 10 months ago (2017-02-21 22:59:50 UTC) #23
Peter Kasting
(By the way, you can also replace kPanelVertMargin with this constant if you see that ...
3 years, 10 months ago (2017-02-21 23:01:49 UTC) #24
Patti Lor
On 2017/02/21 23:01:49, Peter Kasting wrote: > (By the way, you can also replace kPanelVertMargin ...
3 years, 10 months ago (2017-02-21 23:25:26 UTC) #25
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/2700083002/40001
3 years, 10 months ago (2017-02-21 23:27:05 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_chromeos_ozone_rel_ng on ...
3 years, 10 months ago (2017-02-22 01:35:44 UTC) #30
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/2700083002/40001
3 years, 10 months ago (2017-02-23 02:17:40 UTC) #32
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 03:30:57 UTC) #35
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/cf729d6b29b5ff36ef3115f88b45...

Powered by Google App Engine
This is Rietveld 408576698