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

Unified Diff: Source/testing/runner/TestRunner.h

Issue 66383005: Remove the concept of user stylesheets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
Index: Source/testing/runner/TestRunner.h
diff --git a/Source/testing/runner/TestRunner.h b/Source/testing/runner/TestRunner.h
index b12cdd9d0c206a16bb2d4043ff19aaaba7ef4c69..794ba6d3a165ff1008eccc13a0ca81c6002ad41c 100644
--- a/Source/testing/runner/TestRunner.h
+++ b/Source/testing/runner/TestRunner.h
@@ -241,8 +241,8 @@ private:
// Forces the selection colors for testing under Linux.
void forceRedSelectionColors(const CppArgumentList&, CppVariant*);
- // Adds a user style sheet to be injected into new documents.
- void addUserStyleSheet(const CppArgumentList&, CppVariant*);
+ // Adds a style sheet to be injected into new documents.
+ void injectStyleSheet(const CppArgumentList&, CppVariant*);
void startSpeechInput(const CppArgumentList&, CppVariant*);
@@ -297,11 +297,6 @@ private:
///////////////////////////////////////////////////////////////////////////
// Methods modifying WebPreferences.
- // Passes through to WebPreferences which allows the user to have a custom
- // style sheet.
- void setUserStyleSheetEnabled(const CppArgumentList&, CppVariant*);
- void setUserStyleSheetLocation(const CppArgumentList&, CppVariant*);
-
// Passes this preference through to WebSettings.
void setAuthorAndUserStylesEnabled(const CppArgumentList&, CppVariant*);
@@ -579,8 +574,6 @@ private:
WorkQueue m_workQueue;
- blink::WebURL m_userStyleSheetLocation;
-
// globalFlag is used by a number of layout tests in http/tests/security/dataURL.
CppVariant m_globalFlag;

Powered by Google App Engine
This is Rietveld 408576698