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

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

Issue 83383002: DevTools: Allow setting -0 value to object property (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual void setScriptSource(ErrorString*, RefPtr<TypeBuilder::Debugger::Set ScriptSourceError>&, const String& scriptId, const String& newContent, const boo l* preview, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCa llFrames, RefPtr<JSONObject>& result); 103 virtual void setScriptSource(ErrorString*, RefPtr<TypeBuilder::Debugger::Set ScriptSourceError>&, const String& scriptId, const String& newContent, const boo l* preview, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCa llFrames, RefPtr<JSONObject>& result);
104 virtual void restartFrame(ErrorString*, const String& callFrameId, RefPtr<Ty peBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<JSON Object>& result); 104 virtual void restartFrame(ErrorString*, const String& callFrameId, RefPtr<Ty peBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<JSON Object>& result);
105 virtual void getScriptSource(ErrorString*, const String& scriptId, String* s criptSource); 105 virtual void getScriptSource(ErrorString*, const String& scriptId, String* s criptSource);
106 virtual void getFunctionDetails(ErrorString*, const String& functionId, RefP tr<TypeBuilder::Debugger::FunctionDetails>&); 106 virtual void getFunctionDetails(ErrorString*, const String& functionId, RefP tr<TypeBuilder::Debugger::FunctionDetails>&);
107 virtual void pause(ErrorString*); 107 virtual void pause(ErrorString*);
108 virtual void resume(ErrorString*); 108 virtual void resume(ErrorString*);
109 virtual void stepOver(ErrorString*, const String* callFrameId); 109 virtual void stepOver(ErrorString*, const String* callFrameId);
110 virtual void stepInto(ErrorString*); 110 virtual void stepInto(ErrorString*);
111 virtual void stepOut(ErrorString*, const String* callFrameId); 111 virtual void stepOut(ErrorString*, const String* callFrameId);
112 virtual void setPauseOnExceptions(ErrorString*, const String& pauseState); 112 virtual void setPauseOnExceptions(ErrorString*, const String& pauseState);
113 virtual void evaluateOnCallFrame(ErrorString*, 113 virtual void evaluateOnCallFrame(ErrorString*, const String& callFrameId, co nst String& expression, const String* objectGroup, const bool* includeCommandLin eAPI, const bool* doNotPauseOnExceptionsAndMuteConsole, const bool* returnByValu e, const bool* forceObjectId, const bool* generatePreview, RefPtr<TypeBuilder::R untime::RemoteObject>& result, TypeBuilder::OptOutput<bool>* wasThrown);
114 const String& callFrameId,
115 const String& expression,
116 const String* objectGroup,
117 const bool* includeCommandLineAPI,
118 const bool* doNotPauseOnExceptionsAndMuteConsole,
119 const bool* returnByValue,
120 const bool* generatePreview,
121 RefPtr<TypeBuilder::Runtime::RemoteObject>& result,
122 TypeBuilder::OptOutput<bool>* wasThrown);
123 void compileScript(ErrorString*, const String& expression, const String& sou rceURL, TypeBuilder::OptOutput<TypeBuilder::Debugger::ScriptId>*, TypeBuilder::O ptOutput<String>* syntaxErrorMessage); 114 void compileScript(ErrorString*, const String& expression, const String& sou rceURL, TypeBuilder::OptOutput<TypeBuilder::Debugger::ScriptId>*, TypeBuilder::O ptOutput<String>* syntaxErrorMessage);
124 void runScript(ErrorString*, const TypeBuilder::Debugger::ScriptId&, const i nt* executionContextId, const String* objectGroup, const bool* doNotPauseOnExcep tionsAndMuteConsole, RefPtr<TypeBuilder::Runtime::RemoteObject>& result, TypeBui lder::OptOutput<bool>* wasThrown); 115 void runScript(ErrorString*, const TypeBuilder::Debugger::ScriptId&, const i nt* executionContextId, const String* objectGroup, const bool* doNotPauseOnExcep tionsAndMuteConsole, RefPtr<TypeBuilder::Runtime::RemoteObject>& result, TypeBui lder::OptOutput<bool>* wasThrown);
125 virtual void setOverlayMessage(ErrorString*, const String*); 116 virtual void setOverlayMessage(ErrorString*, const String*);
126 virtual void setVariableValue(ErrorString*, int in_scopeNumber, const String & in_variableName, const RefPtr<JSONObject>& in_newValue, const String* in_callF rame, const String* in_functionObjectId); 117 virtual void setVariableValue(ErrorString*, int in_scopeNumber, const String & in_variableName, const RefPtr<JSONObject>& in_newValue, const String* in_callF rame, const String* in_functionObjectId);
127 virtual void skipStackFrames(ErrorString*, const String* pattern); 118 virtual void skipStackFrames(ErrorString*, const String* pattern);
128 119
129 void schedulePauseOnNextStatement(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data); 120 void schedulePauseOnNextStatement(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data);
130 void didFireTimer(); 121 void didFireTimer();
131 void didHandleEvent(); 122 void didHandleEvent();
132 bool canBreakProgram(); 123 bool canBreakProgram();
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 204
214 int m_skipStepInCount; 205 int m_skipStepInCount;
215 bool m_skipAllPauses; 206 bool m_skipAllPauses;
216 OwnPtr<RegularExpression> m_cachedSkipStackRegExp; 207 OwnPtr<RegularExpression> m_cachedSkipStackRegExp;
217 }; 208 };
218 209
219 } // namespace WebCore 210 } // namespace WebCore
220 211
221 212
222 #endif // !defined(InspectorDebuggerAgent_h) 213 #endif // !defined(InspectorDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698