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

Issue 339563004: Add UseCounter for web components related CSS selectors (Closed)

Created:
6 years, 6 months ago by kochi
Modified:
6 years, 6 months ago
Reviewers:
esprehn, tasak, dglazkov
CC:
esprehn, darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, dglazkov+blink, ed+blinkwatch_opera.com, hayato, kenjibaheux, rwlbuis, rune+blink
Project:
blink
Visibility:
Public.

Description

Add UseCounter for web components related CSS selectors This CL adds histogram statistics for the following web components-related CSS selectors. - :unresolved pseudo-class (for custom element) - ::shadow pseudo element - ::content pseudo element - :host pseudo class - :host-context() pseudo class - /deep/ combinator BUG=383749 TEST=open http://jsbin.com/bopezaso/2/edit, reload several times and see if FeatureObserver in chrome://histograms reflects it (number 465-470) Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176473

Patch Set 1 : . #

Total comments: 2

Patch Set 2 : fix for Elliott's comment #

Total comments: 3

Patch Set 3 : Fixed readability. #

Patch Set 4 : fix UseCounter conflict. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -0 lines) Patch
M Source/core/css/parser/BisonCSSParser-in.cpp View 1 2 3 2 chunks +38 lines, -0 lines 0 comments Download
M Source/core/frame/UseCounter.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
kochi
Hi Takashi, This adds use counter stats as requested in: https://code.google.com/p/chromium/issues/detail?id=383749#c10 Please take a look ...
6 years, 6 months ago (2014-06-18 06:00:31 UTC) #1
esprehn
https://codereview.chromium.org/339563004/diff/100001/Source/core/css/parser/BisonCSSParser-in.cpp File Source/core/css/parser/BisonCSSParser-in.cpp (right): https://codereview.chromium.org/339563004/diff/100001/Source/core/css/parser/BisonCSSParser-in.cpp#newcode1764 Source/core/css/parser/BisonCSSParser-in.cpp:1764: for (size_t i = 0; i < selectors->size(); ++i) ...
6 years, 6 months ago (2014-06-18 06:24:36 UTC) #2
kochi
Thanks for the review. PTAL. https://codereview.chromium.org/339563004/diff/100001/Source/core/css/parser/BisonCSSParser-in.cpp File Source/core/css/parser/BisonCSSParser-in.cpp (right): https://codereview.chromium.org/339563004/diff/100001/Source/core/css/parser/BisonCSSParser-in.cpp#newcode1764 Source/core/css/parser/BisonCSSParser-in.cpp:1764: for (size_t i = ...
6 years, 6 months ago (2014-06-18 09:03:32 UTC) #3
esprehn
lgtm, but please remove that break case before landing. https://codereview.chromium.org/339563004/diff/140001/Source/core/css/parser/BisonCSSParser-in.cpp File Source/core/css/parser/BisonCSSParser-in.cpp (right): https://codereview.chromium.org/339563004/diff/140001/Source/core/css/parser/BisonCSSParser-in.cpp#newcode1793 Source/core/css/parser/BisonCSSParser-in.cpp:1793: ...
6 years, 6 months ago (2014-06-18 11:13:25 UTC) #4
kochi
Thanks for the review! I'll test the code again tomorrow morning before submitting to CQ. ...
6 years, 6 months ago (2014-06-18 16:30:24 UTC) #5
kochi
The CQ bit was checked by kochi@chromium.org
6 years, 6 months ago (2014-06-19 01:17:23 UTC) #6
kochi
The CQ bit was unchecked by kochi@chromium.org
6 years, 6 months ago (2014-06-19 01:17:42 UTC) #7
kochi
The CQ bit was checked by kochi@chromium.org
6 years, 6 months ago (2014-06-19 01:18:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kochi@chromium.org/339563004/180001
6 years, 6 months ago (2014-06-19 01:18:19 UTC) #9
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 01:24:07 UTC) #10
Message was sent while issue was closed.
Change committed as 176473

Powered by Google App Engine
This is Rietveld 408576698