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

Issue 1682373002: Misc. small changes in preparation for moving popup mode edge drawing. (Closed)

Created:
4 years, 10 months ago by Peter Kasting
Modified:
4 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Misc. small changes in preparation for moving popup mode edge drawing. * Comment/variable name changes for clarity. * Remove code to paint toolbar top separator for glass when the toolbar is invisible. AFAICT this never has a visible effect. * Modify how opaque frames layout popups so the responsibility to reserve extra space lies with OpaqueBrowserFrameViewLayout, not ToolbarView. * Pass width/height instead of right/bottom to OpaqueBrowserFrameView::FillClientEdgeRects(), which will make it a bit easier to call this from another place in the future. * Move static const declaration to match style guide. * Declare the location bar border color as a file-scope constant in preparation for using it in more places. BUG=none TEST=none R=sky@chromium.org Committed: https://crrev.com/dca8d578aa3ab16d5153fcd0c1220bc4e6fcc2e3 Cr-Commit-Position: refs/heads/master@{#375151}

Patch Set 1 #

Patch Set 2 : Fix CrOS build #

Total comments: 6

Patch Set 3 : Move layout responsibility out of ToolbarView #

Patch Set 4 : Resync #

Patch Set 5 : Fix build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -60 lines) Patch
M chrome/browser/ui/layout_constants.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 2 3 4 chunks +20 lines, -19 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc View 1 2 4 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 4 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.cc View 1 2 3 1 chunk +2 lines, -7 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
Peter Kasting
4 years, 10 months ago (2016-02-10 07:07:53 UTC) #3
sky
https://codereview.chromium.org/1682373002/diff/20001/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc File chrome/browser/ui/views/frame/opaque_browser_frame_view.cc (right): https://codereview.chromium.org/1682373002/diff/20001/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc#newcode782 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc:782: int img_h = bottom - img_y; nit: const to ...
4 years, 10 months ago (2016-02-10 17:22:35 UTC) #4
Peter Kasting
PTAL. I also reworked how popup layout works for opaque frames based on a better ...
4 years, 10 months ago (2016-02-11 06:02:32 UTC) #6
sky
LGTM
4 years, 10 months ago (2016-02-11 16:31:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682373002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682373002/60001
4 years, 10 months ago (2016-02-12 02:21:00 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/115355)
4 years, 10 months ago (2016-02-12 02:39:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682373002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682373002/80001
4 years, 10 months ago (2016-02-12 06:46:29 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/124517)
4 years, 10 months ago (2016-02-12 08:09:49 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682373002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682373002/80001
4 years, 10 months ago (2016-02-12 08:19:32 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/124540)
4 years, 10 months ago (2016-02-12 08:48:33 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682373002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682373002/80001
4 years, 10 months ago (2016-02-12 09:05:51 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/124557)
4 years, 10 months ago (2016-02-12 09:37:42 UTC) #25
Peter Kasting
Committed patchset #5 (id:80001) manually as dca8d578aa3ab16d5153fcd0c1220bc4e6fcc2e3 (presubmit successful).
4 years, 10 months ago (2016-02-12 09:42:08 UTC) #27
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:42:27 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/dca8d578aa3ab16d5153fcd0c1220bc4e6fcc2e3
Cr-Commit-Position: refs/heads/master@{#375151}

Powered by Google App Engine
This is Rietveld 408576698