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

Issue 2972963004: Another attempt at fixing the fullscreen issues with Chrome. (Closed)

Created:
3 years, 5 months ago by ananta
Modified:
3 years, 5 months ago
Reviewers:
msw, sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Another attempt at fixing the fullscreen issues with Chrome. The ITaskbarList2 shell interface provides a way to mark a window as fullscreen. As per msdn https://msdn.microsoft.com/en-us/library/bb774640(v=VS.85).aspx the MarkFullscreenWindow() method on this interface when called for a fullscreen window ensures that the shell moves the taskbar to the bottom of the ZOrder when the window is active. When the window is not fullscreen, it fallsback to its heuristics which include looking at the styles of the window, whether it is maximized etc, which sadly means that a non fullscreen window could be treated as a fullscreen window. In any case this should hopefully help us make incremental progress on this issue which has been affecting users for a long time. BUG=604359 Review-Url: https://codereview.chromium.org/2972963004 Cr-Commit-Position: refs/heads/master@{#484753} Committed: https://chromium.googlesource.com/chromium/src/+/9c35b80be7b82051abec46fabdcdef6be4b214a2

Patch Set 1 #

Patch Set 2 : Rephrase comment #

Total comments: 14

Patch Set 3 : Address review comments #

Total comments: 4

Patch Set 4 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -1 line) Patch
M ui/views/win/fullscreen_handler.h View 2 chunks +4 lines, -1 line 0 comments Download
M ui/views/win/fullscreen_handler.cc View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (19 generated)
ananta
3 years, 5 months ago (2017-07-06 13:07:19 UTC) #2
ananta
+msw
3 years, 5 months ago (2017-07-06 18:07:49 UTC) #9
msw
lgtm with minor nits and some questions. It seems like this can't hurt. https://codereview.chromium.org/2972963004/diff/20001/ui/views/win/fullscreen_handler.cc File ...
3 years, 5 months ago (2017-07-06 18:32:56 UTC) #10
ananta
https://codereview.chromium.org/2972963004/diff/20001/ui/views/win/fullscreen_handler.cc File ui/views/win/fullscreen_handler.cc (right): https://codereview.chromium.org/2972963004/diff/20001/ui/views/win/fullscreen_handler.cc#newcode29 ui/views/win/fullscreen_handler.cc:29: if (!task_bar_list_) { On 2017/07/06 18:32:55, msw wrote: > ...
3 years, 5 months ago (2017-07-06 18:44:52 UTC) #11
msw
Still lgtm with nits. Hopefully this helps, at least on click to activate. https://codereview.chromium.org/2972963004/diff/40001/ui/views/win/fullscreen_handler.cc File ...
3 years, 5 months ago (2017-07-06 19:33:52 UTC) #14
ananta
https://codereview.chromium.org/2972963004/diff/40001/ui/views/win/fullscreen_handler.cc File ui/views/win/fullscreen_handler.cc (right): https://codereview.chromium.org/2972963004/diff/40001/ui/views/win/fullscreen_handler.cc#newcode42 ui/views/win/fullscreen_handler.cc:42: if (!task_bar_list_) { On 2017/07/06 19:33:52, msw wrote: > ...
3 years, 5 months ago (2017-07-06 20:03:17 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2972963004/60001
3 years, 5 months ago (2017-07-06 21:51:05 UTC) #24
commit-bot: I haz the power
3 years, 5 months ago (2017-07-06 22:11:09 UTC) #27
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/9c35b80be7b82051abec46fabdcd...

Powered by Google App Engine
This is Rietveld 408576698