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

Issue 2229743003: add HitTestCanvasResult Class instend of std::pair<Element*, String> (Closed)

Created:
4 years, 4 months ago by Hwanseung Lee
Modified:
4 years, 4 months ago
Reviewers:
zino, Justin Novosad
CC:
chromium-reviews, blink-reviews-html_chromium.org, dtapuska+blinkwatch_chromium.org, jchaffraix+rendering, zoltan1, ajuma+watch-canvas_chromium.org, nzolghadr+blinkwatch_chromium.org, sof, eae+blinkwatch, leviw+renderwatch, haraken, blink-reviews-dom_chromium.org, dglazkov+blink, Rik, dshwang, pdr+renderingwatchlist_chromium.org, blink-reviews, szager+layoutwatch_chromium.org, blink-reviews-layout_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

add HitTestCanvasResult Class instend of std::pair<Element*, String> HitRegion is need to many information to expand(ie. cursor, parent_id, label, etc) in canvas2d. "std::pair<element*, string>" can't have a lot of information. so HitTestCanvasResult was added to expend. BUG=592947 Committed: https://crrev.com/3192926ec460259b66e2d6a6bc07e05049105eed Cr-Commit-Position: refs/heads/master@{#413330}

Patch Set 1 #

Total comments: 4

Patch Set 2 : add HitTestCanvasResult Class instend of std::pair<Element*, String> #

Messages

Total messages: 28 (11 generated)
Hwanseung Lee
could you review this commit?
4 years, 4 months ago (2016-08-09 15:58:53 UTC) #3
zino
Dear Justin, This patch is not perfect yet but I think it's better to move ...
4 years, 4 months ago (2016-08-19 13:45:43 UTC) #5
Justin Novosad
On 2016/08/19 13:45:43, zino wrote: > Dear Justin, > > This patch is not perfect ...
4 years, 4 months ago (2016-08-19 14:03:41 UTC) #6
zino
On 2016/08/19 14:03:41, Justin Novosad wrote: > This patch is good as is. As long ...
4 years, 4 months ago (2016-08-19 15:09:21 UTC) #7
Justin Novosad
On 2016/08/19 15:09:21, zino wrote: > On 2016/08/19 14:03:41, Justin Novosad wrote: > > This ...
4 years, 4 months ago (2016-08-19 16:51:41 UTC) #8
zino
On 2016/08/19 16:51:41, Justin Novosad wrote: > I agree with that. But one small step ...
4 years, 4 months ago (2016-08-19 17:17:35 UTC) #9
zino
Sorry, not lgtm. (to prevent CQ) I think you should fix minor problems in this ...
4 years, 4 months ago (2016-08-19 17:41:08 UTC) #10
zino
https://codereview.chromium.org/2229743003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2229743003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#newcode3185 third_party/WebKit/Source/core/dom/Document.cpp:3185: result.setHitCanvasRegion(hitTestCanvasResult); Do we really need this? HitTestResult only has ...
4 years, 4 months ago (2016-08-19 18:00:07 UTC) #11
Hwanseung Lee
@zino, i remove some code follow your guide. could you review again? https://codereview.chromium.org/2229743003/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp ...
4 years, 4 months ago (2016-08-20 06:03:54 UTC) #12
zino
lgtm!
4 years, 4 months ago (2016-08-20 06:12:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2229743003/20001
4 years, 4 months ago (2016-08-20 06:13:35 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/126474)
4 years, 4 months ago (2016-08-20 07:37:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2229743003/20001
4 years, 4 months ago (2016-08-20 07:51:23 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/126503)
4 years, 4 months ago (2016-08-20 08:29:52 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2229743003/20001
4 years, 4 months ago (2016-08-20 08:31:03 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-20 09:57:30 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-08-20 09:58:39 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3192926ec460259b66e2d6a6bc07e05049105eed
Cr-Commit-Position: refs/heads/master@{#413330}

Powered by Google App Engine
This is Rietveld 408576698