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

Side by Side Diff: Source/bindings/core/v8/ScriptDebugServer.h

Issue 626693003: Clean up forward declarations and include files in Source/bindings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010, Google Inc. All rights reserved. 2 * Copyright (c) 2010, 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 14 matching lines...) Expand all
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef ScriptDebugServer_h 31 #ifndef ScriptDebugServer_h
32 #define ScriptDebugServer_h 32 #define ScriptDebugServer_h
33 33
34 #include "bindings/core/v8/ScopedPersistent.h" 34 #include "bindings/core/v8/ScopedPersistent.h"
35 #include "core/InspectorBackendDispatcher.h"
36 #include "core/inspector/ScriptBreakpoint.h" 35 #include "core/inspector/ScriptBreakpoint.h"
37 #include "core/inspector/ScriptCallStack.h" 36 #include "core/inspector/ScriptCallStack.h"
38 #include "core/inspector/ScriptDebugListener.h" 37 #include "core/inspector/ScriptDebugListener.h"
39 #include "wtf/HashMap.h" 38 #include "wtf/HashMap.h"
40 #include "wtf/Noncopyable.h"
41 #include "wtf/PassOwnPtr.h" 39 #include "wtf/PassOwnPtr.h"
42 #include "wtf/text/StringHash.h"
43 #include "wtf/text/WTFString.h"
44 #include <v8-debug.h> 40 #include <v8-debug.h>
45 #include <v8.h> 41 #include <v8.h>
46 42
47 namespace blink { 43 namespace blink {
48 44
49 class ScriptState; 45 class ScriptState;
50 class ScriptController;
51 class ScriptDebugListener; 46 class ScriptDebugListener;
52 class ScriptSourceCode; 47 class ScriptSourceCode;
53 class ScriptValue; 48 class ScriptValue;
54 class JavaScriptCallFrame; 49 class JavaScriptCallFrame;
55 50
56 class ScriptDebugServer { 51 class ScriptDebugServer {
57 WTF_MAKE_NONCOPYABLE(ScriptDebugServer); 52 WTF_MAKE_NONCOPYABLE(ScriptDebugServer);
58 public: 53 public:
59 String setBreakpoint(const String& sourceID, const ScriptBreakpoint&, int* a ctualLineNumber, int* actualColumnNumber, bool interstatementLocation); 54 String setBreakpoint(const String& sourceID, const ScriptBreakpoint&, int* a ctualLineNumber, int* actualColumnNumber, bool interstatementLocation);
60 void removeBreakpoint(const String& breakpointId); 55 void removeBreakpoint(const String& breakpointId);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 153
159 void handleV8PromiseEvent(ScriptDebugListener*, ScriptState* pausedScriptSta te, v8::Handle<v8::Object> executionState, v8::Handle<v8::Object> eventData); 154 void handleV8PromiseEvent(ScriptDebugListener*, ScriptState* pausedScriptSta te, v8::Handle<v8::Object> executionState, v8::Handle<v8::Object> eventData);
160 155
161 bool m_runningNestedMessageLoop; 156 bool m_runningNestedMessageLoop;
162 }; 157 };
163 158
164 } // namespace blink 159 } // namespace blink
165 160
166 161
167 #endif // ScriptDebugServer_h 162 #endif // ScriptDebugServer_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/ScriptController.h ('k') | Source/bindings/core/v8/ScriptPreprocessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698