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

Unified Diff: public/web/WebView.h

Issue 1050783003: Remove stylesheet injection from Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert devtool removals Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/tests/ViewportTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebView.h
diff --git a/public/web/WebView.h b/public/web/WebView.h
index a7e9f990611547052bf658d4e0b3eef9f3eb5bb2..7c9c9b82d328d7ded64228da45a8f36ed5b713dc 100644
--- a/public/web/WebView.h
+++ b/public/web/WebView.h
@@ -426,13 +426,6 @@ public:
unsigned inactiveBackgroundColor,
unsigned inactiveForegroundColor) = 0;
- // Injected style ------------------------------------------------------
-
- // Treats |sourceCode| as a CSS author style sheet and injects it into all Documents whose URLs match |patterns|,
- // in the frames specified by the last argument.
- BLINK_EXPORT static void injectStyleSheet(const WebString& sourceCode, const WebVector<WebString>& patterns, StyleInjectionTarget);
- BLINK_EXPORT static void removeInjectedStyleSheets();
-
// Modal dialog support ------------------------------------------------
// Call these methods before and after running a nested, modal event loop
« no previous file with comments | « Source/web/tests/ViewportTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698