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

Unified Diff: Source/bindings/core/v8/PageScriptDebugServer.h

Issue 761143003: DevTools: remove ScriptPreprocessor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 10 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/bindings/core/v8/DOMWrapperWorld.h ('k') | Source/bindings/core/v8/PageScriptDebugServer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/PageScriptDebugServer.h
diff --git a/Source/bindings/core/v8/PageScriptDebugServer.h b/Source/bindings/core/v8/PageScriptDebugServer.h
index 3c702e06642e64a61c2e15f09d7d15c950d3191a..6c8a3a008a7fb0213de2f4cce1d85c6f79c562e0 100644
--- a/Source/bindings/core/v8/PageScriptDebugServer.h
+++ b/Source/bindings/core/v8/PageScriptDebugServer.h
@@ -32,13 +32,11 @@
#define PageScriptDebugServer_h
#include "bindings/core/v8/ScriptDebugServer.h"
-#include "bindings/core/v8/ScriptSourceCode.h"
#include <v8.h>
namespace blink {
class Page;
-class ScriptPreprocessor;
class PageScriptDebugServer final : public ScriptDebugServer {
WTF_MAKE_NONCOPYABLE(PageScriptDebugServer);
@@ -66,11 +64,6 @@ public:
void compileScript(ScriptState*, const String& expression, const String& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) override;
void clearCompiledScripts() override;
void runScript(ScriptState*, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) override;
- void setPreprocessorSource(const String&) override;
- void preprocessBeforeCompile(const v8::Debug::EventDetails&) override;
- ScriptSourceCode preprocess(LocalFrame*, const ScriptSourceCode&) override;
- String preprocessEventListener(LocalFrame*, const String& source, const String& url, const String& functionName) override;
- void clearPreprocessor() override;
void muteWarningsAndDeprecations() override;
void unmuteWarningsAndDeprecations() override;
@@ -88,9 +81,6 @@ private:
RawPtrWillBeMember<LocalFrame> m_pausedFrame;
HashMap<String, String> m_compiledScriptURLs;
- ScriptSourceCode m_preprocessorSourceCode;
- OwnPtr<ScriptPreprocessor> m_scriptPreprocessor;
- bool canPreprocess(LocalFrame*);
static v8::Isolate* s_mainThreadIsolate;
};
« no previous file with comments | « Source/bindings/core/v8/DOMWrapperWorld.h ('k') | Source/bindings/core/v8/PageScriptDebugServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698