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

Issue 1050783003: Remove stylesheet injection from Blink. (Closed)

Created:
5 years, 8 months ago by dcheng
Modified:
5 years, 8 months ago
Reviewers:
esprehn, pfeldman
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-style_chromium.org, dglazkov+blink, eae+blinkwatch, ojan, rwlbuis, sof
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove stylesheet injection from Blink. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193159

Patch Set 1 #

Patch Set 2 : Clean up devtools #

Patch Set 3 : More inspector removals #

Patch Set 4 : Revert devtool removals #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -519 lines) Patch
M Source/core/core.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/dom/DocumentStyleSheetCollection.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/dom/StyleEngine.h View 3 chunks +0 lines, -9 lines 0 comments Download
M Source/core/dom/StyleEngine.cpp View 4 chunks +0 lines, -50 lines 0 comments Download
D Source/core/page/InjectedStyleSheets.h View 1 chunk +0 lines, -77 lines 0 comments Download
D Source/core/page/InjectedStyleSheets.cpp View 1 chunk +0 lines, -63 lines 0 comments Download
D Source/platform/URLPatternMatcher.h View 1 chunk +0 lines, -67 lines 0 comments Download
D Source/platform/URLPatternMatcher.cpp View 1 chunk +0 lines, -216 lines 0 comments Download
M Source/platform/blink_platform.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/web/AssertMatchingEnums.cpp View 2 chunks +0 lines, -4 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 2 chunks +0 lines, -15 lines 0 comments Download
M Source/web/tests/ViewportTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M public/web/WebView.h View 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
dcheng
Delete all the codes. Requires that https://codereview.chromium.org/1058723002 and https://codereview.chromium.org/1052123002 land first.
5 years, 8 months ago (2015-04-02 05:31:56 UTC) #2
dcheng
+pfeldman for the Source/devtools cleanups as well.
5 years, 8 months ago (2015-04-02 06:54:18 UTC) #3
dcheng
(really +pfeldman this time)
5 years, 8 months ago (2015-04-02 06:56:35 UTC) #5
pfeldman
On 2015/04/02 06:56:35, dcheng wrote: > (really +pfeldman this time) You should also remove "injected" ...
5 years, 8 months ago (2015-04-02 07:51:04 UTC) #6
dcheng
On 2015/04/02 at 07:51:04, pfeldman wrote: > On 2015/04/02 06:56:35, dcheng wrote: > > (really ...
5 years, 8 months ago (2015-04-02 08:02:54 UTC) #7
dcheng
And it turns out I can't remove it: extension-injected stylesheets need to still show "injected ...
5 years, 8 months ago (2015-04-02 08:17:58 UTC) #8
pfeldman
I'd rather expose styleEngine().addAuthorSheet() via internals and migrate to it while leaving the functionality and ...
5 years, 8 months ago (2015-04-02 09:39:21 UTC) #9
dcheng
Given that the only caller of that function is WebDocument::insertStyleSheet, I'd feel better exposing it ...
5 years, 8 months ago (2015-04-02 14:02:18 UTC) #10
pfeldman
On Thu, Apr 2, 2015 at 5:02 PM, Daniel Cheng <dcheng@chromium.org> wrote: > Given that ...
5 years, 8 months ago (2015-04-02 14:17:43 UTC) #11
esprehn
lgtm, this patch seems fine if pfeldman is happy. :)
5 years, 8 months ago (2015-04-03 21:22:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1050783003/60001
5 years, 8 months ago (2015-04-04 13:16:24 UTC) #14
commit-bot: I haz the power
5 years, 8 months ago (2015-04-04 14:27:17 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193159

Powered by Google App Engine
This is Rietveld 408576698