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

Issue 423673002: Use tighter typing in editing: EditingStyle (Closed)

Created:
6 years, 4 months ago by Inactive
Modified:
6 years, 4 months ago
CC:
blink-reviews, yosin_UTC9
Project:
blink
Visibility:
Public.

Description

Use tighter typing in editing: EditingStyle Use tighter typing in editing to increase code readability. This CL focuses on EditingStyle. R=leviw@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179251

Patch Set 1 #

Total comments: 5

Patch Set 2 : Remove isHTMLElement() check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -37 lines) Patch
M Source/core/editing/DeleteSelectionCommand.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/EditingStyle.h View 6 chunks +11 lines, -10 lines 0 comments Download
M Source/core/editing/EditingStyle.cpp View 1 16 chunks +25 lines, -24 lines 0 comments Download
M Source/core/editing/RemoveFormatCommand.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/markup.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
Inactive
6 years, 4 months ago (2014-07-26 18:33:46 UTC) #1
eseidel
Unclear if you want the HTMLElement changes. https://codereview.chromium.org/423673002/diff/1/Source/core/editing/EditingStyle.h File Source/core/editing/EditingStyle.h (right): https://codereview.chromium.org/423673002/diff/1/Source/core/editing/EditingStyle.h#newcode161 Source/core/editing/EditingStyle.h:161: bool conflictsWithInlineStyleOfElement(HTMLElement*, ...
6 years, 4 months ago (2014-07-26 21:19:15 UTC) #2
Inactive
On 2014/07/26 21:19:15, eseidel wrote: > Unclear if you want the HTMLElement changes. > > ...
6 years, 4 months ago (2014-07-26 21:41:40 UTC) #3
Inactive
6 years, 4 months ago (2014-07-28 22:38:17 UTC) #4
yosin_UTC9
LGTM For SVG editing, it seems we can edit SVGTextNode in current implementation. I think ...
6 years, 4 months ago (2014-07-29 04:30:14 UTC) #5
Inactive
On 2014/07/29 04:30:14, Yosi_UTC9 wrote: > LGTM Thanks. Levi, can you please take a look ...
6 years, 4 months ago (2014-07-29 18:57:39 UTC) #6
leviw_travelin_and_unemployed
From what I can tell, we have only the most basic SVG editing tests making ...
6 years, 4 months ago (2014-07-29 21:59:18 UTC) #7
Inactive
On 2014/07/29 21:59:18, leviw wrote: > From what I can tell, we have only the ...
6 years, 4 months ago (2014-07-29 22:11:22 UTC) #8
pdr.
SVG LGTM https://codereview.chromium.org/423673002/diff/1/Source/core/editing/EditingStyle.cpp File Source/core/editing/EditingStyle.cpp (right): https://codereview.chromium.org/423673002/diff/1/Source/core/editing/EditingStyle.cpp#newcode1046 Source/core/editing/EditingStyle.cpp:1046: if (!element->isHTMLElement()) Nit: Unlike the other cases, ...
6 years, 4 months ago (2014-07-29 22:33:14 UTC) #9
Inactive
https://codereview.chromium.org/423673002/diff/1/Source/core/editing/EditingStyle.cpp File Source/core/editing/EditingStyle.cpp (right): https://codereview.chromium.org/423673002/diff/1/Source/core/editing/EditingStyle.cpp#newcode1046 Source/core/editing/EditingStyle.cpp:1046: if (!element->isHTMLElement()) On 2014/07/29 22:33:14, pdr wrote: > Nit: ...
6 years, 4 months ago (2014-07-29 23:14:59 UTC) #10
Inactive
https://codereview.chromium.org/423673002/diff/1/Source/core/editing/EditingStyle.cpp File Source/core/editing/EditingStyle.cpp (right): https://codereview.chromium.org/423673002/diff/1/Source/core/editing/EditingStyle.cpp#newcode1046 Source/core/editing/EditingStyle.cpp:1046: if (!element->isHTMLElement()) On 2014/07/29 23:14:59, Chris Dumez wrote: > ...
6 years, 4 months ago (2014-07-29 23:34:33 UTC) #11
pdr.
I think this is good to go. @eseidel/leviw, did you have any further concerns?
6 years, 4 months ago (2014-07-30 00:57:11 UTC) #12
leviw_travelin_and_unemployed
Nope! LGTM.
6 years, 4 months ago (2014-07-30 20:19:00 UTC) #13
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 4 months ago (2014-07-30 20:19:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/423673002/20001
6 years, 4 months ago (2014-07-30 20:20:08 UTC) #15
commit-bot: I haz the power
6 years, 4 months ago (2014-07-30 20:28:14 UTC) #16
Message was sent while issue was closed.
Change committed as 179251

Powered by Google App Engine
This is Rietveld 408576698