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

Issue 316693002: Reland Window Control Animations for TouchView (Closed)

Created:
6 years, 6 months ago by jonross
Modified:
6 years, 6 months ago
Reviewers:
flackr, James Cook, oshima, sky
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Reland Window Control Animations for TouchView The original change contained a use-after-free bug. This was caused by window crossfade animation during maximizing, combined with input event processing. The crossfade would take the current layer and delete it. However the next input event to the window tree would attempt to access the now deleted layer. Original Code Review: https://codereview.chromium.org/271913002/ Revert Review: https://codereview.chromium.org/309973002/ Revert "Revert of Animate window control changes in TouchView (https://codereview.chromium.org/271913002/)" This reverts commit 8863218a5e97c4914a5a03df59e9d5d17f53a2cb. TBR=jamescook@chromium.org TEST=FrameCaptionButtonContainerViewTest.AnimationUpdatesLayerTree BUG=363717 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276782

Patch Set 1 #

Patch Set 2 : Fix and Unit Test #

Total comments: 8

Patch Set 3 : Make buttons layer delegates #

Total comments: 2

Patch Set 4 : Rebase #

Messages

Total messages: 22 (0 generated)
jonross
This is a fix for the memory leak found by ASan. I ran both interactive_ui_tests ...
6 years, 6 months ago (2014-06-04 21:07:40 UTC) #1
flackr
https://codereview.chromium.org/316693002/diff/40001/ash/frame/caption_buttons/frame_caption_button_container_view.cc File ash/frame/caption_buttons/frame_caption_button_container_view.cc (right): https://codereview.chromium.org/316693002/diff/40001/ash/frame/caption_buttons/frame_caption_button_container_view.cc#newcode423 ash/frame/caption_buttons/frame_caption_button_container_view.cc:423: close_button_->GetWidget()->UpdateRootLayers(); I think it'd make more sense for FrameCaptionButton ...
6 years, 6 months ago (2014-06-04 22:41:43 UTC) #2
jonross
https://codereview.chromium.org/316693002/diff/40001/ash/frame/caption_buttons/frame_caption_button_container_view.cc File ash/frame/caption_buttons/frame_caption_button_container_view.cc (right): https://codereview.chromium.org/316693002/diff/40001/ash/frame/caption_buttons/frame_caption_button_container_view.cc#newcode423 ash/frame/caption_buttons/frame_caption_button_container_view.cc:423: close_button_->GetWidget()->UpdateRootLayers(); On 2014/06/04 22:41:44, flackr wrote: > I think ...
6 years, 6 months ago (2014-06-05 15:16:39 UTC) #3
flackr
nit: Update your TEST= line to name the exact tests which verify the CL Otherwise ...
6 years, 6 months ago (2014-06-05 15:24:38 UTC) #4
jonross
Hi Oshima, This is a reland of the window control animations. The first patch is ...
6 years, 6 months ago (2014-06-05 15:33:18 UTC) #5
James Cook
c/b/ui/views/frame still LGTM
6 years, 6 months ago (2014-06-05 16:49:13 UTC) #6
oshima
+ sky@ for question about RecreateLayer behavior in views. https://codereview.chromium.org/316693002/diff/60001/ash/frame/caption_buttons/frame_caption_button.cc File ash/frame/caption_buttons/frame_caption_button.cc (right): https://codereview.chromium.org/316693002/diff/60001/ash/frame/caption_buttons/frame_caption_button.cc#newcode186 ash/frame/caption_buttons/frame_caption_button.cc:186: ...
6 years, 6 months ago (2014-06-06 17:01:24 UTC) #7
sky
https://codereview.chromium.org/316693002/diff/60001/ash/frame/caption_buttons/frame_caption_button.cc File ash/frame/caption_buttons/frame_caption_button.cc (right): https://codereview.chromium.org/316693002/diff/60001/ash/frame/caption_buttons/frame_caption_button.cc#newcode186 ash/frame/caption_buttons/frame_caption_button.cc:186: } On 2014/06/06 17:01:24, oshima wrote: > I wonder ...
6 years, 6 months ago (2014-06-06 19:45:15 UTC) #8
oshima
by the way, can you update the issue description? I believe it was use-after-free, not ...
6 years, 6 months ago (2014-06-06 20:56:51 UTC) #9
jonross
On 2014/06/06 20:56:51, oshima wrote: > by the way, can you update the issue description? ...
6 years, 6 months ago (2014-06-11 16:40:50 UTC) #10
oshima
On 2014/06/11 16:40:50, jonross wrote: > On 2014/06/06 20:56:51, oshima wrote: > > by the ...
6 years, 6 months ago (2014-06-11 18:34:56 UTC) #11
jonross
On 2014/06/11 18:34:56, oshima wrote: > On 2014/06/11 16:40:50, jonross wrote: > > On 2014/06/06 ...
6 years, 6 months ago (2014-06-11 20:36:51 UTC) #12
oshima
On 2014/06/11 20:36:51, jonross wrote: > On 2014/06/11 18:34:56, oshima wrote: > > On 2014/06/11 ...
6 years, 6 months ago (2014-06-11 20:58:57 UTC) #13
jonross
The CQ bit was checked by jonross@chromium.org
6 years, 6 months ago (2014-06-11 21:03:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jonross@chromium.org/316693002/60001
6 years, 6 months ago (2014-06-11 21:04:54 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 21:31:02 UTC) #16
jonross
The CQ bit was unchecked by jonross@chromium.org
6 years, 6 months ago (2014-06-11 21:32:10 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 21:34:05 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_compile_dbg/builds/31362) linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/26630) mac_gpu ...
6 years, 6 months ago (2014-06-11 21:34:05 UTC) #19
jonross
The CQ bit was checked by jonross@chromium.org
6 years, 6 months ago (2014-06-12 15:14:51 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jonross@chromium.org/316693002/80001
6 years, 6 months ago (2014-06-12 15:18:01 UTC) #21
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 20:06:06 UTC) #22
Message was sent while issue was closed.
Change committed as 276782

Powered by Google App Engine
This is Rietveld 408576698