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; |
+}; |