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

Issue 2919503003: Extract InlineBox handling from MostBackwardCaretPosition() (Closed)

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

Description

Extract InlineBox handling from MostBackwardCaretPosition() This patch extracts |InlineBox| handling code fragment into |IsOffsetRenderedForBackward()| for ease of adopting |MostBackwardCaretPosition()| to Layout NG. Note: The patch[1] does same thing for |MostForkwardCaretPosition()| [1] http://crrev.com/2918783002: Extract InlineBox handling from MostForkwardCaretPosition() BUG=707656 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2919503003 Cr-Commit-Position: refs/heads/master@{#477214} Committed: https://chromium.googlesource.com/chromium/src/+/ff1e24a705ef71b37dec0cb8a9e83f2f84327a7d

Patch Set 1 : 2017-06-01T18:41:35 #

Patch Set 2 : 2017-06-05T18:14:47 #

Total comments: 2

Patch Set 3 : 2017-06-06T13:42:15 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -65 lines) Patch
M third_party/WebKit/Source/core/editing/VisibleUnits.cpp View 1 2 1 chunk +79 lines, -65 lines 0 comments Download

Messages

Total messages: 30 (23 generated)
yosin_UTC9
PTAL
3 years, 6 months ago (2017-06-01 09:23:29 UTC) #8
yoichio
lgtm
3 years, 6 months ago (2017-06-02 01:49:58 UTC) #14
yosin_UTC9
PTAL Change as http://crrev.com/2918783002 for MostForwadCaretPosition()
3 years, 6 months ago (2017-06-05 09:13:13 UTC) #17
Xiaocheng
lgtm https://codereview.chromium.org/2919503003/diff/80001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): https://codereview.chromium.org/2919503003/diff/80001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode2662 third_party/WebKit/Source/core/editing/VisibleUnits.cpp:2662: static bool CanBackwardCaretPosition(const LayoutText* text_layout_object, nit: |CanBeBackwardCaretPosition| seems ...
3 years, 6 months ago (2017-06-05 19:36:37 UTC) #23
yosin_UTC9
Thanks for reviewing! Committing... https://codereview.chromium.org/2919503003/diff/80001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): https://codereview.chromium.org/2919503003/diff/80001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode2662 third_party/WebKit/Source/core/editing/VisibleUnits.cpp:2662: static bool CanBackwardCaretPosition(const LayoutText* text_layout_object, ...
3 years, 6 months ago (2017-06-06 04:48:52 UTC) #24
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/2919503003/100001
3 years, 6 months ago (2017-06-06 04:49:09 UTC) #27
commit-bot: I haz the power
3 years, 6 months ago (2017-06-06 06:28:27 UTC) #30
Message was sent while issue was closed.
Committed patchset #3 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/ff1e24a705ef71b37dec0cb8a9e8...

Powered by Google App Engine
This is Rietveld 408576698