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

Issue 1903223005: Fix for 593676 - Minimizes/eliminates momentary flash of Windows frame (Closed)

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

Description

This will reduce or eliminate the momentary display of the window frame when showing/hiding the window. It does this by adding/removing the frame extending into the client upon showing or hiding using DwmExtendFrameIntoClientArea, respectively. BUG=593676 Committed: https://crrev.com/03e3572cecc4f206b260dbeddf40172d46217617 Cr-Commit-Position: refs/heads/master@{#403046}

Patch Set 1 #

Patch Set 2 : Revert previous change. Modified code actually causing the issue #

Total comments: 1

Patch Set 3 : Better solution to minimize/eliminate 'ghost' frame when showing/hiding borderless window #

Total comments: 1

Patch Set 4 : nit-removal #

Total comments: 1

Patch Set 5 : nit; formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -7 lines) Patch
M ui/views/win/hwnd_message_handler.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M ui/views/win/hwnd_message_handler.cc View 1 2 3 3 chunks +16 lines, -7 lines 0 comments Download

Messages

Total messages: 31 (12 generated)
kylix_rd
4 years, 8 months ago (2016-04-21 20:09:24 UTC) #3
benwells
If this change is removing shadows for all chrome app frameless windows, I don't think ...
4 years, 8 months ago (2016-04-22 01:50:43 UTC) #4
kylix_rd
On 2016/04/22 01:50:43, benwells wrote: > If this change is removing shadows for all chrome ...
4 years, 8 months ago (2016-04-22 14:22:51 UTC) #7
kylix_rd
https://codereview.chromium.org/1903223005/diff/20001/ui/views/win/hwnd_message_handler.cc File ui/views/win/hwnd_message_handler.cc (right): https://codereview.chromium.org/1903223005/diff/20001/ui/views/win/hwnd_message_handler.cc#newcode2329 ui/views/win/hwnd_message_handler.cc:2329: MARGINS m = {1, 1, 1, 1}; I've uploaded ...
4 years, 8 months ago (2016-04-25 21:42:13 UTC) #8
kylix_rd
4 years, 8 months ago (2016-04-25 21:43:19 UTC) #10
sky
sky->ben
4 years, 8 months ago (2016-04-25 23:02:57 UTC) #12
kylix_rd
After sitting idle for a couple of months, I'd thought of another possible solution to ...
4 years, 5 months ago (2016-06-28 19:27:19 UTC) #13
benwells
On 2016/06/28 19:27:19, kylix_rd wrote: > After sitting idle for a couple of months, I'd ...
4 years, 5 months ago (2016-06-28 23:32:05 UTC) #14
kylix_rd
On 2016/06/28 23:32:05, benwells wrote: > Seems legit, but you might want to find a ...
4 years, 5 months ago (2016-06-29 22:05:11 UTC) #15
benwells
On 2016/06/29 22:05:11, kylix_rd wrote: > On 2016/06/28 23:32:05, benwells wrote: > > Seems legit, ...
4 years, 5 months ago (2016-06-29 22:18:55 UTC) #16
kylix_rd
On 2016/06/29 22:18:55, benwells wrote: > On 2016/06/29 22:05:11, kylix_rd wrote: > > On 2016/06/28 ...
4 years, 5 months ago (2016-06-29 22:31:42 UTC) #17
scottmg
lgtm, but ananta is hwnd_message_handler owner even though he's not listed there. Please update the ...
4 years, 5 months ago (2016-06-29 22:35:38 UTC) #19
scottmg
On 2016/06/29 22:35:38, scottmg wrote: > lgtm, but ananta is hwnd_message_handler owner even though he's ...
4 years, 5 months ago (2016-06-29 22:35:58 UTC) #20
kylix_rd
On 2016/06/29 22:35:38, scottmg wrote: > lgtm, but ananta is hwnd_message_handler owner even though he's ...
4 years, 5 months ago (2016-06-29 22:38:10 UTC) #21
sky
I added ben@ to the review as I believe he authored the lines you're changing. ...
4 years, 5 months ago (2016-06-29 23:55:25 UTC) #23
Ben Goodger (Google)
lgtm https://codereview.chromium.org/1903223005/diff/60001/ui/views/win/hwnd_message_handler.h File ui/views/win/hwnd_message_handler.h (right): https://codereview.chromium.org/1903223005/diff/60001/ui/views/win/hwnd_message_handler.h#newcode214 ui/views/win/hwnd_message_handler.h:214: enum class DwmFrameState {OFF, ON}; nit: space between ...
4 years, 5 months ago (2016-06-30 00:01:01 UTC) #24
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/1903223005/80001
4 years, 5 months ago (2016-06-30 00:10:46 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-06-30 01:03:15 UTC) #29
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 01:05:24 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/03e3572cecc4f206b260dbeddf40172d46217617
Cr-Commit-Position: refs/heads/master@{#403046}

Powered by Google App Engine
This is Rietveld 408576698