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

Issue 513313003: Fix crash when using title drag on a window opened while split view is active (Closed)

Created:
6 years, 3 months ago by pkotwicz
Modified:
6 years, 3 months ago
Reviewers:
sadrul, oshima, mfomitchev
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix crash when using title drag on a window opened while split view is active. This CL also centralizes setting the activity's bounds and transform while in split view to SplitViewController::UpdateLayout(). In particular, the bounds of an activity are now correct even if it is opened while some other activity is animating into split view BUG=405964 TEST=WindowManagerTest.NewWindowBounds Committed: https://crrev.com/be1f70ab8f61124877c69378dfce860ed8786deb Cr-Commit-Position: refs/heads/master@{#293019}

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Total comments: 3

Patch Set 6 : #

Total comments: 14

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -73 lines) Patch
M athena/wm/split_view_controller.h View 1 2 3 4 5 6 2 chunks +9 lines, -7 lines 0 comments Download
M athena/wm/split_view_controller.cc View 1 2 3 4 5 2 chunks +61 lines, -56 lines 0 comments Download
M athena/wm/window_manager_impl.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M athena/wm/window_manager_unittest.cc View 1 2 3 4 5 6 3 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 27 (3 generated)
pkotwicz
pkotwicz@chromium.org changed reviewers: + sadrul@chromium.org
6 years, 3 months ago (2014-08-28 22:03:36 UTC) #1
pkotwicz
Sadrul, PTAL https://codereview.chromium.org/513313003/diff/1/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (left): https://codereview.chromium.org/513313003/diff/1/athena/wm/split_view_controller.cc#oldcode207 athena/wm/split_view_controller.cc:207: left_window_->Hide(); I couldn't figure out why the ...
6 years, 3 months ago (2014-08-28 22:03:45 UTC) #2
sadrul
When using bezel-gesture to switch between windows (instead of going into split view), we should ...
6 years, 3 months ago (2014-08-29 13:31:30 UTC) #3
pkotwicz
Patchset #2 (id:20001) has been deleted
6 years, 3 months ago (2014-08-29 14:32:27 UTC) #4
pkotwicz
Sadrul, can you please take another look? https://codereview.chromium.org/513313003/diff/1/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (left): https://codereview.chromium.org/513313003/diff/1/athena/wm/split_view_controller.cc#oldcode207 athena/wm/split_view_controller.cc:207: left_window_->Hide(); I ...
6 years, 3 months ago (2014-08-29 14:44:46 UTC) #5
sadrul
https://codereview.chromium.org/513313003/diff/1/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (left): https://codereview.chromium.org/513313003/diff/1/athena/wm/split_view_controller.cc#oldcode207 athena/wm/split_view_controller.cc:207: left_window_->Hide(); On 2014/08/29 14:44:45, pkotwicz wrote: > I have ...
6 years, 3 months ago (2014-08-29 15:06:02 UTC) #6
pkotwicz
Sadrul, can you please take another look? https://codereview.chromium.org/513313003/diff/1/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (left): https://codereview.chromium.org/513313003/diff/1/athena/wm/split_view_controller.cc#oldcode207 athena/wm/split_view_controller.cc:207: left_window_->Hide(); I ...
6 years, 3 months ago (2014-08-29 18:07:42 UTC) #7
sadrul
https://codereview.chromium.org/513313003/diff/80001/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (right): https://codereview.chromium.org/513313003/diff/80001/athena/wm/split_view_controller.cc#newcode155 athena/wm/split_view_controller.cc:155: right_window_->Hide(); Can you move this code with the block ...
6 years, 3 months ago (2014-08-29 19:53:53 UTC) #8
pkotwicz
Sadrul, can you please take another look? https://codereview.chromium.org/513313003/diff/80001/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (right): https://codereview.chromium.org/513313003/diff/80001/athena/wm/split_view_controller.cc#newcode155 athena/wm/split_view_controller.cc:155: right_window_->Hide(); On ...
6 years, 3 months ago (2014-08-29 20:18:41 UTC) #9
sadrul
lgtm
6 years, 3 months ago (2014-08-29 20:20:24 UTC) #10
pkotwicz
Oshima for OWNERs
6 years, 3 months ago (2014-08-29 20:36:17 UTC) #12
oshima
nits and one q. https://codereview.chromium.org/513313003/diff/100001/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (right): https://codereview.chromium.org/513313003/diff/100001/athena/wm/split_view_controller.cc#newcode148 athena/wm/split_view_controller.cc:148: return; can this happen? https://codereview.chromium.org/513313003/diff/100001/athena/wm/split_view_controller.h ...
6 years, 3 months ago (2014-08-29 21:57:06 UTC) #13
pkotwicz
Oshima, can you please take another look? Adding mfomitchev@ as a reviewer too per sadrul@'s ...
6 years, 3 months ago (2014-08-29 23:23:22 UTC) #15
oshima
lgtm
6 years, 3 months ago (2014-08-29 23:33:35 UTC) #16
pkotwicz
mfomitchev@ Ping?
6 years, 3 months ago (2014-09-02 15:40:33 UTC) #17
mfomitchev
Sorry for the delay. https://codereview.chromium.org/513313003/diff/120001/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (right): https://codereview.chromium.org/513313003/diff/120001/athena/wm/split_view_controller.cc#newcode203 athena/wm/split_view_controller.cc:203: base::Bind(&SplitViewController::OnAnimationCompleted, Is it guaranteed that ...
6 years, 3 months ago (2014-09-02 16:23:28 UTC) #18
pkotwicz
https://codereview.chromium.org/513313003/diff/120001/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (right): https://codereview.chromium.org/513313003/diff/120001/athena/wm/split_view_controller.cc#newcode203 athena/wm/split_view_controller.cc:203: base::Bind(&SplitViewController::OnAnimationCompleted, It is not guaranteed. However, in practice it ...
6 years, 3 months ago (2014-09-02 17:54:35 UTC) #19
mfomitchev
https://codereview.chromium.org/513313003/diff/120001/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (right): https://codereview.chromium.org/513313003/diff/120001/athena/wm/split_view_controller.cc#newcode203 athena/wm/split_view_controller.cc:203: base::Bind(&SplitViewController::OnAnimationCompleted, What if we are switching to the next ...
6 years, 3 months ago (2014-09-02 18:09:47 UTC) #20
pkotwicz
https://codereview.chromium.org/513313003/diff/120001/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (right): https://codereview.chromium.org/513313003/diff/120001/athena/wm/split_view_controller.cc#newcode203 athena/wm/split_view_controller.cc:203: base::Bind(&SplitViewController::OnAnimationCompleted, Calling aura::Window::SetTransform() will terminate the transform animation on ...
6 years, 3 months ago (2014-09-02 18:55:38 UTC) #21
mfomitchev
LGTM https://codereview.chromium.org/513313003/diff/120001/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (right): https://codereview.chromium.org/513313003/diff/120001/athena/wm/split_view_controller.cc#newcode203 athena/wm/split_view_controller.cc:203: base::Bind(&SplitViewController::OnAnimationCompleted, Ok then, great!
6 years, 3 months ago (2014-09-02 18:59:55 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/513313003/140001
6 years, 3 months ago (2014-09-02 20:41:28 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-09-02 21:44:25 UTC) #25
commit-bot: I haz the power
Committed patchset #7 (id:140001) as 7fd49ba141106bb857b20d4aaee154d1dbb26954
6 years, 3 months ago (2014-09-02 23:18:49 UTC) #26
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:21:47 UTC) #27
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/be1f70ab8f61124877c69378dfce860ed8786deb
Cr-Commit-Position: refs/heads/master@{#293019}

Powered by Google App Engine
This is Rietveld 408576698