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

Issue 1743303002: Make browser hit testing return correct SurfaceId with nested Surfaces (Closed)

Created:
4 years, 9 months ago by kenrb
Modified:
4 years, 9 months ago
Reviewers:
jbauman, nasko, lfg
CC:
chromium-reviews, darin-cc_chromium.org, cc-bugs_chromium.org, jam, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make browser hit testing return correct SurfaceId with nested Surfaces A regression caused SurfaceHittest::GetTargetSurfaceAtPoint() to return the incorrect SurfaceId when the correct Surface was nested more than one layer from the root Surface. This fixes the regression. BUG=589572 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/9d8b8320a54fc65539d99be0e2a489e2e2b1b7bc Cr-Commit-Position: refs/heads/master@{#378495}

Patch Set 1 #

Patch Set 2 : Forgot to add new test file #

Patch Set 3 : Attempt to fix broken unit test #

Total comments: 6

Patch Set 4 : Nits addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -11 lines) Patch
M cc/surfaces/surface_hittest.cc View 1 2 1 chunk +7 lines, -3 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 1 chunk +76 lines, -0 lines 0 comments Download
M content/test/content_browser_test_utils_internal.h View 1 chunk +1 line, -1 line 0 comments Download
M content/test/content_browser_test_utils_internal.cc View 2 chunks +9 lines, -7 lines 0 comments Download
A content/test/data/frame_tree/page_with_positioned_nested_frames.html View 1 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
kenrb
Lucas: Do you agree with this change?
4 years, 9 months ago (2016-02-29 16:54:22 UTC) #4
lfg
lgtm with one optional nit. https://codereview.chromium.org/1743303002/diff/40001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1743303002/diff/40001/content/browser/site_per_process_browsertest.cc#newcode755 content/browser/site_per_process_browsertest.cc:755: "/frame_tree/page_with_positioned_nested_frames.html")); This is fine, ...
4 years, 9 months ago (2016-02-29 18:25:12 UTC) #5
kenrb
PTAL? - jbauman for cc/surfaces/ - nasko for content/ https://codereview.chromium.org/1743303002/diff/40001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1743303002/diff/40001/content/browser/site_per_process_browsertest.cc#newcode755 content/browser/site_per_process_browsertest.cc:755: ...
4 years, 9 months ago (2016-02-29 19:59:54 UTC) #7
jbauman
lgtm
4 years, 9 months ago (2016-02-29 22:03:05 UTC) #8
nasko
LGTM with nits. https://codereview.chromium.org/1743303002/diff/40001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1743303002/diff/40001/content/browser/site_per_process_browsertest.cc#newcode755 content/browser/site_per_process_browsertest.cc:755: "/frame_tree/page_with_positioned_nested_frames.html")); On 2016/02/29 19:59:54, kenrb wrote: ...
4 years, 9 months ago (2016-02-29 22:15:37 UTC) #9
kenrb
https://codereview.chromium.org/1743303002/diff/40001/content/browser/site_per_process_browsertest.cc File content/browser/site_per_process_browsertest.cc (right): https://codereview.chromium.org/1743303002/diff/40001/content/browser/site_per_process_browsertest.cc#newcode755 content/browser/site_per_process_browsertest.cc:755: "/frame_tree/page_with_positioned_nested_frames.html")); On 2016/02/29 22:15:37, nasko wrote: > On 2016/02/29 ...
4 years, 9 months ago (2016-03-01 15:50:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1743303002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1743303002/60001
4 years, 9 months ago (2016-03-01 15:51:36 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-01 18:53:38 UTC) #15
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 18:55:53 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9d8b8320a54fc65539d99be0e2a489e2e2b1b7bc
Cr-Commit-Position: refs/heads/master@{#378495}

Powered by Google App Engine
This is Rietveld 408576698