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

Issue 2542843002: Changed EPointerEvents to an enum class and renamed its members to keywords (Closed)

Created:
4 years ago by napper
Modified:
4 years ago
Reviewers:
sashab, dcheng
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-layout_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dcheng, dglazkov+blink, krit, eae+blinkwatch, f(malita), fs, gyuyoung2, jchaffraix+rendering, kinuko+watch, kouhei+svg_chromium.org, leviw+renderwatch, mlamouri+watch-blink_chromium.org, pdr+svgwatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changed EPointerEvents to an enum class and renamed its members to keywords Changed EPointerEvents to an enum class and gave it an unsigned underlying type. Changing it to an enum class enforces better namespacing and code practices. Adding the unsigned underlying type is pre-work for when the class is eventually stored as an enum bitfield (it would be done in this patch, except a presubmit warning already exists that prevents that. The presubmit warning needs to be updated before that change can occur.) This is also pre-work to move EPointerEvents to be generated in ComputedStyleBase. BUG=628043 Committed: https://crrev.com/7288d286aaf11b6c4a6da25b8dc6209f64908f97 Cr-Commit-Position: refs/heads/master@{#436232}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -55 lines) Patch
M third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h View 2 chunks +23 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/PointerEventsHitRules.cpp View 1 chunk +25 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 3 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleConstants.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGSVGElement.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 28 (14 generated)
napper
4 years ago (2016-12-01 19:56:30 UTC) #7
napper
4 years ago (2016-12-01 19:56:30 UTC) #8
sashab
Nice work, but this is only the first part of your patch description: Changed EPointerEvents ...
4 years ago (2016-12-04 22:43:12 UTC) #9
napper
Sorry, missed that. I will rename the members to match in a following CL.
4 years ago (2016-12-04 22:48:12 UTC) #11
sashab
lgtm
4 years ago (2016-12-04 23:03:51 UTC) #12
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/2542843002/1
4 years ago (2016-12-04 23:07:33 UTC) #14
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/318191)
4 years ago (2016-12-04 23:13:09 UTC) #16
sashab
You'll need someone from the OWNERS file in core/svg and core/web :)
4 years ago (2016-12-04 23:14:54 UTC) #17
sashab
On 2016/12/04 at 23:14:54, sashab wrote: > You'll need someone from the OWNERS file in ...
4 years ago (2016-12-04 23:15:42 UTC) #18
napper
dcheng@ please RS web/
4 years ago (2016-12-04 23:31:03 UTC) #20
dcheng
lgtm
4 years ago (2016-12-05 02:23:48 UTC) #21
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/2542843002/1
4 years ago (2016-12-05 02:54:14 UTC) #23
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-05 04:36:22 UTC) #26
commit-bot: I haz the power
4 years ago (2016-12-05 04:38:02 UTC) #28
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7288d286aaf11b6c4a6da25b8dc6209f64908f97
Cr-Commit-Position: refs/heads/master@{#436232}

Powered by Google App Engine
This is Rietveld 408576698