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

Issue 2555623002: Last round of cleaning up MD layout constants. (Closed)

Created:
4 years ago by Evan Stade
Modified:
4 years ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Last round of cleaning up MD layout constants. BUG=660445 Committed: https://crrev.com/2c4e98197eefddf7f25cc42e6142c80a5e500323 Cr-Commit-Position: refs/heads/master@{#438014}

Patch Set 1 #

Total comments: 4

Patch Set 2 : experiment #

Patch Set 3 : pkasting review, iwyu #

Patch Set 4 : rebase #

Total comments: 44

Patch Set 5 : pkasting review, remove debug code, rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -235 lines) Patch
M chrome/browser/ui/layout_constants.h View 1 2 2 chunks +0 lines, -38 lines 0 comments Download
M chrome/browser/ui/layout_constants.cc View 1 2 1 chunk +15 lines, -59 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc View 1 2 3 4 3 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_mus.cc View 1 2 3 4 3 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_layout.cc View 1 2 3 4 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.cc View 1 2 3 4 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/background_with_1_px_border.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/background_with_1_px_border.cc View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/location_bar/content_setting_image_view.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc View 1 2 3 4 5 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/location_bar/icon_label_bubble_view_unittest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/keyword_hint_view.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 9 chunks +23 lines, -20 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_result_view.cc View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 1 2 3 4 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.cc View 1 2 3 4 13 chunks +19 lines, -28 lines 0 comments Download
M chrome/browser/ui/views/toolbar/app_menu_button.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_button.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_button.cc View 1 2 3 4 3 chunks +5 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.cc View 3 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 33 (24 generated)
Evan Stade
4 years ago (2016-12-06 00:11:23 UTC) #4
Peter Kasting
https://codereview.chromium.org/2555623002/diff/1/chrome/browser/ui/layout_constants.cc File chrome/browser/ui/layout_constants.cc (right): https://codereview.chromium.org/2555623002/diff/1/chrome/browser/ui/layout_constants.cc#newcode16 chrome/browser/ui/layout_constants.cc:16: return 4; Usually with these constants that don't depend ...
4 years ago (2016-12-06 04:12:24 UTC) #7
Evan Stade
https://codereview.chromium.org/2555623002/diff/1/chrome/browser/ui/layout_constants.cc File chrome/browser/ui/layout_constants.cc (right): https://codereview.chromium.org/2555623002/diff/1/chrome/browser/ui/layout_constants.cc#newcode16 chrome/browser/ui/layout_constants.cc:16: return 4; On 2016/12/06 04:12:24, Peter Kasting wrote: > ...
4 years ago (2016-12-08 15:34:44 UTC) #20
Peter Kasting
My only concern is the toolbar_button.cc changes. https://codereview.chromium.org/2555623002/diff/60001/chrome/browser/ui/views/frame/browser_non_client_frame_view.h File chrome/browser/ui/views/frame/browser_non_client_frame_view.h (right): https://codereview.chromium.org/2555623002/diff/60001/chrome/browser/ui/views/frame/browser_non_client_frame_view.h#newcode68 chrome/browser/ui/views/frame/browser_non_client_frame_view.h:68: static constexpr ...
4 years ago (2016-12-08 20:57:50 UTC) #21
Evan Stade
thanks for your thoroughness. https://codereview.chromium.org/2555623002/diff/60001/chrome/browser/ui/views/frame/browser_non_client_frame_view.h File chrome/browser/ui/views/frame/browser_non_client_frame_view.h (right): https://codereview.chromium.org/2555623002/diff/60001/chrome/browser/ui/views/frame/browser_non_client_frame_view.h#newcode68 chrome/browser/ui/views/frame/browser_non_client_frame_view.h:68: static constexpr int kAvatarIconPadding = ...
4 years ago (2016-12-13 01:31:20 UTC) #22
Peter Kasting
LGTM
4 years ago (2016-12-13 01:40:01 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/2555623002/80001
4 years ago (2016-12-13 01:45:51 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-13 03:09:09 UTC) #31
commit-bot: I haz the power
4 years ago (2016-12-13 03:10:59 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2c4e98197eefddf7f25cc42e6142c80a5e500323
Cr-Commit-Position: refs/heads/master@{#438014}

Powered by Google App Engine
This is Rietveld 408576698