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

Issue 8700013: Release aura::Desktop event handler windows on detaching an ancestor window. (Closed)

Created:
9 years ago by flackr
Modified:
9 years ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, sky, Ben Goodger (Google)
Visibility:
Public.

Description

Release aura::Desktop event handler windows on detaching an ancestor window. BUG=105443 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112236

Patch Set 1 #

Patch Set 2 : Comment block of methods. #

Total comments: 4

Patch Set 3 : Merge with trunk. #

Patch Set 4 : Fix capture_window check to be consistent with previous check. #

Patch Set 5 : Move IsAncestor method to Window::Contains. #

Patch Set 6 : Add unit test for Window::Contains. #

Total comments: 2

Patch Set 7 : Use parent_ to access parent. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -9 lines) Patch
M ui/aura/desktop.cc View 1 2 3 4 1 chunk +12 lines, -9 lines 0 comments Download
M ui/aura/window.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ui/aura/window.cc View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M ui/aura/window_unittest.cc View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
flackr
9 years ago (2011-11-25 22:03:44 UTC) #1
sadrul
LGTM. (you will need OWNERS)
9 years ago (2011-11-26 20:28:53 UTC) #2
flackr
+OWNERS: ben or sky, please take a look, thanks!
9 years ago (2011-11-27 00:44:42 UTC) #3
flackr
+sky, can you take a look?
9 years ago (2011-11-28 15:50:49 UTC) #4
sky
http://codereview.chromium.org/8700013/diff/1001/ui/aura/desktop.cc File ui/aura/desktop.cc (right): http://codereview.chromium.org/8700013/diff/1001/ui/aura/desktop.cc#newcode543 ui/aura/desktop.cc:543: if (IsAncestor(detached, capture_window_) && capture_window_ != this) Is the ...
9 years ago (2011-11-28 17:20:22 UTC) #5
Ben Goodger (Google)
Don't forget to add a unittest for Contains() also. http://codereview.chromium.org/8700013/diff/1001/ui/aura/desktop.cc File ui/aura/desktop.cc (right): http://codereview.chromium.org/8700013/diff/1001/ui/aura/desktop.cc#newcode107 ui/aura/desktop.cc:107: ...
9 years ago (2011-11-28 17:50:19 UTC) #6
flackr
http://codereview.chromium.org/8700013/diff/1001/ui/aura/desktop.cc File ui/aura/desktop.cc (right): http://codereview.chromium.org/8700013/diff/1001/ui/aura/desktop.cc#newcode107 ui/aura/desktop.cc:107: return descendant == ancestor; On 2011/11/28 17:50:19, Ben Goodger ...
9 years ago (2011-11-28 20:36:35 UTC) #7
sky
LGTM http://codereview.chromium.org/8700013/diff/9003/ui/aura/window.cc File ui/aura/window.cc (right): http://codereview.chromium.org/8700013/diff/9003/ui/aura/window.cc#newcode281 ui/aura/window.cc:281: for (const Window* parent = other; parent; parent ...
9 years ago (2011-11-28 21:55:25 UTC) #8
flackr
http://codereview.chromium.org/8700013/diff/9003/ui/aura/window.cc File ui/aura/window.cc (right): http://codereview.chromium.org/8700013/diff/9003/ui/aura/window.cc#newcode281 ui/aura/window.cc:281: for (const Window* parent = other; parent; parent = ...
9 years ago (2011-11-29 14:54:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/8700013/12009
9 years ago (2011-11-30 15:08:54 UTC) #10
commit-bot: I haz the power
9 years ago (2011-11-30 16:30:53 UTC) #11
Change committed as 112236

Powered by Google App Engine
This is Rietveld 408576698