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

Unified Diff: Source/WebKit/chromium/public/WebView.h

Issue 14188004: Remove UserScript support, which is not used by Chromium (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove one more test Created 7 years, 8 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/WebCore/page/UserScriptTypes.h ('k') | Source/WebKit/chromium/src/AssertMatchingEnums.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/public/WebView.h
diff --git a/Source/WebKit/chromium/public/WebView.h b/Source/WebKit/chromium/public/WebView.h
index 7df60e4492f9c54556c155d8a0252d59bf70e770..a172b5cc07bb01f4858c3244475a0f19d0d58054 100644
--- a/Source/WebKit/chromium/public/WebView.h
+++ b/Source/WebKit/chromium/public/WebView.h
@@ -73,12 +73,6 @@ public:
WEBKIT_EXPORT static const float minPageScaleFactor;
WEBKIT_EXPORT static const float maxPageScaleFactor;
- // Controls the time that user scripts injected into the document run.
- enum UserScriptInjectAt {
- UserScriptInjectAtDocumentStart,
- UserScriptInjectAtDocumentEnd
- };
-
// Controls which frames user content is injected into.
enum UserContentInjectIn {
UserContentInjectInAllFrames,
@@ -444,10 +438,6 @@ public:
unsigned inactiveForegroundColor) = 0;
// User scripts --------------------------------------------------------
- WEBKIT_EXPORT static void addUserScript(const WebString& sourceCode,
- const WebVector<WebString>& patterns,
- UserScriptInjectAt injectAt,
- UserContentInjectIn injectIn);
WEBKIT_EXPORT static void addUserStyleSheet(const WebString& sourceCode,
const WebVector<WebString>& patterns,
UserContentInjectIn injectIn,
« no previous file with comments | « Source/WebCore/page/UserScriptTypes.h ('k') | Source/WebKit/chromium/src/AssertMatchingEnums.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698