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

Side by Side Diff: sky/engine/v8_inspector/PageScriptDebugServer.h

Issue 771323002: Remove a couple more core/ header includes from v8_inspector (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 Google Inc. All rights reserved. 2 * Copyright (c) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 virtual void compileScript(ScriptState*, const String& expression, const Str ing& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtr<ScriptCallStack>* stackTrace) override; 78 virtual void compileScript(ScriptState*, const String& expression, const Str ing& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtr<ScriptCallStack>* stackTrace) override;
79 virtual void clearCompiledScripts() override; 79 virtual void clearCompiledScripts() override;
80 virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* re sult, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* colum nNumber, RefPtr<ScriptCallStack>* stackTrace) override; 80 virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* re sult, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* colum nNumber, RefPtr<ScriptCallStack>* stackTrace) override;
81 virtual void setPreprocessorSource(const String&) override; 81 virtual void setPreprocessorSource(const String&) override;
82 virtual void preprocessBeforeCompile(const v8::Debug::EventDetails&) overrid e; 82 virtual void preprocessBeforeCompile(const v8::Debug::EventDetails&) overrid e;
83 virtual PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSou rceCode&) override; 83 virtual PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSou rceCode&) override;
84 virtual String preprocessEventListener(LocalFrame*, const String& source, co nst String& url, const String& functionName) override; 84 virtual String preprocessEventListener(LocalFrame*, const String& source, co nst String& url, const String& functionName) override;
85 virtual void clearPreprocessor() override; 85 virtual void clearPreprocessor() override;
86 86
87 virtual void muteWarningsAndDeprecations() override;
88 virtual void unmuteWarningsAndDeprecations() override;
89
90 private: 87 private:
91 PageScriptDebugServer(); 88 PageScriptDebugServer();
92 virtual ~PageScriptDebugServer(); 89 virtual ~PageScriptDebugServer();
93 90
94 virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Conte xt>) override; 91 virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Conte xt>) override;
95 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>) override; 92 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>) override;
96 virtual void quitMessageLoopOnPause() override; 93 virtual void quitMessageLoopOnPause() override;
97 94
98 typedef HashMap<inspector::InspectorHost*, ScriptDebugListener*> ListenersMa p; 95 typedef HashMap<inspector::InspectorHost*, ScriptDebugListener*> ListenersMa p;
99 ListenersMap m_listenersMap; 96 ListenersMap m_listenersMap;
100 OwnPtr<ClientMessageLoop> m_clientMessageLoop; 97 OwnPtr<ClientMessageLoop> m_clientMessageLoop;
101 OwnPtr<InspectorHostResolver> m_inspectorHostResolver; 98 OwnPtr<InspectorHostResolver> m_inspectorHostResolver;
102 inspector::InspectorHost* m_pausedHost; 99 inspector::InspectorHost* m_pausedHost;
103 HashMap<String, String> m_compiledScriptURLs; 100 HashMap<String, String> m_compiledScriptURLs;
104 101
105 OwnPtr<ScriptSourceCode> m_preprocessorSourceCode; 102 OwnPtr<ScriptSourceCode> m_preprocessorSourceCode;
106 OwnPtr<ScriptPreprocessor> m_scriptPreprocessor; 103 OwnPtr<ScriptPreprocessor> m_scriptPreprocessor;
107 bool canPreprocess(LocalFrame*); 104 bool canPreprocess(LocalFrame*);
108 static v8::Isolate* s_mainThreadIsolate; 105 static v8::Isolate* s_mainThreadIsolate;
109 }; 106 };
110 107
111 } // namespace blink 108 } // namespace blink
112 109
113 110
114 #endif // SKY_ENGINE_V8_INSPECTOR_PAGESCRIPTDEBUGSERVER_H_ 111 #endif // SKY_ENGINE_V8_INSPECTOR_PAGESCRIPTDEBUGSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698