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

Issue 2237983002: Allow updating arc widget bounds in maximize/fullscreen state. (Closed)

Created:
4 years, 4 months ago by oshima
Modified:
4 years, 4 months ago
Reviewers:
reveman
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow updating arc widget bounds in maximize/fullscreen state. ARC window can be pillar/letterboxed in maximized state, and chrome needs to adjust its window to those sizes. BUG=634572 R=reveman@chromium.org TEST=WindowStateTest.AllowSetBoundsInMaximized Manually tested on minnie Committed: https://crrev.com/e68d9c3c4f704de541d5f796aec4c0bd82e7ee7b Cr-Commit-Position: refs/heads/master@{#412006}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 7

Patch Set 3 : addressed comments #

Patch Set 4 : remoevd debug code #

Total comments: 11

Patch Set 5 : . #

Patch Set 6 : Allow updating arc widget bounds in maximize/fullscreen state. #

Patch Set 7 : . #

Total comments: 2

Patch Set 8 #

Patch Set 9 #

Patch Set 10 : Allow updating arc widget bounds in maximize/fullscreen state. #

Total comments: 6

Patch Set 11 : addressed comments #

Patch Set 12 : Use black background #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -19 lines) Patch
M components/exo/shell_surface.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M components/exo/shell_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +38 lines, -19 lines 0 comments Download

Messages

Total messages: 44 (28 generated)
oshima
4 years, 4 months ago (2016-08-11 18:42:11 UTC) #2
reveman
have you verified that normal xdg clients like wayland-terminal still work properly? https://codereview.chromium.org/2237983002/diff/20001/ash/common/wm/window_state.h File ash/common/wm/window_state.h ...
4 years, 4 months ago (2016-08-11 19:07:26 UTC) #4
oshima
https://codereview.chromium.org/2237983002/diff/20001/ash/common/wm/window_state.h File ash/common/wm/window_state.h (right): https://codereview.chromium.org/2237983002/diff/20001/ash/common/wm/window_state.h#newcode295 ash/common/wm/window_state.h:295: allow_set_bounds_in_maximized_ = true; On 2016/08/11 19:07:25, reveman wrote: > ...
4 years, 4 months ago (2016-08-11 20:58:56 UTC) #9
oshima
please hold on. looks like test failures are real.
4 years, 4 months ago (2016-08-11 21:59:43 UTC) #12
oshima
Removed debug code I had (my bad). PTAL. I tested with wayland-terminal with this flag ...
4 years, 4 months ago (2016-08-11 22:48:21 UTC) #13
reveman
https://codereview.chromium.org/2237983002/diff/60001/ash/common/wm/window_state.h File ash/common/wm/window_state.h (right): https://codereview.chromium.org/2237983002/diff/60001/ash/common/wm/window_state.h#newcode294 ash/common/wm/window_state.h:294: void set_allow_set_bounds_in_maximized(bool value) { nit: ..when_maximized or in_maximized_mode/state https://codereview.chromium.org/2237983002/diff/60001/components/exo/shell_surface.cc ...
4 years, 4 months ago (2016-08-12 16:17:32 UTC) #19
oshima
https://codereview.chromium.org/2237983002/diff/60001/ash/common/wm/window_state.h File ash/common/wm/window_state.h (right): https://codereview.chromium.org/2237983002/diff/60001/ash/common/wm/window_state.h#newcode294 ash/common/wm/window_state.h:294: void set_allow_set_bounds_in_maximized(bool value) { On 2016/08/12 16:17:31, reveman wrote: ...
4 years, 4 months ago (2016-08-12 23:03:33 UTC) #20
reveman
https://codereview.chromium.org/2237983002/diff/60001/ash/common/wm/window_state.h File ash/common/wm/window_state.h (right): https://codereview.chromium.org/2237983002/diff/60001/ash/common/wm/window_state.h#newcode294 ash/common/wm/window_state.h:294: void set_allow_set_bounds_in_maximized(bool value) { On 2016/08/12 at 23:03:33, oshima ...
4 years, 4 months ago (2016-08-12 23:44:40 UTC) #22
oshima
https://codereview.chromium.org/2237983002/diff/60001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (left): https://codereview.chromium.org/2237983002/diff/60001/components/exo/shell_surface.cc#oldcode1156 components/exo/shell_surface.cc:1156: if (widget_->IsMaximized() || widget_->IsFullscreen() || IsResizing()) On 2016/08/12 23:44:40, ...
4 years, 4 months ago (2016-08-13 00:45:07 UTC) #23
reveman
On 2016/08/13 at 00:45:07, oshima wrote: > https://codereview.chromium.org/2237983002/diff/60001/components/exo/shell_surface.cc > File components/exo/shell_surface.cc (left): > > https://codereview.chromium.org/2237983002/diff/60001/components/exo/shell_surface.cc#oldcode1156 ...
4 years, 4 months ago (2016-08-13 01:18:02 UTC) #28
oshima
On 2016/08/13 01:18:02, reveman wrote: > On 2016/08/13 at 00:45:07, oshima wrote: > > > ...
4 years, 4 months ago (2016-08-15 16:14:31 UTC) #33
reveman
lgtm with nits https://codereview.chromium.org/2237983002/diff/230001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2237983002/diff/230001/components/exo/shell_surface.cc#newcode1164 components/exo/shell_surface.cc:1164: // isn't controlled by a clientt. ...
4 years, 4 months ago (2016-08-15 16:19:37 UTC) #34
oshima
https://codereview.chromium.org/2237983002/diff/230001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2237983002/diff/230001/components/exo/shell_surface.cc#newcode1164 components/exo/shell_surface.cc:1164: // isn't controlled by a clientt. On 2016/08/15 16:19:37, ...
4 years, 4 months ago (2016-08-15 17:27:04 UTC) #37
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/2237983002/250001
4 years, 4 months ago (2016-08-15 17:27:48 UTC) #40
commit-bot: I haz the power
Committed patchset #11 (id:250001)
4 years, 4 months ago (2016-08-15 18:58:18 UTC) #42
commit-bot: I haz the power
4 years, 4 months ago (2016-08-15 19:03:35 UTC) #44
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/e68d9c3c4f704de541d5f796aec4c0bd82e7ee7b
Cr-Commit-Position: refs/heads/master@{#412006}

Powered by Google App Engine
This is Rietveld 408576698