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

Issue 438843004: Move the user agent styles sheets to blink_resources.grd (Part 3) (Closed)

Created:
6 years, 4 months ago by vivekg_samsung
Modified:
6 years, 3 months ago
CC:
aandrey+blink_chromium.org, darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-rendering, caseq+blink_chromium.org, devtools-reviews_chromium.org, dglazkov+blink, eae+blinkwatch, ed+blinkwatch_opera.com, eustas+blink_chromium.org, jchaffraix+rendering, leviw+renderwatch, loislo+blink_chromium.org, lushnikov+blink_chromium.org, malch+blink_chromium.org, paulirish+reviews_chromium.org, pdr., pfeldman+blink_chromium.org, rwlbuis, rune+blink, sergeyv+blink_chromium.org, vsevik+blink_chromium.org, yurys+blink_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Move the user agent styles sheets to blink_resources.grd (Part 3) Blink should make use of blink_resources.grd for the inline resources of user agent stylesheets. This removes the dependency upon using make-file-arrays.py which embeds these resources as strings. Also the .rodata section of libblink_web (in component build mode) is reduced by ~33kb. Part 1: https://codereview.chromium.org/436843004/ Part 2: https://codereview.chromium.org/422023008 Part 2 Unit Test support: https://codereview.chromium.org/456413002/ BUG=312586 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181917

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 1

Patch Set 4 : Patch for landing! #

Patch Set 5 : Patch rebased! #

Patch Set 6 : #

Total comments: 1

Patch Set 7 : Added helper in PlatformResourceLoader.h/cpp #

Patch Set 8 : Removed header inclusion. #

Total comments: 6

Patch Set 9 : Patch for landing! #

Patch Set 10 : Rebased patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -127 lines) Patch
M Source/core/BUILD.gn View 1 2 3 4 5 6 7 8 9 3 chunks +0 lines, -44 lines 0 comments Download
M Source/core/core.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/core_generated.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -46 lines 0 comments Download
M Source/core/css/CSSDefaultStyleSheets.cpp View 1 2 3 4 5 6 12 chunks +11 lines, -16 lines 0 comments Download
M Source/core/inspector/InspectorPageAgent.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumAndroid.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumDefault.cpp View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumMac.mm View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumSkia.cpp View 1 2 3 4 5 6 3 chunks +5 lines, -5 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (5 generated)
vivekg
PTAL, thank you.
6 years, 4 months ago (2014-08-01 18:19:31 UTC) #1
abarth-chromium
LGTM https://codereview.chromium.org/438843004/diff/40001/Source/core/css/CSSDefaultStyleSheets.cpp File Source/core/css/CSSDefaultStyleSheets.cpp (right): https://codereview.chromium.org/438843004/diff/40001/Source/core/css/CSSDefaultStyleSheets.cpp#newcode103 Source/core/css/CSSDefaultStyleSheets.cpp:103: const blink::WebData& htmlCssResource = blink::Platform::current()->loadResource("html.css"); No need for ...
6 years, 4 months ago (2014-08-01 19:15:15 UTC) #2
vivekg
On 2014/08/01 19:15:15, abarth wrote: > LGTM > > https://codereview.chromium.org/438843004/diff/40001/Source/core/css/CSSDefaultStyleSheets.cpp > File Source/core/css/CSSDefaultStyleSheets.cpp (right): > ...
6 years, 4 months ago (2014-08-02 03:45:35 UTC) #3
abarth-chromium
https://codereview.chromium.org/438843004/diff/80001/public/platform/WebData.h File public/platform/WebData.h (right): https://codereview.chromium.org/438843004/diff/80001/public/platform/WebData.h#newcode79 public/platform/WebData.h:79: WebCString asCString() const; I meant an actual String: #if ...
6 years, 4 months ago (2014-08-02 17:19:51 UTC) #4
vivekg
On 2014/08/02 17:19:51, abarth wrote: > https://codereview.chromium.org/438843004/diff/80001/public/platform/WebData.h > File public/platform/WebData.h (right): > > https://codereview.chromium.org/438843004/diff/80001/public/platform/WebData.h#newcode79 > ...
6 years, 4 months ago (2014-08-03 05:19:08 UTC) #5
abarth-chromium
lgtm https://codereview.chromium.org/438843004/diff/120001/public/platform/WebData.h File public/platform/WebData.h (right): https://codereview.chromium.org/438843004/diff/120001/public/platform/WebData.h#newcode34 public/platform/WebData.h:34: #include "WebCString.h" This include is no longer necessary.
6 years, 4 months ago (2014-08-03 14:53:31 UTC) #6
vivekg
The CQ bit was checked by vivekg@chromium.org
6 years, 4 months ago (2014-08-05 14:35:56 UTC) #7
vivekg
The CQ bit was unchecked by vivekg@chromium.org
6 years, 4 months ago (2014-08-05 14:35:59 UTC) #8
vivekg
The CQ bit was checked by vivekg@chromium.org
6 years, 4 months ago (2014-08-05 16:16:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/438843004/140001
6 years, 4 months ago (2014-08-05 16:18:12 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-05 21:11:25 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 21:23:40 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/18529)
6 years, 4 months ago (2014-08-05 21:23:41 UTC) #13
vivekg
This patch needs the unit test plumbing done in https://codereview.chromium.org/456413002/
6 years, 4 months ago (2014-08-11 13:07:03 UTC) #14
vivekg
Patch rebased.
6 years, 3 months ago (2014-09-02 11:13:08 UTC) #15
eseidel
This looks great. If you get rid of the duplicate code everywehre. :) No need ...
6 years, 3 months ago (2014-09-02 17:15:07 UTC) #16
vivekg
On 2014/09/02 at 17:15:07, eseidel wrote: > This looks great. If you get rid of ...
6 years, 3 months ago (2014-09-03 15:12:17 UTC) #17
eseidel
https://codereview.chromium.org/438843004/diff/220001/Source/platform/PlatformResourceLoader.cpp File Source/platform/PlatformResourceLoader.cpp (right): https://codereview.chromium.org/438843004/diff/220001/Source/platform/PlatformResourceLoader.cpp#newcode13 Source/platform/PlatformResourceLoader.cpp:13: inline WTF::String loadResourceAsASCIIString(const char* resource) inline doesn't do anything ...
6 years, 3 months ago (2014-09-04 07:05:34 UTC) #18
vivekg
Thank you Eric. https://codereview.chromium.org/438843004/diff/220001/Source/platform/PlatformResourceLoader.cpp File Source/platform/PlatformResourceLoader.cpp (right): https://codereview.chromium.org/438843004/diff/220001/Source/platform/PlatformResourceLoader.cpp#newcode13 Source/platform/PlatformResourceLoader.cpp:13: inline WTF::String loadResourceAsASCIIString(const char* resource) On ...
6 years, 3 months ago (2014-09-04 07:44:28 UTC) #19
eseidel
lgtm
6 years, 3 months ago (2014-09-04 16:13:36 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/438843004/240001
6 years, 3 months ago (2014-09-04 16:13:56 UTC) #22
vivekg
On 2014/09/04 at 16:13:35, eseidel wrote: > The CQ bit was checked by eseidel@chromium.org Thank ...
6 years, 3 months ago (2014-09-04 16:15:38 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/438843004/260001
6 years, 3 months ago (2014-09-12 16:10:11 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/438843004/260001
6 years, 3 months ago (2014-09-12 17:00:53 UTC) #29
commit-bot: I haz the power
Committed patchset #10 (id:260001) as 181917
6 years, 3 months ago (2014-09-12 17:15:39 UTC) #30
jianli
6 years, 3 months ago (2014-09-12 22:01:15 UTC) #31
Message was sent while issue was closed.
A revert of this CL (patchset #10 id:260001) has been created in
https://codereview.chromium.org/567073004/ by jianli@chromium.org.

The reason for reverting is: Speculative revert for breaking quite a few
browser_tests and content_browsertests across multiple platforms:
https://build.chromium.org/p/chromium.webkit/builders/Mac10.6%20Tests/builds/...
http://build.chromium.org/p/chromium.webkit/builders/Mac10.8%20Tests/builds/9662
http://build.chromium.org/p/chromium.webkit/builders/Win7%20Tests/builds/5566
.

Powered by Google App Engine
This is Rietveld 408576698