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

Issue 2709473003: Add internals.textAffinity (Closed)

Created:
3 years, 10 months ago by yoichio
Modified:
3 years, 10 months ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add internals.textAffinity Add internals.textAffinity to test if cursor is layouted on Upstream/Downstream. |internals.textAffinity| returns focused Localframe's FrameSelection's TextEditor's SelectionInDOMTree's affinity. BUG=679977 Review-Url: https://codereview.chromium.org/2709473003 Cr-Commit-Position: refs/heads/master@{#451712} Committed: https://chromium.googlesource.com/chromium/src/+/88916b8ccc7a34369f8dbe77e71afb4831425df5

Patch Set 1 #

Total comments: 2

Patch Set 2 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
M third_party/WebKit/LayoutTests/editing/assert_selection.html View 1 chunk +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.idl View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (15 generated)
yoichio
3 years, 10 months ago (2017-02-21 02:14:42 UTC) #7
yosin_UTC9
https://codereview.chromium.org/2709473003/diff/1/third_party/WebKit/Source/core/testing/Internals.cpp File third_party/WebKit/Source/core/testing/Internals.cpp (right): https://codereview.chromium.org/2709473003/diff/1/third_party/WebKit/Source/core/testing/Internals.cpp#newcode922 third_party/WebKit/Source/core/testing/Internals.cpp:922: .affinity() == TextAffinity::Upstream) { Could you write as: ->selection().selectionInDOMTree().affinity()? ...
3 years, 10 months ago (2017-02-21 02:21:13 UTC) #8
yoichio
https://codereview.chromium.org/2709473003/diff/1/third_party/WebKit/Source/core/testing/Internals.cpp File third_party/WebKit/Source/core/testing/Internals.cpp (right): https://codereview.chromium.org/2709473003/diff/1/third_party/WebKit/Source/core/testing/Internals.cpp#newcode922 third_party/WebKit/Source/core/testing/Internals.cpp:922: .affinity() == TextAffinity::Upstream) { On 2017/02/21 02:21:13, yosin_UTC9 wrote: ...
3 years, 10 months ago (2017-02-21 04:38:22 UTC) #9
yosin_UTC9
lgtm Thanks!
3 years, 10 months ago (2017-02-21 04:56:46 UTC) #12
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/2709473003/20001
3 years, 10 months ago (2017-02-21 04:57:15 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/368796)
3 years, 10 months ago (2017-02-21 05:03:24 UTC) #17
yoichio
Kent, could take a look as OWNER?
3 years, 10 months ago (2017-02-21 05:33:12 UTC) #19
tkent
lgtm
3 years, 10 months ago (2017-02-21 05:48:05 UTC) #20
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/2709473003/20001
3 years, 10 months ago (2017-02-21 06:34:48 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-21 07:46:21 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/88916b8ccc7a34369f8dbe77e71a...

Powered by Google App Engine
This is Rietveld 408576698