Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(5)

Issue 1189243002: Introduce expandSelectionUsingGranularity() in SelectionController (Closed)

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

Description

Introduce expandSelectionUsingGranularity() in SelectionController This patch introduces |expandSelectionUsingGranularity()| for a preparation of calling |VisibleSelection::expandUsingGranularity()| or |expandUsingGranularityInCompsoedTree()| by template parameter. Following patch will templatize this function to take a strategy as tempalte parameter for selection accessor, e.g. |VisibleSeleciton::InDOMTree|. This patch is result of collaboration work with hajimehoshi@chromium.org for selection of web components. After this patch, we are going to implement another strategies for the composed tree. We've already prepared that at http://crrev.com/1106433002. BUG=275851 TEST=n/a; No behavior changes. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197450

Patch Set 1 #

Total comments: 2

Patch Set 2 : 2015-06-19T12:39:53 Mark |static| #

Patch Set 3 : 2015-06-19T13:30:25 Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M Source/core/editing/SelectionController.cpp View 1 2 5 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
yosin_UTC9
linux_chromium_gn_rel failure is caused by configuration issue: /home/chrome-bot/goma/gomacc: not found Details: FAILED: /home/chrome-bot/goma/gomacc ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD ...
4 years, 10 months ago (2015-06-19 01:23:14 UTC) #2
yosin_UTC9
PTAL
4 years, 10 months ago (2015-06-19 02:14:58 UTC) #3
tkent
https://codereview.chromium.org/1189243002/diff/1/Source/core/editing/SelectionController.cpp File Source/core/editing/SelectionController.cpp (right): https://codereview.chromium.org/1189243002/diff/1/Source/core/editing/SelectionController.cpp#newcode94 Source/core/editing/SelectionController.cpp:94: bool expandSelectionUsingGranularity(VisibleSelection& selection, TextGranularity granularity) should this be |static|?
4 years, 10 months ago (2015-06-19 02:17:10 UTC) #4
yosin_UTC9
PTAL win_blink_bot failures - inspector/sources/debugger-frameworks/frameworks-jquery.html - transitions/cancel-and-start-new.html aren't related to this patch. https://codereview.chromium.org/1189243002/diff/1/Source/core/editing/SelectionController.cpp File Source/core/editing/SelectionController.cpp ...
4 years, 10 months ago (2015-06-19 03:41:44 UTC) #5
tkent
lgtm
4 years, 10 months ago (2015-06-19 03:42:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1189243002/20001
4 years, 10 months ago (2015-06-19 03:42:58 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/59688)
4 years, 10 months ago (2015-06-19 03:44:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1189243002/40001
4 years, 10 months ago (2015-06-19 04:32:05 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/59696)
4 years, 10 months ago (2015-06-19 06:12:59 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1189243002/40001
4 years, 10 months ago (2015-06-19 06:17:39 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2015-06-19 07:10:52 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197450

Powered by Google App Engine
This is Rietveld 408576698