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

Issue 1876843002: Introduce few const getters for dom classes (Closed)

Created:
4 years, 8 months ago by Marcel Hlopko
Modified:
4 years, 8 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, krit, eae+blinkwatch, f(malita), fs, gyuyoung2, kinuko+watch, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, sof
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce few const getters for dom classes and const-ize existing getters where possible. These getters will be used by TraceWrappables feature coming in in the following cls. As the following cls will be quite big, I chipped this one out. LOG=no BUG=468240

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -18 lines) Patch
M third_party/WebKit/Source/core/css/CSSStyleSheet.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSStyleSheet.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/StyleSheetList.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/StyleSheetList.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DOMStringMap.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DOMTokenList.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DatasetDOMStringMap.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 2 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ElementRareData.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ElementRareData.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Node.h View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Node.cpp View 2 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventListenerMap.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/EventListenerMap.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/EventTarget.h View 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/ClassList.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/RelList.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGViewSpec.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Marcel Hlopko
Ptal, comments more than welcome :)
4 years, 8 months ago (2016-04-12 08:31:27 UTC) #2
haraken
Would you elaborate on why you need to add these const getters?
4 years, 8 months ago (2016-04-12 08:35:59 UTC) #4
Marcel Hlopko
Sure (and if you'd prefer that, I can upload them together with the following cl ...
4 years, 8 months ago (2016-04-12 09:55:35 UTC) #5
haraken
On 2016/04/12 09:55:35, Marcel Hlopko wrote: > Sure (and if you'd prefer that, I can ...
4 years, 8 months ago (2016-04-12 11:20:32 UTC) #6
Marcel Hlopko
4 years, 8 months ago (2016-04-12 11:43:53 UTC) #7
So let's keep this cl hanging, and continue discussion over in the
https://codereview.chromium.org/1876383003, which can be landed independently of
this one. Once we polish the details, I will revisit this cl and maybe delete
it.

Powered by Google App Engine
This is Rietveld 408576698