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

Issue 1315543002: Introduce createRange(const EphemeralRange&) (Closed)

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

Description

Introduce createRange(const EphemeralRange&) This patch introduces |createRange(const EphemeralRange&)| to replace |Range::create()| with |EphemeralRange| patterns for simplify source code. 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=201062

Patch Set 1 #

Total comments: 12

Patch Set 2 : 2015-08-24T22:18:16 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -21 lines) Patch
M Source/core/editing/EphemeralRange.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/editing/EphemeralRange.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/editing/FrameSelection.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/InputMethodController.cpp View 1 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/editing/VisibleSelection.cpp View 1 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/editing/spellcheck/TextCheckingHelper.cpp View 1 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/testing/Internals.cpp View 1 1 chunk +1 line, -4 lines 0 comments Download
M Source/web/WebRange.cpp View 1 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
yosin_UTC9
PTAL
5 years, 4 months ago (2015-08-24 09:13:14 UTC) #2
tkent
lgtm https://codereview.chromium.org/1315543002/diff/1/Source/core/editing/EphemeralRange.h File Source/core/editing/EphemeralRange.h (right): https://codereview.chromium.org/1315543002/diff/1/Source/core/editing/EphemeralRange.h#newcode90 Source/core/editing/EphemeralRange.h:90: CORE_EXPORT PassRefPtrWillBeRawPtr<Range> createRange(const EphemeralRange&); Need a comment that ...
5 years, 4 months ago (2015-08-24 09:36:33 UTC) #3
tkent
https://codereview.chromium.org/1315543002/diff/1/Source/core/editing/InputMethodController.cpp File Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1315543002/diff/1/Source/core/editing/InputMethodController.cpp#newcode358 Source/core/editing/InputMethodController.cpp:358: if (range.isNull()) We can remove these two lines. https://codereview.chromium.org/1315543002/diff/1/Source/core/editing/VisibleSelection.cpp ...
5 years, 4 months ago (2015-08-24 09:38:06 UTC) #4
yosin_UTC9
Thanks! https://codereview.chromium.org/1315543002/diff/1/Source/core/editing/EphemeralRange.h File Source/core/editing/EphemeralRange.h (right): https://codereview.chromium.org/1315543002/diff/1/Source/core/editing/EphemeralRange.h#newcode90 Source/core/editing/EphemeralRange.h:90: CORE_EXPORT PassRefPtrWillBeRawPtr<Range> createRange(const EphemeralRange&); On 2015/08/24 at 09:36:33, ...
5 years, 4 months ago (2015-08-24 13:19:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1315543002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1315543002/20001
5 years, 4 months ago (2015-08-24 13:19:34 UTC) #8
commit-bot: I haz the power
5 years, 3 months ago (2015-08-24 15:13:29 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201062

Powered by Google App Engine
This is Rietveld 408576698