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

Issue 2713803002: Views/Harmony: Use LayoutDelegate::GetMetric for views::kPanelVertMargin. (Closed)

Created:
3 years, 10 months ago by Patti Lor
Modified:
3 years, 9 months ago
Reviewers:
tapted, Peter Kasting
CC:
chromium-reviews, extensions-reviews_chromium.org, msramek+watch_chromium.org, tfarina, raymes+watch_chromium.org, chromium-apps-reviews_chromium.org, markusheintz_, sync-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::kPanelVertMargin. Replace direct references to views::kPanelHorizMargin under chrome/browser/ui/views/* with a call to LayoutDelegate::GetMetric(). BUG=691897 Review-Url: https://codereview.chromium.org/2713803002 Cr-Commit-Position: refs/heads/master@{#455372} Committed: https://chromium.googlesource.com/chromium/src/+/e05be844b2562f3c35ada23f782d2c1aea19adf0

Patch Set 1 #

Patch Set 2 : Rebase? #

Patch Set 3 : Fix many crashes. #

Total comments: 21

Patch Set 4 : Review comments. #

Patch Set 5 : Rebase. #

Patch Set 6 : Rebase. #

Messages

Total messages: 57 (42 generated)
Patti Lor
Hi Trent, PTAL. Again, I've missed stuff under chrome/browser/{chromeos,extensions,ui/ash}/, and ui/views/. Thanks!
3 years, 9 months ago (2017-02-26 23:15:31 UTC) #22
tapted
Main thing from below, I think we should a `BoxLayout* LayoutDelegate::CreatePanelBoxLayout(..)` method looping in pkasting ...
3 years, 9 months ago (2017-02-27 03:24:51 UTC) #24
Peter Kasting
https://codereview.chromium.org/2713803002/diff/40001/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc File chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc (right): https://codereview.chromium.org/2713803002/diff/40001/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc#newcode139 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc:139: views::BoxLayout::kVertical, views::kButtonHEdgeMarginNew, On 2017/02/27 03:24:51, tapted wrote: > Does ...
3 years, 9 months ago (2017-02-28 02:21:39 UTC) #25
Patti Lor
Apologies for the delay - PTAL! https://codereview.chromium.org/2713803002/diff/40001/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc File chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc (right): https://codereview.chromium.org/2713803002/diff/40001/chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc#newcode139 chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views.cc:139: views::BoxLayout::kVertical, views::kButtonHEdgeMarginNew, On ...
3 years, 9 months ago (2017-03-03 08:24:40 UTC) #36
Peter Kasting
LGTM with handwavey comment. https://codereview.chromium.org/2713803002/diff/40001/chrome/browser/ui/views/sad_tab_view.cc File chrome/browser/ui/views/sad_tab_view.cc (right): https://codereview.chromium.org/2713803002/diff/40001/chrome/browser/ui/views/sad_tab_view.cc#newcode86 chrome/browser/ui/views/sad_tab_view.cc:86: LayoutDelegate::Metric::PANEL_CONTENT_MARGIN)); On 2017/03/03 08:24:39, Patti ...
3 years, 9 months ago (2017-03-04 02:10:55 UTC) #37
tapted
lgtm https://codereview.chromium.org/2713803002/diff/40001/chrome/browser/ui/views/sad_tab_view.cc File chrome/browser/ui/views/sad_tab_view.cc (right): https://codereview.chromium.org/2713803002/diff/40001/chrome/browser/ui/views/sad_tab_view.cc#newcode86 chrome/browser/ui/views/sad_tab_view.cc:86: LayoutDelegate::Metric::PANEL_CONTENT_MARGIN)); On 2017/03/04 02:10:55, Peter Kasting wrote: > ...
3 years, 9 months ago (2017-03-06 02:20:32 UTC) #38
Patti Lor
Thanks Trent for doing all that investigation! I'll land it as is then :)
3 years, 9 months ago (2017-03-06 22:52:30 UTC) #39
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/2713803002/100001
3 years, 9 months ago (2017-03-06 22:59:55 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/395107) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 9 months ago (2017-03-06 23:44:01 UTC) #43
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/2713803002/100001
3 years, 9 months ago (2017-03-07 00:29:05 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/378986)
3 years, 9 months ago (2017-03-07 03:03:38 UTC) #47
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/2713803002/120001
3 years, 9 months ago (2017-03-07 06:17:05 UTC) #50
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/379348)
3 years, 9 months ago (2017-03-07 08:20:41 UTC) #52
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/2713803002/120001
3 years, 9 months ago (2017-03-08 02:05:37 UTC) #54
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 03:28:26 UTC) #57
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/e05be844b2562f3c35ada23f782d...

Powered by Google App Engine
This is Rietveld 408576698