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

Issue 1209723004: win10: Fix various ui glitches (Closed)

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

Description

win10: Fix various ui glitches This addresses the most egregious problems so that we look more or less like a reasonable app on Win10. In particular, fixes a too-wide border, removing the rounded corners on the toolbar that don't work when there's no border (see 504044 for agreement from UX), and an ugly overhang in the non-client area in the top-left and top-right of the window. In case you're not familiar with Win10 UI style (I wasn't!) I put a composite of what standard apps plus before/after this patch here http://i.imgur.com/JxNJvBv.png . We aren't easily able to switch to a more "grey"-style title bar at the moment as that's reserved for Windows-store applications (plain Win32 apps like notepad and chrome always get the white title bar style). We might want to look into that in the future as it's pretty harsh, but at least we match the expected system behaviour this way. R=pkasting@chromium.org BUG=504044, 502001 Committed: https://crrev.com/48ddea097cd6bd2ef0fc4d133834b55d3b6d99fc Cr-Commit-Position: refs/heads/master@{#336438}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 10

Patch Set 3 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -39 lines) Patch
M chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc View 1 2 2 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.cc View 1 2 5 chunks +47 lines, -36 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
scottmg
5 years, 6 months ago (2015-06-25 01:02:35 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1209723004/20001
5 years, 6 months ago (2015-06-25 01:05:14 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-25 01:58:56 UTC) #6
scottmg
->sky would you mind taking a look?
5 years, 6 months ago (2015-06-25 23:22:11 UTC) #8
Peter Kasting
LGTM https://codereview.chromium.org/1209723004/diff/20001/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc File chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc (right): https://codereview.chromium.org/1209723004/diff/20001/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc#newcode347 chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc:347: if (base::win::GetVersion() >= base::win::VERSION_WIN10) { Nit: I think ...
5 years, 6 months ago (2015-06-25 23:34:12 UTC) #10
scottmg
Thanks! https://codereview.chromium.org/1209723004/diff/20001/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc File chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc (right): https://codereview.chromium.org/1209723004/diff/20001/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc#newcode347 chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc:347: if (base::win::GetVersion() >= base::win::VERSION_WIN10) { On 2015/06/25 23:34:12, ...
5 years, 5 months ago (2015-06-26 18:29:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1209723004/40001
5 years, 5 months ago (2015-06-26 18:34:35 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-06-26 19:16:27 UTC) #15
commit-bot: I haz the power
5 years, 5 months ago (2015-06-26 19:17:22 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/48ddea097cd6bd2ef0fc4d133834b55d3b6d99fc
Cr-Commit-Position: refs/heads/master@{#336438}

Powered by Google App Engine
This is Rietveld 408576698