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

Issue 28338: Make Chromium windows not hide auto-hide taskbars.... (Closed)

Created:
11 years, 9 months ago by Peter Kasting
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make Chromium windows not hide auto-hide taskbars. There are a few caveats here: * On Aero glass, if the auto-hide taskbar is at the top of the screen, we get one row of nonclient pixels along the bottom of the screen (not too noticeable for light-colored pages, looks a bit odd with a dark page). I can't find a way around this. * Switching between fullscreen and normal mode can leave things a bit confused until you click another app and then reactivate Chromium. This seems to happen with other applications too (e.g. Firefox fullscreen mode) so I'm not too worried. * Chromium does not deal well with toggling the taskbar's auto-hide setting (or, I think, its position?) unless you restore and remaximize the window. I tried to fix this via modified handling of WM_SETTINGCHANGE but only made things worse and so gave up. BUG=20 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=10845

Patch Set 1 #

Total comments: 8

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -53 lines) Patch
M chrome/browser/views/frame/browser_frame.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/frame/browser_frame.cc View 3 chunks +44 lines, -14 lines 0 comments Download
M chrome/browser/views/frame/glass_browser_frame_view.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/frame/glass_browser_frame_view.cc View 4 chunks +17 lines, -10 lines 0 comments Download
M chrome/browser/views/frame/opaque_browser_frame_view.cc View 3 chunks +6 lines, -11 lines 0 comments Download
M chrome/common/win_util.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/common/win_util.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/views/window.cc View 2 chunks +29 lines, -16 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Peter Kasting
This patch will be out-of-date once Ben lands his frame reorg, but it's reviewable as-is; ...
11 years, 9 months ago (2009-03-02 23:23:46 UTC) #1
amit
very nice! http://codereview.chromium.org/28338/diff/1/6 File chrome/browser/views/frame/aero_glass_frame.cc (right): http://codereview.chromium.org/28338/diff/1/6#newcode156 Line 156: reinterpret_cast<RECT*>(l_param); Nit: in both cases this ...
11 years, 9 months ago (2009-03-03 19:13:43 UTC) #2
Peter Kasting
New snap uploaded that syncs with Ben's changes. http://codereview.chromium.org/28338/diff/1/6 File chrome/browser/views/frame/aero_glass_frame.cc (right): http://codereview.chromium.org/28338/diff/1/6#newcode156 Line 156: ...
11 years, 9 months ago (2009-03-03 22:06:03 UTC) #3
amit
lgtm
11 years, 9 months ago (2009-03-03 22:18:08 UTC) #4
Peter Kasting
11 years, 9 months ago (2009-03-04 00:39:11 UTC) #5
BTW, because of tree craziness + deadlines, and amit's LGTM, I landed this; but
I will certainly address any comments from Ben in a followup.

Powered by Google App Engine
This is Rietveld 408576698