summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa
diff options
context:
space:
mode:
authorBen Wells <benwells@chromium.org>2015-08-06 14:23:26 +1000
committerBen Wells <benwells@chromium.org>2015-08-06 04:24:51 +0000
commit3e0f7f551a91b2e1af0714858f52cf5d86f026f5 (patch)
tree06eb596cc5592968aa8cacf6b43d6e43b361254c /chrome/browser/ui/cocoa
parentacdf54994aff0f5f994d7f7113e9572d10e93d46 (diff)
downloadchromium_src-3e0f7f551a91b2e1af0714858f52cf5d86f026f5.zip
chromium_src-3e0f7f551a91b2e1af0714858f52cf5d86f026f5.tar.gz
chromium_src-3e0f7f551a91b2e1af0714858f52cf5d86f026f5.tar.bz2
Remove gap in ChromeOS hosted app frames which are showing the location.
For security reasons, hosted apps which have navigated away from their starting origin show the origin. On ChromeOS this caused a bug where a 2 pixel transparent gap was created between the frame and the location bar. This was because the for this type of frame, the toolbar was positioned to be calculated using the HeaderHeightForPainting. However the HeaderHeightForPainting was adjusted prior to the toolbar being positioned to account for the toolbar not painting the top two rows of pixels. The fix is to position the toolbar relative to the base height of the frame. TBR=sky@chromium.org BUG=508043 Review URL: https://codereview.chromium.org/1240733003 Cr-Commit-Position: refs/heads/master@{#339581} (cherry picked from commit cb03d6cb0f306228a7b7e3e4dfc1188d49b16556) Review URL: https://codereview.chromium.org/1272173003 . Cr-Commit-Position: refs/branch-heads/2454@{#243} Cr-Branched-From: 12bfc3360892ec53cd00fc239a47e5298beb063b-refs/heads/master@{#338390}
Diffstat (limited to 'chrome/browser/ui/cocoa')
0 files changed, 0 insertions, 0 deletions