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

Unified Diff: sky/engine/core/inspector/JavaScriptCallFrame.idl

Issue 723773002: Bring back ScriptDebugServer and associated machinery (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/inspector/JavaScriptCallFrame.cpp ('k') | sky/engine/core/inspector/ScriptBreakpoint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/inspector/JavaScriptCallFrame.idl
diff --git a/sky/engine/core/css/CSSFunctionValue.h b/sky/engine/core/inspector/JavaScriptCallFrame.idl
similarity index 50%
copy from sky/engine/core/css/CSSFunctionValue.h
copy to sky/engine/core/inspector/JavaScriptCallFrame.idl
index caa8af887513cf699467613b5be230c02c26e59c..e6213a55e4bed869a79d8fc3413f13d2cd480056 100644
--- a/sky/engine/core/css/CSSFunctionValue.h
+++ b/sky/engine/core/inspector/JavaScriptCallFrame.idl
@@ -23,40 +23,34 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CSSFunctionValue_h
-#define CSSFunctionValue_h
-
-#include "core/css/CSSValue.h"
-
-namespace blink {
-
-class CSSValueList;
-
-class CSSFunctionValue : public CSSValue {
-public:
- static PassRefPtr<CSSFunctionValue> create(String name, PassRefPtr<CSSValueList> args)
- {
- return adoptRef(new CSSFunctionValue(name, args));
- }
-
- String customCSSText() const;
-
- bool equals(const CSSFunctionValue&) const;
-
- CSSValueList* arguments() const { return m_args.get(); }
-
- void traceAfterDispatch(Visitor*);
-
-private:
- CSSFunctionValue(String, PassRefPtr<CSSValueList>);
-
- String m_name;
- RefPtr<CSSValueList> m_args;
-};
-
-DEFINE_CSS_VALUE_TYPE_CASTS(CSSFunctionValue, isFunctionValue());
-
-} // namespace blink
-
-#endif
-
+[
+ NoInterfaceObject,
+ DoNotCheckConstants
+] interface JavaScriptCallFrame {
+
+ // Scope type
+ const unsigned short GLOBAL_SCOPE = 0;
+ const unsigned short LOCAL_SCOPE = 1;
+ const unsigned short WITH_SCOPE = 2;
+ const unsigned short CLOSURE_SCOPE = 3;
+ const unsigned short CATCH_SCOPE = 4;
+
+ [Custom] void evaluateWithExceptionDetails(DOMString script);
+ [Custom] any restart();
+
+ // Only declarative scope (local, with and catch) is accepted. Returns undefined.
+ [CallWith=ScriptState] any setVariableValue([Default=Undefined] optional long scopeIndex, [TreatUndefinedAs=NullString, Default=Undefined] optional DOMString? variableName, [Default=Undefined] optional any newValue);
+
+ readonly attribute JavaScriptCallFrame caller;
+ readonly attribute long sourceID;
+ readonly attribute long line;
+ readonly attribute long column;
+ [Custom=Getter] readonly attribute object scopeChain;
+ [Custom] unsigned short scopeType(long scopeIndex);
+ [Custom=Getter] readonly attribute object thisObject;
+ readonly attribute DOMString stepInPositions;
+ readonly attribute DOMString functionName;
+ [Custom=Getter] readonly attribute DOMString type;
+ readonly attribute boolean isAtReturn;
+ [Custom=Getter] readonly attribute any returnValue;
+};
« no previous file with comments | « sky/engine/core/inspector/JavaScriptCallFrame.cpp ('k') | sky/engine/core/inspector/ScriptBreakpoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698