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

Issue 2625553005: Changed EUnicodeBidi to an enum class and renamed its members (Closed)

Created:
3 years, 11 months ago by sashab
Modified:
3 years, 11 months ago
Reviewers:
haraken, napper, aazzam
CC:
darktears, apavlov+blink_chromium.org, atotic+reviews_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-layout_chromium.org, blink-reviews-style_chromium.org, cbiesinger, chromium-reviews, dcheng, dglazkov+blink, eae+blinkwatch, glebl+reviews_chromium.org, jchaffraix+rendering, kinuko+watch, leviw+renderwatch, leviw+bidiwatch_chromium.org, nasko, ojan+watch_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changed EUnicodeBidi to an enum class and renamed its members Changed EUnicodeBidi to an enum class and gave it an unsigned underlying type. Also renamed its members to match the CSS keywords they represent, and added the 'k' prefix in line with the Blink rename to match Chromium style. 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 allow EUnicodeBidi to be used by generated fields in ComputedStyleBase. BUG=628043 Review-Url: https://codereview.chromium.org/2625553005 Cr-Commit-Position: refs/heads/master@{#442775} Committed: https://chromium.googlesource.com/chromium/src/+/cc1cb9fbd275d9b119ffdaf31d7bec56cb5b4d8d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -48 lines) Patch
M third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h View 2 chunks +13 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleUnits.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/BidiRunForLine.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp View 3 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutText.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineIterator.h View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc View 2 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder_test.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/text/UnicodeBidi.h View 1 chunk +12 lines, -10 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 19 (8 generated)
sashab
3 years, 11 months ago (2017-01-10 04:16:38 UTC) #2
sashab
nasko, dcheng fyi
3 years, 11 months ago (2017-01-10 04:21:34 UTC) #3
napper
lgtm
3 years, 11 months ago (2017-01-10 04:36:21 UTC) #4
sashab
anna ptal :)
3 years, 11 months ago (2017-01-10 05:25:15 UTC) #6
aazzam
lgtm
3 years, 11 months ago (2017-01-10 05:33:07 UTC) #7
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/2625553005/1
3 years, 11 months ago (2017-01-10 23:14:31 UTC) #9
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/338900)
3 years, 11 months ago (2017-01-10 23:26:16 UTC) #11
sashab
haraken@ ptal at platform/text/UnicodeBidi.h :)
3 years, 11 months ago (2017-01-11 01:24:03 UTC) #13
haraken
LGTM
3 years, 11 months ago (2017-01-11 01:27:04 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/2625553005/1
3 years, 11 months ago (2017-01-11 01:30:47 UTC) #16
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 03:01:01 UTC) #19
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/cc1cb9fbd275d9b119ffdaf31d7b...

Powered by Google App Engine
This is Rietveld 408576698