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

Issue 26896005: IDL compiler: remove special case capitalization (cssText, xmllang, xmlbase, xmlspace) (Closed)

Created:
7 years, 2 months ago by Nils Barth (inactive)
Modified:
7 years, 2 months ago
Reviewers:
haraken, eseidel
CC:
blink-reviews, apavlov+blink_chromium.org, adamk+blink_chromium.org, pdr, aandrey+blink_chromium.org, caseq+blink_chromium.org, Nate Chapin, chromiumbugtracker_adobe.com, yurys+blink_chromium.org, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, devtools-reviews_chromium.org, kenneth.christiansen, loislo+blink_chromium.org, lushnikov+blink_chromium.org, eustas+blink_chromium.org, paulirish+reviews_chromium.org, darktears, kojih, jsbell+bindings_chromium.org, alph+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, f(malita), Inactive, Stephen Chennney, kouhei (in TOK)
Visibility:
Public.

Description

IDL compiler: remove special case capitalization (cssText, xmllang, xmlbase, xmlspace) There are a few capitalization exceptions in the IDL compiler for setter names. They are inconsistent and brittle; this removes them, simplifying the compiler. This is just a bindings change, so setter names are now correctly capitalized, e.g., setCssText => setCSSText. (This does not change IDL files; they have capitalization as in standard.) 2 cases: 1. CssText => CSSText (for attribute cssText) is straightforward; various uses. 2. XML exceptions (Xmllang => XMLlang, Xmlbase => XMLbase, Xmlspace => XMLspace) are a few exceptions for lowercase attributes, e.g., SVGElement.idl has attribute |xmllang| (for xml:lang), not *|xmlLang|. BUG=239771 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159856

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -146 lines) Patch
M Source/bindings/scripts/code_generator_v8.pm View 1 chunk +5 lines, -5 lines 0 comments Download
M Source/core/css/CSSArrayFunctionValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSArrayFunctionValue.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSAspectRatioValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSAspectRatioValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSBorderImageSliceValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSBorderImageSliceValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSCalculationValue.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSCalculationValue.cpp View 6 chunks +9 lines, -9 lines 0 comments Download
M Source/core/css/CSSCanvasValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSCanvasValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSCrossfadeValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSCrossfadeValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSCursorImageValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSCursorImageValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSFilterValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSFilterValue.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSFontFaceSrcValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSFontFaceSrcValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSFontFeatureValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSFontFeatureValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSFontValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSFontValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSFunctionValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSFunctionValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSGradientValue.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSGradientValue.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSGridTemplateValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSGridTemplateValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSGroupingRule.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSGroupingRule.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSHostRule.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSImageSetValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSImageSetValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSImageValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSImageValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSInheritedValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSInheritedValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSInitialValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSInitialValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSLineBoxContainValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSLineBoxContainValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSMediaRule.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSMixFunctionValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSMixFunctionValue.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSPrimitiveValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSPrimitiveValue.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSReflectValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSReflectValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSRegionRule.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSRule.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSRule.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSSVGDocumentValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSSVGDocumentValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSShaderValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSShaderValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSShadowValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSShadowValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSStyleDeclaration.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSSupportsRule.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSTimingFunctionValue.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSTimingFunctionValue.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSTransformValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSTransformValue.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSUnicodeRangeValue.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSUnicodeRangeValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSValue.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSValue.cpp View 1 chunk +33 lines, -33 lines 0 comments Download
M Source/core/css/CSSValueList.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSValueList.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/PropertySetCSSStyleDeclaration.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/PropertySetCSSStyleDeclaration.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/StylePropertySerializer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorStyleSheet.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGColor.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGColor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGElement.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGLangSpace.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGLangSpace.cpp View 3 chunks +4 lines, -4 lines 2 comments Download
M Source/core/svg/SVGPaint.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGPaint.cpp View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nils Barth (inactive)
Fixes "remove special cases" FIXME!
7 years, 2 months ago (2013-10-17 06:59:07 UTC) #1
eseidel
So long as this is not changing any exposed methods or causing our internal ones ...
7 years, 2 months ago (2013-10-17 07:02:19 UTC) #2
Nils Barth (inactive)
https://codereview.chromium.org/26896005/diff/1/Source/core/svg/SVGLangSpace.cpp File Source/core/svg/SVGLangSpace.cpp (right): https://codereview.chromium.org/26896005/diff/1/Source/core/svg/SVGLangSpace.cpp#newcode52 Source/core/svg/SVGLangSpace.cpp:52: setXMLlang(value); On 2013/10/17 07:02:20, eseidel wrote: > Not setXMLLang? ...
7 years, 2 months ago (2013-10-17 07:11:32 UTC) #3
Nils Barth (inactive)
On 2013/10/17 07:02:19, eseidel wrote: > So long as this is not changing any exposed ...
7 years, 2 months ago (2013-10-17 07:14:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/26896005/1
7 years, 2 months ago (2013-10-17 07:41:59 UTC) #5
haraken
LGTM
7 years, 2 months ago (2013-10-17 08:55:22 UTC) #6
commit-bot: I haz the power
7 years, 2 months ago (2013-10-17 10:47:45 UTC) #7
Message was sent while issue was closed.
Change committed as 159856

Powered by Google App Engine
This is Rietveld 408576698