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

Issue 1460483003: Fix opaque frame app mode windows to have correct toolbar/content separator. (Closed)

Created:
5 years, 1 month ago by Peter Kasting
Modified:
5 years, 1 month 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

Fix opaque frame app mode windows to have correct toolbar/content separator. BUG=none TEST=On Windows XP, use "More tools->Add to desktop" and check "Open as window" to create an app shortcut. Then open it and ensure the title bar has a rounded-looking bottom and divider line above the content area, and doesn't just abruptly turn into the content. Committed: https://crrev.com/a962c414a493e21c092c1d8a9a649048c6f028eb Cr-Commit-Position: refs/heads/master@{#360422}

Patch Set 1 #

Patch Set 2 : Fix compile #

Total comments: 2

Patch Set 3 : Use toolbar's preferred size, not actual size. #

Patch Set 4 : Resync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -16 lines) Patch
M chrome/browser/ui/views/frame/opaque_browser_frame_view.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 2 3 5 chunks +15 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc View 4 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Peter Kasting
A screenshot comparing the new rendering (center) with the old rendering (left) and a popup ...
5 years, 1 month ago (2015-11-18 06:43:36 UTC) #2
sky
https://codereview.chromium.org/1460483003/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/1460483003/diff/20001/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc#newcode441 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc:441: !browser_view()->GetToolbarBounds().IsEmpty(); It seems like this is called from code ...
5 years, 1 month ago (2015-11-18 17:00:34 UTC) #3
Peter Kasting
PTAL. https://codereview.chromium.org/1460483003/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/1460483003/diff/20001/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc#newcode441 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc:441: !browser_view()->GetToolbarBounds().IsEmpty(); On 2015/11/18 17:00:34, sky wrote: > It ...
5 years, 1 month ago (2015-11-18 19:46:24 UTC) #4
sky
LGTM
5 years, 1 month ago (2015-11-18 21:04:23 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460483003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460483003/60001
5 years, 1 month ago (2015-11-18 21:05:26 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-18 21:48:47 UTC) #8
commit-bot: I haz the power
5 years, 1 month ago (2015-11-18 21:49:31 UTC) #9
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a962c414a493e21c092c1d8a9a649048c6f028eb
Cr-Commit-Position: refs/heads/master@{#360422}

Powered by Google App Engine
This is Rietveld 408576698