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

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

Issue 272613002: DevTools: implemented scriptFailedToParse protocol event (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Conte xt>) = 0; 118 virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Conte xt>) = 0;
119 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>) = 0; 119 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>) = 0;
120 virtual void quitMessageLoopOnPause() = 0; 120 virtual void quitMessageLoopOnPause() = 0;
121 121
122 static void breakProgramCallback(const v8::FunctionCallbackInfo<v8::Value>&) ; 122 static void breakProgramCallback(const v8::FunctionCallbackInfo<v8::Value>&) ;
123 void handleProgramBreak(ScriptState* pausedScriptState, v8::Handle<v8::Objec t> executionState, v8::Handle<v8::Value> exception, v8::Handle<v8::Array> hitBre akpoints); 123 void handleProgramBreak(ScriptState* pausedScriptState, v8::Handle<v8::Objec t> executionState, v8::Handle<v8::Value> exception, v8::Handle<v8::Array> hitBre akpoints);
124 124
125 static void v8DebugEventCallback(const v8::Debug::EventDetails& eventDetails ); 125 static void v8DebugEventCallback(const v8::Debug::EventDetails& eventDetails );
126 void handleV8DebugEvent(const v8::Debug::EventDetails& eventDetails); 126 void handleV8DebugEvent(const v8::Debug::EventDetails& eventDetails);
127 127
128 void dispatchDidParseSource(ScriptDebugListener* listener, v8::Handle<v8::Ob ject> sourceObject); 128 void dispatchDidParseSource(ScriptDebugListener*, v8::Handle<v8::Object> sou rceObject, bool hasSyntaxError);
129 129
130 void ensureDebuggerScriptCompiled(); 130 void ensureDebuggerScriptCompiled();
131 void discardDebuggerScript(); 131 void discardDebuggerScript();
132 132
133 PauseOnExceptionsState m_pauseOnExceptionsState; 133 PauseOnExceptionsState m_pauseOnExceptionsState;
134 ScopedPersistent<v8::Object> m_debuggerScript; 134 ScopedPersistent<v8::Object> m_debuggerScript;
135 v8::Local<v8::Object> m_executionState; 135 v8::Local<v8::Object> m_executionState;
136 RefPtr<ScriptState> m_pausedScriptState; 136 RefPtr<ScriptState> m_pausedScriptState;
137 bool m_breakpointsActivated; 137 bool m_breakpointsActivated;
138 ScopedPersistent<v8::FunctionTemplate> m_breakProgramCallbackTemplate; 138 ScopedPersistent<v8::FunctionTemplate> m_breakProgramCallbackTemplate;
(...skipping 11 matching lines...) Expand all
150 150
151 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> wrapCallFrames(int maximumLimit, ScopeInfoDetails); 151 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> wrapCallFrames(int maximumLimit, ScopeInfoDetails);
152 152
153 bool m_runningNestedMessageLoop; 153 bool m_runningNestedMessageLoop;
154 }; 154 };
155 155
156 } // namespace WebCore 156 } // namespace WebCore
157 157
158 158
159 #endif // ScriptDebugServer_h 159 #endif // ScriptDebugServer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698