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

Issue 10806055: Fix aura::Window::ContainsPointInRoot(). (Closed)

Created:
8 years, 5 months ago by Yusuke Sato
Modified:
8 years, 5 months ago
Reviewers:
oshima, sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Fix aura::Window::ContainsPointInRoot(). Currently, the function tries to compare a point in the window's coordinates and a rect in the root window's coordinates. BUG=None TEST=added a unit test (WindowTest.ContainsPointInRoot) which fails on tot and passes with this CL; ./out/Debug/aura_unittests --gtest_filter='*WindowTest.ContainsPoint*' Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=147930

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -3 lines) Patch
M ui/aura/window.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M ui/aura/window_unittest.cc View 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Yusuke Sato
8 years, 5 months ago (2012-07-20 22:42:49 UTC) #1
oshima
lgtm with nits http://codereview.chromium.org/10806055/diff/1/ui/aura/window.cc File ui/aura/window.cc (right): http://codereview.chromium.org/10806055/diff/1/ui/aura/window.cc#newcode491 ui/aura/window.cc:491: GetTargetBounds().size()).Contains(local_point); gfx::Rect(GetTargetBounds().size()).Contains(local_point); can you fix ContainsPoint ...
8 years, 5 months ago (2012-07-21 13:25:03 UTC) #2
Yusuke Sato
+sky, Could you do an owners review? http://codereview.chromium.org/10806055/diff/1/ui/aura/window.cc File ui/aura/window.cc (right): http://codereview.chromium.org/10806055/diff/1/ui/aura/window.cc#newcode491 ui/aura/window.cc:491: GetTargetBounds().size()).Contains(local_point); On ...
8 years, 5 months ago (2012-07-23 16:39:42 UTC) #3
sky
LGTM
8 years, 5 months ago (2012-07-23 18:22:33 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusukes@chromium.org/10806055/3002
8 years, 5 months ago (2012-07-23 18:23:35 UTC) #5
commit-bot: I haz the power
Try job failure for 10806055-3002 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 5 months ago (2012-07-23 19:40:47 UTC) #6
commit-bot: I haz the power
8 years, 5 months ago (2012-07-23 19:50:27 UTC) #7

Powered by Google App Engine
This is Rietveld 408576698