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

Issue 464163005: athena: Fix switching to a window of a different size. (Closed)

Created:
6 years, 4 months ago by sadrul
Modified:
6 years, 4 months ago
Reviewers:
oshima
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

athena: Fix switching to a window of a different size. When title-dragging to switch to a window that is of a different size (e.g. because it the new window was split), then make sure the window is positioned correclty during the title-drag gesture, and sized correctly at the end of the gesture. Also make sure that the window that the user switched away from is hidden after the gesture. BUG=none R=oshima@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290950

Patch Set 1 #

Total comments: 6

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -16 lines) Patch
M athena/wm/window_manager_impl.cc View 1 7 chunks +43 lines, -9 lines 0 comments Download
M athena/wm/window_manager_unittest.cc View 1 2 chunks +14 lines, -0 lines 0 comments Download
M athena/wm/window_overview_mode.cc View 1 chunk +3 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sadrul
6 years, 4 months ago (2014-08-19 20:21:23 UTC) #1
oshima
lgtm with nits and q https://codereview.chromium.org/464163005/diff/1/athena/wm/window_manager_impl.cc File athena/wm/window_manager_impl.cc (right): https://codereview.chromium.org/464163005/diff/1/athena/wm/window_manager_impl.cc#newcode280 athena/wm/window_manager_impl.cc:280: dx += (window->bounds().width() - ...
6 years, 4 months ago (2014-08-20 13:41:59 UTC) #2
sadrul
https://codereview.chromium.org/464163005/diff/1/athena/wm/window_manager_impl.cc File athena/wm/window_manager_impl.cc (right): https://codereview.chromium.org/464163005/diff/1/athena/wm/window_manager_impl.cc#newcode280 athena/wm/window_manager_impl.cc:280: dx += (window->bounds().width() - next_window->bounds().width()) / 2; On 2014/08/20 ...
6 years, 4 months ago (2014-08-20 22:34:25 UTC) #3
sadrul
6 years, 4 months ago (2014-08-20 23:44:45 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as 290950 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698