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

Issue 2627423002: Make FrameCaret contains CaretBase instead of deriving from it (Closed)

Created:
3 years, 11 months ago by yosin_UTC9
Modified:
3 years, 11 months ago
Reviewers:
yoichio, Xiaocheng
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make FrameCaret to contain CaretBase This patch makes |FrameCaret| to contain |CaretBase| rather than to be derived it as similar as |DragCaretController| for improving code health. This patch also makes |CaretBase| not to be a garbage collected object since it doesn't hold garbage collected objects since [1]. This is a follow-up patch of [2] and suggested by [3]. [1] http://crrev.com/2623053006 Get rid of CaretBase::m_caretLocalRect [2] http://crrev.com/2623053006 Get rid of CaretBase::m_caretLocalRect [3] http://crrev.com/2635433003 Make DragCaretController to be derived from CaretBase BUG=680384 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2627423002 Cr-Commit-Position: refs/heads/master@{#443860} Committed: https://chromium.googlesource.com/chromium/src/+/716fc5a4985347e1b2148b481278d0d37d2bb3d3

Patch Set 1 : 2017-01-16T12:59:24 #

Patch Set 2 : 2017-01-16T13:46:04 #

Patch Set 3 : 2017-01-16T14:22:28 #

Patch Set 4 : 2017-01-16T16:55:39 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -38 lines) Patch
M third_party/WebKit/Source/core/editing/CaretBase.h View 1 2 4 chunks +6 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/editing/CaretBase.cpp View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/DragCaretController.h View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/DragCaretController.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/FrameCaret.h View 1 2 3 chunks +19 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/editing/FrameCaret.cpp View 9 chunks +24 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 41 (37 generated)
yosin_UTC9
PTAL
3 years, 11 months ago (2017-01-16 08:28:17 UTC) #34
yoichio
cool! lgtm.
3 years, 11 months ago (2017-01-16 08:52:04 UTC) #35
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/2627423002/120001
3 years, 11 months ago (2017-01-16 08:57:14 UTC) #38
commit-bot: I haz the power
3 years, 11 months ago (2017-01-16 09:22:56 UTC) #41
Message was sent while issue was closed.
Committed patchset #4 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/716fc5a4985347e1b2148b481278...

Powered by Google App Engine
This is Rietveld 408576698