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

Issue 2742253002: Move cursor property to be generated in ComputedStyleBase. (Closed)

Created:
3 years, 9 months ago by shend
Modified:
3 years, 9 months ago
Reviewers:
meade_UTC10, Bugs Nash
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move cursor property to be generated in ComputedStyleBase. Move the inherited property 'cursor' and its enum, ECursor, to be generated in ComputedStyleBase. Also moved getter / setter / initial value methods to be generated in ComputedStyleBase. Finally replaced handwritten conversion between CSSValueID and ECursor with generated code. Note that this renames m_cursorStyle to m_cursor to match the name of the getter/setter. This shouldn't affect anything since the member is private and only used within the generated class. The changes in generated code is triggered by adding the 'keyword' field_template to the cursor property in CSSProperties.json5. Diff: https://gist.github.com/darrnshn/2a3770b1721a7354110633a5ea6fcec1/revisions BUG=628043 Review-Url: https://codereview.chromium.org/2742253002 Cr-Commit-Position: refs/heads/master@{#458012} Committed: https://chromium.googlesource.com/chromium/src/+/9101b588bd21687dac9f733f817d283dcac0d1de

Patch Set 1 #

Patch Set 2 : Change upstream #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -249 lines) Patch
M third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h View 1 2 1 chunk +0 lines, -198 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.json5 View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSValueIDMappings.h View 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 3 3 chunks +0 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleConstants.h View 1 2 1 chunk +0 lines, -39 lines 0 comments Download

Messages

Total messages: 33 (22 generated)
shend
Hi Bugs, PTAL :)
3 years, 9 months ago (2017-03-13 05:44:15 UTC) #4
Bugs Nash
On 2017/03/13 at 05:44:15, shend wrote: > Hi Bugs, PTAL :) Please add to CL ...
3 years, 9 months ago (2017-03-13 23:25:13 UTC) #5
shend
On 2017/03/13 at 23:25:13, bugsnash wrote: > On 2017/03/13 at 05:44:15, shend wrote: > > ...
3 years, 9 months ago (2017-03-13 23:33:09 UTC) #7
Bugs Nash
On 2017/03/13 at 23:33:09, shend wrote: > On 2017/03/13 at 23:25:13, bugsnash wrote: > > ...
3 years, 9 months ago (2017-03-13 23:39:15 UTC) #8
shend
Hi Eddy, PTAL
3 years, 9 months ago (2017-03-16 22:10:13 UTC) #10
meade_UTC10
lgtm \o/
3 years, 9 months ago (2017-03-17 06:41:24 UTC) #11
commit-bot: I haz the power
This CL has an open dependency (Issue 2686473004 Patch 40001). Please resolve the dependency and ...
3 years, 9 months ago (2017-03-19 21:15:44 UTC) #14
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/2742253002/40001
3 years, 9 months ago (2017-03-20 00:03:49 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/388983)
3 years, 9 months ago (2017-03-20 00:11:00 UTC) #23
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/2742253002/50006
3 years, 9 months ago (2017-03-20 02:13:58 UTC) #30
commit-bot: I haz the power
3 years, 9 months ago (2017-03-20 02:18:33 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:50006) as
https://chromium.googlesource.com/chromium/src/+/9101b588bd21687dac9f733f817d...

Powered by Google App Engine
This is Rietveld 408576698