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

Issue 2580793005: Split the CSSParserContext class out of CSSParserMode into its own file. (Closed)

Created:
4 years ago by Bret
Modified:
4 years ago
Reviewers:
rune
CC:
chromium-reviews, szager+layoutwatch_chromium.org, dshwang, eae+blinkwatch, apavlov+blink_chromium.org, kinuko+worker_chromium.org, rwlbuis, caseq+blink_chromium.org, blink-reviews-css, blink-reviews-html_chromium.org, Justin Novosad, blink-reviews-dom_chromium.org, dglazkov+blink, Rik, gavinp+loader_chromium.org, jchaffraix+rendering, devtools-reviews_chromium.org, blink-reviews, falken+watch_chromium.org, blink-worker-reviews_chromium.org, blink-reviews-style_chromium.org, zoltan1, blink-reviews-paint_chromium.org, blink-reviews-layout_chromium.org, sof, lushnikov+blink_chromium.org, loading-reviews_chromium.org, darktears, Nate Chapin, tyoshino+watch_chromium.org, ajuma+watch-canvas_chromium.org, pdr+renderingwatchlist_chromium.org, leviw+renderwatch, shimazu+worker_chromium.org, pfeldman+blink_chromium.org, horo+watch_chromium.org, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split the CSSParserContext class out of CSSParserMode into its own file. This is a refactor only, no functionality should change. This moves CSSParserContext into its own file and resolves now-missing transitive dependencies, in anticipation of further refactoring. TBR=rune@opera.com BUG=668251 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/709fea37a6942d33a32c49f5b42193ac40ef099e Cr-Commit-Position: refs/heads/master@{#440214}

Patch Set 1 #

Patch Set 2 : revert unnecessary casts #

Patch Set 3 : one extra missing include #

Total comments: 6

Patch Set 4 : include audit #

Patch Set 5 : fix linux compile #

Patch Set 6 : fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -321 lines) Patch
M third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/CSSStyleSheet.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/MediaValuesCached.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/StylePropertySet.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/StyleSheetContents.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSLazyParsingTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSParser.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + third_party/WebKit/Source/core/css/parser/CSSParserContext.h View 1 2 3 2 chunks +7 lines, -72 lines 0 comments Download
A + third_party/WebKit/Source/core/css/parser/CSSParserContext.cpp View 1 2 3 2 chunks +7 lines, -32 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSParserImpl.h View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSParserMode.h View 2 chunks +0 lines, -87 lines 0 comments Download
D third_party/WebKit/Source/core/css/parser/CSSParserMode.cpp View 1 chunk +0 lines, -119 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSSelectorParser.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPI.h View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitPadding.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/SharedStyleFinderTest.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/SelectorQueryTest.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/StyleEngineTest.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutThemeFontProvider.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/resource/CSSStyleSheetResourceTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/BoxPainter.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceBase.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceBase.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebCSSParser.cpp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 41 (28 generated)
Bret
I touched files outside core/css but they are simple include changes. Do you feel comfortable ...
4 years ago (2016-12-19 19:25:39 UTC) #16
rune
In general I think we should prefer forward declarations to includes when possible. Compiling Chromium ...
4 years ago (2016-12-19 20:34:17 UTC) #17
Bret
I did an audit of the includes I added. I changed a few to forward ...
4 years ago (2016-12-20 01:26:58 UTC) #18
rune
lgtm
4 years ago (2016-12-20 07:21:14 UTC) #19
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/2580793005/60001
4 years ago (2016-12-20 19:43:23 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/183793)
4 years ago (2016-12-20 20:05:09 UTC) #23
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/2580793005/80001
4 years ago (2016-12-21 00:06:46 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/281618)
4 years ago (2016-12-21 00:45:48 UTC) #28
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/2580793005/100001
4 years ago (2016-12-21 01:50:22 UTC) #31
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/330414)
4 years ago (2016-12-21 02:02:10 UTC) #33
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/2580793005/100001
4 years ago (2016-12-21 21:10:04 UTC) #36
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-21 21:17:15 UTC) #39
commit-bot: I haz the power
4 years ago (2016-12-21 21:19:28 UTC) #41
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/709fea37a6942d33a32c49f5b42193ac40ef099e
Cr-Commit-Position: refs/heads/master@{#440214}

Powered by Google App Engine
This is Rietveld 408576698