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

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

Issue 1249013002: DevTools: simplify setScriptSource and restartFrame return values (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 bool isAsyncCallStack, 85 bool isAsyncCallStack,
86 const String& callFrameId, 86 const String& callFrameId,
87 const String& expression, 87 const String& expression,
88 const String& objectGroup, 88 const String& objectGroup,
89 bool includeCommandLineAPI, 89 bool includeCommandLineAPI,
90 bool returnByValue, 90 bool returnByValue,
91 bool generatePreview, 91 bool generatePreview,
92 RefPtr<TypeBuilder::Runtime::RemoteObject>* result, 92 RefPtr<TypeBuilder::Runtime::RemoteObject>* result,
93 TypeBuilder::OptOutput<bool>* wasThrown, 93 TypeBuilder::OptOutput<bool>* wasThrown,
94 RefPtr<TypeBuilder::Debugger::ExceptionDetails>*); 94 RefPtr<TypeBuilder::Debugger::ExceptionDetails>*);
95 void restartFrame(ErrorString*, v8::Local<v8::Object> callFrames, const Stri ng& callFrameId, RefPtr<JSONObject>* result); 95 void restartFrame(ErrorString*, v8::Local<v8::Object> callFrames, const Stri ng& callFrameId);
96 void getStepInPositions(ErrorString*, v8::Local<v8::Object> callFrames, cons t String& callFrameId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location >>& positions); 96 void getStepInPositions(ErrorString*, v8::Local<v8::Object> callFrames, cons t String& callFrameId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location >>& positions);
97 void setVariableValue(ErrorString*, v8::Local<v8::Object> callFrames, const String* callFrameIdOpt, const String* functionObjectIdOpt, int scopeNumber, cons t String& variableName, const String& newValueStr); 97 void setVariableValue(ErrorString*, v8::Local<v8::Object> callFrames, const String* callFrameIdOpt, const String* functionObjectIdOpt, int scopeNumber, cons t String& variableName, const String& newValueStr);
98 void getFunctionDetails(ErrorString*, const String& functionId, RefPtr<TypeB uilder::Debugger::FunctionDetails>* result); 98 void getFunctionDetails(ErrorString*, const String& functionId, RefPtr<TypeB uilder::Debugger::FunctionDetails>* result);
99 void getGeneratorObjectDetails(ErrorString*, const String& functionId, RefPt r<TypeBuilder::Debugger::GeneratorObjectDetails>* result); 99 void getGeneratorObjectDetails(ErrorString*, const String& functionId, RefPt r<TypeBuilder::Debugger::GeneratorObjectDetails>* result);
100 void getCollectionEntries(ErrorString*, const String& objectId, RefPtr<TypeB uilder::Array<TypeBuilder::Debugger::CollectionEntry> >* result); 100 void getCollectionEntries(ErrorString*, const String& objectId, RefPtr<TypeB uilder::Array<TypeBuilder::Debugger::CollectionEntry> >* result);
101 void getProperties(ErrorString*, const String& objectId, bool ownProperties, bool accessorPropertiesOnly, bool generatePreview, RefPtr<TypeBuilder::Array<Ty peBuilder::Runtime::PropertyDescriptor>>* result, RefPtr<TypeBuilder::Debugger:: ExceptionDetails>*); 101 void getProperties(ErrorString*, const String& objectId, bool ownProperties, bool accessorPropertiesOnly, bool generatePreview, RefPtr<TypeBuilder::Array<Ty peBuilder::Runtime::PropertyDescriptor>>* result, RefPtr<TypeBuilder::Debugger:: ExceptionDetails>*);
102 void getInternalProperties(ErrorString*, const String& objectId, RefPtr<Type Builder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor>>* result, RefPt r<TypeBuilder::Debugger::ExceptionDetails>*); 102 void getInternalProperties(ErrorString*, const String& objectId, RefPtr<Type Builder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor>>* result, RefPt r<TypeBuilder::Debugger::ExceptionDetails>*);
103 void releaseObject(const String& objectId); 103 void releaseObject(const String& objectId);
104 104
105 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame>> wrapCallFra mes(v8::Local<v8::Object>, int asyncOrdinal); 105 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame>> wrapCallFra mes(v8::Local<v8::Object>, int asyncOrdinal);
(...skipping 21 matching lines...) Expand all
127 void makeCallWithExceptionDetails(ScriptFunctionCall&, RefPtr<JSONValue>* re sult, RefPtr<TypeBuilder::Debugger::ExceptionDetails>*); 127 void makeCallWithExceptionDetails(ScriptFunctionCall&, RefPtr<JSONValue>* re sult, RefPtr<TypeBuilder::Debugger::ExceptionDetails>*);
128 128
129 ScriptValue m_injectedScriptObject; 129 ScriptValue m_injectedScriptObject;
130 InspectedStateAccessCheck m_inspectedStateAccessCheck; 130 InspectedStateAccessCheck m_inspectedStateAccessCheck;
131 RefPtr<InjectedScriptNative> m_native; 131 RefPtr<InjectedScriptNative> m_native;
132 }; 132 };
133 133
134 } // namespace blink 134 } // namespace blink
135 135
136 #endif 136 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698