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

Issue 2337213002: CrOS Window cycle ui - set widget bounds with initparams to avoid extra (Closed)

Created:
4 years, 3 months ago by Evan Stade
Modified:
4 years, 3 months ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CrOS Window cycle ui - set widget bounds with initparams to avoid extra resizing. This also requires changing Widget::SetInitialBoundsForFramelessWindows, which inexplicably constrains the bounds to a rectangle that is smaller than the work area. BUG=646418 Committed: https://crrev.com/846a59b93f9911517c7aeb05b47af9b4c0cad175 Cr-Commit-Position: refs/heads/master@{#418446}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M ash/common/wm/window_cycle_list.cc View 1 chunk +4 lines, -4 lines 1 comment Download
M ui/views/widget/widget.cc View 1 chunk +1 line, -1 line 3 comments Download

Messages

Total messages: 15 (6 generated)
Evan Stade
https://codereview.chromium.org/2337213002/diff/1/ui/views/widget/widget.cc File ui/views/widget/widget.cc (right): https://codereview.chromium.org/2337213002/diff/1/ui/views/widget/widget.cc#newcode1459 ui/views/widget/widget.cc:1459: SetBounds(bounds); Does this make sense? An alternative would be ...
4 years, 3 months ago (2016-09-13 17:26:25 UTC) #2
sky
https://codereview.chromium.org/2337213002/diff/1/ash/common/wm/window_cycle_list.cc File ash/common/wm/window_cycle_list.cc (right): https://codereview.chromium.org/2337213002/diff/1/ash/common/wm/window_cycle_list.cc#newcode623 ash/common/wm/window_cycle_list.cc:623: screen_observer_.Add(display::Screen::GetScreen()); optional: if you're moving this around, how about ...
4 years, 3 months ago (2016-09-13 19:44:02 UTC) #3
Evan Stade
https://codereview.chromium.org/2337213002/diff/1/ui/views/widget/widget.cc File ui/views/widget/widget.cc (right): https://codereview.chromium.org/2337213002/diff/1/ui/views/widget/widget.cc#newcode1459 ui/views/widget/widget.cc:1459: SetBounds(bounds); On 2016/09/13 19:44:02, sky wrote: > On 2016/09/13 ...
4 years, 3 months ago (2016-09-13 21:59:33 UTC) #4
sky
On Tue, Sep 13, 2016 at 2:59 PM, <estade@chromium.org> wrote: > > https://codereview.chromium.org/2337213002/diff/1/ui/views/widget/widget.cc > File ...
4 years, 3 months ago (2016-09-13 23:36:23 UTC) #5
Evan Stade
On Tue, Sep 13, 2016 at 5:36 PM, Scott Violet <sky@chromium.org> wrote: > On Tue, ...
4 years, 3 months ago (2016-09-13 23:43:19 UTC) #6
sky
Turns out SetInitialBoundsForFramelessWindow is only called for non-windows. So, LGTM
4 years, 3 months ago (2016-09-13 23:56:52 UTC) #7
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/2337213002/1
4 years, 3 months ago (2016-09-14 00:05:53 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-14 01:21:36 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 01:23:33 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/846a59b93f9911517c7aeb05b47af9b4c0cad175
Cr-Commit-Position: refs/heads/master@{#418446}

Powered by Google App Engine
This is Rietveld 408576698