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

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

Issue 15832007: DevTools: Add support for //# sourceURL (sourceMappingURL) comments and deprecate //@ ones (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 7 years, 6 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 protected: 138 protected:
139 InspectorDebuggerAgent(InstrumentingAgents*, InspectorCompositeState*, Injec tedScriptManager*); 139 InspectorDebuggerAgent(InstrumentingAgents*, InspectorCompositeState*, Injec tedScriptManager*);
140 140
141 virtual void startListeningScriptDebugServer() = 0; 141 virtual void startListeningScriptDebugServer() = 0;
142 virtual void stopListeningScriptDebugServer() = 0; 142 virtual void stopListeningScriptDebugServer() = 0;
143 virtual void muteConsole() = 0; 143 virtual void muteConsole() = 0;
144 virtual void unmuteConsole() = 0; 144 virtual void unmuteConsole() = 0;
145 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana ger; } 145 InjectedScriptManager* injectedScriptManager() { return m_injectedScriptMana ger; }
146 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut ionContextId) = 0; 146 virtual InjectedScript injectedScriptForEval(ErrorString*, const int* execut ionContextId) = 0;
147 virtual void addConsoleMessage(MessageSource, MessageLevel, const String& me ssage, const String& sourceURL) = 0;
147 148
148 virtual void enable(); 149 virtual void enable();
149 virtual void disable(); 150 virtual void disable();
150 virtual void didPause(ScriptState*, const ScriptValue& callFrames, const Scr iptValue& exception); 151 virtual void didPause(ScriptState*, const ScriptValue& callFrames, const Scr iptValue& exception);
151 virtual void didContinue(); 152 virtual void didContinue();
152 void reset(); 153 void reset();
153 154
154 private: 155 private:
155 void cancelPauseOnNextStatement(); 156 void cancelPauseOnNextStatement();
156 void addMessageToConsole(MessageSource, MessageType); 157 void addMessageToConsole(MessageSource, MessageType);
(...skipping 27 matching lines...) Expand all
184 InspectorFrontend::Debugger::Reason::Enum m_breakReason; 185 InspectorFrontend::Debugger::Reason::Enum m_breakReason;
185 RefPtr<InspectorObject> m_breakAuxData; 186 RefPtr<InspectorObject> m_breakAuxData;
186 bool m_javaScriptPauseScheduled; 187 bool m_javaScriptPauseScheduled;
187 Listener* m_listener; 188 Listener* m_listener;
188 }; 189 };
189 190
190 } // namespace WebCore 191 } // namespace WebCore
191 192
192 193
193 #endif // !defined(InspectorDebuggerAgent_h) 194 #endif // !defined(InspectorDebuggerAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/ContentSearchUtils.cpp ('k') | Source/core/inspector/InspectorDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698