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

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

Patch Set 1 : 2017-06-01T18:38:06 #

Total comments: 8

Patch Set 2 : 2017-06-05T18:17:50 #

Total comments: 4

Patch Set 3 : 2017-06-06T13:19:51 #

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

Messages

Total messages: 33 (26 generated)
yosin_UTC9
PTAL
3 years, 6 months ago (2017-06-01 09:39:51 UTC) #13
Xiaocheng
The comments basically also apply to https://codereview.chromium.org/2919503003. Btw, the two new functions are almost identical. ...
3 years, 6 months ago (2017-06-01 22:19:48 UTC) #16
yosin_UTC9
PTAL I also updated http://crrev.com/2919503003, which does same thing for MostBackwardCaretPosition() https://codereview.chromium.org/2918783002/diff/40001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): ...
3 years, 6 months ago (2017-06-05 09:12:16 UTC) #17
Xiaocheng
lgtm https://codereview.chromium.org/2918783002/diff/80001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): https://codereview.chromium.org/2918783002/diff/80001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode2838 third_party/WebKit/Source/core/editing/VisibleUnits.cpp:2838: static bool CanForwardCaretPosition(const LayoutText* text_layout_object, nit: |CanBeForwardCaretPosition| seems ...
3 years, 6 months ago (2017-06-05 19:35:53 UTC) #23
yosin_UTC9
Thanks for reviewing! Committing... https://codereview.chromium.org/2918783002/diff/80001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp File third_party/WebKit/Source/core/editing/VisibleUnits.cpp (right): https://codereview.chromium.org/2918783002/diff/80001/third_party/WebKit/Source/core/editing/VisibleUnits.cpp#newcode2838 third_party/WebKit/Source/core/editing/VisibleUnits.cpp:2838: static bool CanForwardCaretPosition(const LayoutText* text_layout_object, ...
3 years, 6 months ago (2017-06-06 04:21:14 UTC) #28
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/2918783002/100001
3 years, 6 months ago (2017-06-06 04:21:32 UTC) #30
commit-bot: I haz the power
3 years, 6 months ago (2017-06-06 06:01:18 UTC) #33
Message was sent while issue was closed.
Committed patchset #3 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/436a66696c7fe35e921076cf22d2...

Powered by Google App Engine
This is Rietveld 408576698