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

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

Issue 19064004: Support re-reading scope variables in protocol and on backed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: follow code review Created 7 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 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const bool* includeCommandLineAPI, 110 const bool* includeCommandLineAPI,
111 const bool* doNotPauseOnExceptionsAndMuteConsole, 111 const bool* doNotPauseOnExceptionsAndMuteConsole,
112 const bool* returnByValue, 112 const bool* returnByValue,
113 const bool* generatePreview, 113 const bool* generatePreview,
114 RefPtr<TypeBuilder::Runtime::RemoteObject>& result, 114 RefPtr<TypeBuilder::Runtime::RemoteObject>& result,
115 TypeBuilder::OptOutput<bool>* wasThrown); 115 TypeBuilder::OptOutput<bool>* wasThrown);
116 void compileScript(ErrorString*, const String& expression, const String& sou rceURL, TypeBuilder::OptOutput<TypeBuilder::Debugger::ScriptId>*, TypeBuilder::O ptOutput<String>* syntaxErrorMessage); 116 void compileScript(ErrorString*, const String& expression, const String& sou rceURL, TypeBuilder::OptOutput<TypeBuilder::Debugger::ScriptId>*, TypeBuilder::O ptOutput<String>* syntaxErrorMessage);
117 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); 117 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);
118 virtual void setOverlayMessage(ErrorString*, const String*); 118 virtual void setOverlayMessage(ErrorString*, const String*);
119 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); 119 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);
120 virtual void updateCallFrameScopes(ErrorString*, const WTF::String& callFram eId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Scope> >& scopeChain);
120 121
121 void schedulePauseOnNextStatement(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data); 122 void schedulePauseOnNextStatement(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data);
122 void didFireTimer(); 123 void didFireTimer();
123 void didHandleEvent(); 124 void didHandleEvent();
124 bool canBreakProgram(); 125 bool canBreakProgram();
125 void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, Pas sRefPtr<JSONObject> data); 126 void breakProgram(InspectorFrontend::Debugger::Reason::Enum breakReason, Pas sRefPtr<JSONObject> data);
126 virtual void scriptExecutionBlockedByCSP(const String& directiveText); 127 virtual void scriptExecutionBlockedByCSP(const String& directiveText);
127 128
128 class Listener { 129 class Listener {
129 public: 130 public:
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 InspectorFrontend::Debugger::Reason::Enum m_breakReason; 196 InspectorFrontend::Debugger::Reason::Enum m_breakReason;
196 RefPtr<JSONObject> m_breakAuxData; 197 RefPtr<JSONObject> m_breakAuxData;
197 bool m_javaScriptPauseScheduled; 198 bool m_javaScriptPauseScheduled;
198 Listener* m_listener; 199 Listener* m_listener;
199 }; 200 };
200 201
201 } // namespace WebCore 202 } // namespace WebCore
202 203
203 204
204 #endif // !defined(InspectorDebuggerAgent_h) 205 #endif // !defined(InspectorDebuggerAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InjectedScriptSource.js ('k') | Source/core/inspector/InspectorDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698