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

Side by Side Diff: Source/bindings/core/dart/DartInspectorRuntimeAgent.cpp

Issue 1672443003: Fix devtools bugs Fix a spurious layout test failure (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/2454_1
Patch Set: Created 4 years, 10 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 #include "config.h" 1 #include "config.h"
2 #include "bindings/core/dart/DartInspectorRuntimeAgent.h" 2 #include "bindings/core/dart/DartInspectorRuntimeAgent.h"
3 3
4 #include "bindings/core/v8/ScriptState.h" 4 #include "bindings/core/v8/ScriptState.h"
5 #include "bindings/core/dart/DartInjectedScript.h" 5 #include "bindings/core/dart/DartInjectedScript.h"
6 #include "bindings/core/dart/DartInjectedScriptManager.h" 6 #include "bindings/core/dart/DartInjectedScriptManager.h"
7 #include "bindings/core/dart/DartScriptState.h"
7 #include "bindings/core/dart/DartScriptDebugServer.h" 8 #include "bindings/core/dart/DartScriptDebugServer.h"
8 #include "core/inspector/InjectedScript.h" 9 #include "core/inspector/InjectedScript.h"
9 #include "core/inspector/InspectorState.h" 10 #include "core/inspector/InspectorState.h"
10 #include "core/inspector/V8Debugger.h" 11 #include "core/inspector/V8Debugger.h"
11 #include "platform/JSONValues.h" 12 #include "platform/JSONValues.h"
12 13
13 using blink::TypeBuilder::Runtime::ExecutionContextDescription; 14 using blink::TypeBuilder::Runtime::ExecutionContextDescription;
14 15
15 namespace blink { 16 namespace blink {
16 17
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 DartInjectedScript* injectedScript = m_injectedScriptManager->injectedScript ForObjectId(objectId); 144 DartInjectedScript* injectedScript = m_injectedScriptManager->injectedScript ForObjectId(objectId);
144 if (injectedScript) 145 if (injectedScript)
145 injectedScript->releaseObject(objectId); 146 injectedScript->releaseObject(objectId);
146 } 147 }
147 148
148 void DartInspectorRuntimeAgent::releaseObjectGroup(ErrorString*, const String& o bjectGroup) 149 void DartInspectorRuntimeAgent::releaseObjectGroup(ErrorString*, const String& o bjectGroup)
149 { 150 {
150 m_injectedScriptManager->releaseObjectGroup(objectGroup); 151 m_injectedScriptManager->releaseObjectGroup(objectGroup);
151 } 152 }
152 153
153 int DartInspectorRuntimeAgent::addExecutionContextToFrontendHelper(DartScriptSta te* scriptState, bool isPageContext, const String& name, const String& frameId) 154 void DartInspectorRuntimeAgent::addExecutionContextToFrontendHelper(DartScriptSt ate* scriptState, bool isPageContext, const String& name, const String& frameId)
154 { 155 {
155 return m_injectedScriptManager->injectedScriptIdFor(scriptState); 156 m_inspectorRuntimeAgent->addExecutionContextToFrontendDart(m_injectedScriptM anager->injectedScriptIdFor(scriptState), "", "", name, frameId, "Dart", script State->libraryId());
156 } 157 }
157 158
158 } // namespace blink 159 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/core/dart/DartInspectorRuntimeAgent.h ('k') | Source/core/inspector/InspectorBaseAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698