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

Side by Side Diff: Source/core/inspector/InspectorDebuggerAgent.h

Issue 15096004: Passing hit breakpoint IDs to ScriptDebugServer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. 3 * Copyright (C) 2010-2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 virtual void startListeningScriptDebugServer() = 0; 137 virtual void startListeningScriptDebugServer() = 0;
138 virtual void stopListeningScriptDebugServer() = 0; 138 virtual void stopListeningScriptDebugServer() = 0;
139 virtual void muteConsole() = 0; 139 virtual void muteConsole() = 0;
140 virtual void unmuteConsole() = 0; 140 virtual void unmuteConsole() = 0;
141 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana ger; } 141 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana ger; }
142 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut ionContextId) = 0; 142 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut ionContextId) = 0;
143 143
144 virtual void enable(); 144 virtual void enable();
145 virtual void disable(); 145 virtual void disable();
146 virtual void didPause(ScriptState*, const ScriptValue& callFrames, const Scr iptValue& exception); 146 virtual void didPause(ScriptState*, const ScriptValue& callFrames, const Scr iptValue& exception, const Vector<String>& hitBreakpoints);
147 virtual void didContinue(); 147 virtual void didContinue();
148 void reset(); 148 void reset();
149 149
150 private: 150 private:
151 bool enabled(); 151 bool enabled();
152 152
153 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal lFrames(); 153 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCal lFrames();
154 154
155 virtual void didParseSource(const String& scriptId, const Script&); 155 virtual void didParseSource(const String& scriptId, const Script&);
156 virtual void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage); 156 virtual void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage);
(...skipping 20 matching lines...) Expand all
177 InspectorFrontend::Debugger::Reason::Enum m_breakReason; 177 InspectorFrontend::Debugger::Reason::Enum m_breakReason;
178 RefPtr<InspectorObject> m_breakAuxData; 178 RefPtr<InspectorObject> m_breakAuxData;
179 bool m_javaScriptPauseScheduled; 179 bool m_javaScriptPauseScheduled;
180 Listener* m_listener; 180 Listener* m_listener;
181 }; 181 };
182 182
183 } // namespace WebCore 183 } // namespace WebCore
184 184
185 185
186 #endif // !defined(InspectorDebuggerAgent_h) 186 #endif // !defined(InspectorDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698