| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 void getScriptSource(const String& sourceID, String* scriptSource); | 71 void getScriptSource(const String& sourceID, String* scriptSource); |
| 72 void schedulePauseOnNextStatement(DebuggerEventType type, PassRefPtr<Inspect
orValue> data); | 72 void schedulePauseOnNextStatement(DebuggerEventType type, PassRefPtr<Inspect
orValue> data); |
| 73 void cancelPauseOnNextStatement(); | 73 void cancelPauseOnNextStatement(); |
| 74 void breakProgram(DebuggerEventType type, PassRefPtr<InspectorValue> data); | 74 void breakProgram(DebuggerEventType type, PassRefPtr<InspectorValue> data); |
| 75 void pause(); | 75 void pause(); |
| 76 void resume(); | 76 void resume(); |
| 77 void stepOver(); | 77 void stepOver(); |
| 78 void stepInto(); | 78 void stepInto(); |
| 79 void stepOut(); | 79 void stepOut(); |
| 80 void setPauseOnExceptionsState(long pauseState, long* newState); | 80 void setPauseOnExceptionsState(long pauseState, long* newState); |
| 81 void evaluateOnCallFrame(PassRefPtr<InspectorObject> callFrameId, const Stri
ng& expression, const String& objectGroup, RefPtr<InspectorValue>* result); | 81 void evaluateOnCallFrame(PassRefPtr<InspectorObject> callFrameId, const Stri
ng& expression, const String& objectGroup, bool includeCommandLineAPI, RefPtr<In
spectorValue>* result); |
| 82 void getCompletionsOnCallFrame(PassRefPtr<InspectorObject> callFrameId, cons
t String& expression, bool includeInspectorCommandLineAPI, RefPtr<InspectorValue
>* result); | 82 void getCompletionsOnCallFrame(PassRefPtr<InspectorObject> callFrameId, cons
t String& expression, bool includeCommandLineAPI, RefPtr<InspectorValue>* result
); |
| 83 | 83 |
| 84 void clearForPageNavigation(); | 84 void clearForPageNavigation(); |
| 85 | 85 |
| 86 private: | 86 private: |
| 87 InspectorDebuggerAgent(InspectorController*, InspectorFrontend*); | 87 InspectorDebuggerAgent(InspectorController*, InspectorFrontend*); |
| 88 | 88 |
| 89 PassRefPtr<InspectorValue> currentCallFrames(); | 89 PassRefPtr<InspectorValue> currentCallFrames(); |
| 90 | 90 |
| 91 virtual void didParseSource(const String& sourceID, const String& url, const
String& data, int lineOffset, int columnOffset, ScriptWorldType); | 91 virtual void didParseSource(const String& sourceID, const String& url, const
String& data, int lineOffset, int columnOffset, ScriptWorldType); |
| 92 virtual void failedToParseSource(const String& url, const String& data, int
firstLine, int errorLine, const String& errorMessage); | 92 virtual void failedToParseSource(const String& url, const String& data, int
firstLine, int errorLine, const String& errorMessage); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 106 HashMap<String, ScriptBreakpoints> m_stickyBreakpoints; | 106 HashMap<String, ScriptBreakpoints> m_stickyBreakpoints; |
| 107 RefPtr<InspectorObject> m_breakProgramDetails; | 107 RefPtr<InspectorObject> m_breakProgramDetails; |
| 108 bool m_javaScriptPauseScheduled; | 108 bool m_javaScriptPauseScheduled; |
| 109 }; | 109 }; |
| 110 | 110 |
| 111 } // namespace WebCore | 111 } // namespace WebCore |
| 112 | 112 |
| 113 #endif // ENABLE(JAVASCRIPT_DEBUGGER) && ENABLE(INSPECTOR) | 113 #endif // ENABLE(JAVASCRIPT_DEBUGGER) && ENABLE(INSPECTOR) |
| 114 | 114 |
| 115 #endif // !defined(InspectorDebuggerAgent_h) | 115 #endif // !defined(InspectorDebuggerAgent_h) |
| OLD | NEW |