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

Issue 1319753004: Introduce composed tree version of VisiblePosition (Closed)

Created:
5 years, 3 months ago by yosin_UTC9
Modified:
5 years, 3 months ago
Reviewers:
tkent, yoichio, hajimehoshi
CC:
blink-reviews, szager+layoutwatch_chromium.org, blink-reviews-style_chromium.org, zoltan1, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, blink-reviews-rendering, jchaffraix+rendering
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Introduce composed tree version of VisiblePosition This patch introduces composed tree version of |VisiblePosition| called |VisiblePositionInComposedTree| with glue function |createVisiblePositionInDOMTree()|, which is a stub function for applying DOM tree version of functions in "VisibleUnits.cpp", e.g. |isLogicalEndOfLine()| |nextPositionOf()| and so on, for making patch size smaller. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; no behavior changes Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201859

Patch Set 1 : 2015-09-04T17:58:43 #

Patch Set 2 : 2015-09-07T14:06:02 Rebase for VisibleSelectionChangeObserver and PendingSelection::commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -37 lines) Patch
M Source/core/editing/FrameSelection.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/editing/SelectionController.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/editing/VisiblePosition.h View 2 chunks +10 lines, -3 lines 0 comments Download
M Source/core/editing/VisiblePosition.cpp View 2 chunks +26 lines, -19 lines 0 comments Download
M Source/core/editing/VisiblePositionTest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/editing/VisibleSelection.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/editing/serializers/StyledMarkupSerializer.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/layout/PendingSelection.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
yosin_UTC9
PTAL
5 years, 3 months ago (2015-09-04 12:03:05 UTC) #2
yoichio
1. I don't why do we need |createVisiblePositionInDOMTree| instead of |createVisiblePosition|. 2. This CL change ...
5 years, 3 months ago (2015-09-07 02:12:21 UTC) #3
yosin_UTC9
On 2015/09/07 02:12:21, yoichio wrote: > 1. I don't why do we need |createVisiblePositionInDOMTree| instead ...
5 years, 3 months ago (2015-09-07 02:27:07 UTC) #4
yoichio
On 2015/09/07 02:27:07, Yosi_UTC9 wrote: > On 2015/09/07 02:12:21, yoichio wrote: > > 1. I ...
5 years, 3 months ago (2015-09-07 03:39:44 UTC) #5
yoichio
lgtm
5 years, 3 months ago (2015-09-07 04:20:59 UTC) #6
yosin_UTC9
On 2015/09/07 03:39:44, yoichio wrote: > On 2015/09/07 02:27:07, Yosi_UTC9 wrote: > > On 2015/09/07 ...
5 years, 3 months ago (2015-09-07 05:05:20 UTC) #7
tkent
rs lgtm
5 years, 3 months ago (2015-09-07 05:49:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1319753004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1319753004/20001
5 years, 3 months ago (2015-09-07 06:02:55 UTC) #11
commit-bot: I haz the power
5 years, 3 months ago (2015-09-07 06:19:56 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201859

Powered by Google App Engine
This is Rietveld 408576698