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

Issue 1321033002: Introduce {left,right}PositionOf() for VisiblePosition (Closed)

Created:
5 years, 3 months ago by yosin_UTC9
Modified:
5 years, 3 months ago
Reviewers:
yoichio, hajimehoshi
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Introduce {left,right}PositionOf() for VisiblePosition This patch introduces |{left,right}PositionOf()| function for |VisiblePosition| as replacement of |VisiblePosition::{left,right}()| to simplify |VisiblePosition| class for ease of templataizing |VisiblePosition| class to introduce composed tree version of |VisiblePosition|, since an implementation of |VisiblePosition::{left,right}()| can be implemented with public member functions of |VisiblePosition| class. 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=201402

Patch Set 1 : 2015-08-28T17:01:47 #

Patch Set 2 : 2015-08-28T19:07:16 Rebase #

Patch Set 3 : 2015-08-28T21:59:15 Rebase after merge failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -38 lines) Patch
M Source/core/editing/FrameSelection.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/editing/VisiblePosition.h View 1 2 3 chunks +6 lines, -7 lines 0 comments Download
M Source/core/editing/VisiblePosition.cpp View 1 2 5 chunks +38 lines, -28 lines 0 comments Download
M Source/core/editing/VisibleUnits.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (10 generated)
yosin_UTC9
PTAL
5 years, 3 months ago (2015-08-28 08:27:25 UTC) #2
hajimehoshi
lgtm Just out of curiosity, do you plan to remove VisibulePosition or replace this with ...
5 years, 3 months ago (2015-08-28 08:33:57 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321033002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321033002/1
5 years, 3 months ago (2015-08-28 08:34:51 UTC) #5
commit-bot: I haz the power
Failed to apply patch for Source/core/editing/VisiblePosition.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
5 years, 3 months ago (2015-08-28 09:47:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321033002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321033002/20001
5 years, 3 months ago (2015-08-28 10:07:59 UTC) #11
commit-bot: I haz the power
Failed to apply patch for Source/core/editing/VisiblePosition.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
5 years, 3 months ago (2015-08-28 11:21:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321033002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321033002/40001
5 years, 3 months ago (2015-08-28 13:00:47 UTC) #17
commit-bot: I haz the power
5 years, 3 months ago (2015-08-28 14:08:05 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201402

Powered by Google App Engine
This is Rietveld 408576698