OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 }; | 96 }; |
97 | 97 |
98 virtual ~ScriptDebugListener() { } | 98 virtual ~ScriptDebugListener() { } |
99 | 99 |
100 virtual void didParseSource(const String& scriptId, const Script&, CompileRe
sult) = 0; | 100 virtual void didParseSource(const String& scriptId, const Script&, CompileRe
sult) = 0; |
101 virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrame
s, const ScriptValue& exception, const Vector<String>& hitBreakpoints, bool isPr
omiseRejection) = 0; | 101 virtual SkipPauseRequest didPause(ScriptState*, const ScriptValue& callFrame
s, const ScriptValue& exception, const Vector<String>& hitBreakpoints, bool isPr
omiseRejection) = 0; |
102 virtual void didContinue() = 0; | 102 virtual void didContinue() = 0; |
103 virtual bool v8AsyncTaskEventsEnabled() const = 0; | 103 virtual bool v8AsyncTaskEventsEnabled() const = 0; |
104 virtual void didReceiveV8AsyncTaskEvent(ExecutionContext*, const String& eve
ntType, const String& eventName, int id) = 0; | 104 virtual void didReceiveV8AsyncTaskEvent(ExecutionContext*, const String& eve
ntType, const String& eventName, int id) = 0; |
105 virtual bool v8PromiseEventsEnabled() const = 0; | 105 virtual bool v8PromiseEventsEnabled() const = 0; |
106 virtual void didReceiveV8PromiseEvent(ScriptState*, v8::Handle<v8::Object> p
romise, v8::Handle<v8::Value> parentPromise, int status) = 0; | 106 virtual void didReceiveV8PromiseEvent(ScriptState*, v8::Local<v8::Object> pr
omise, v8::Local<v8::Value> parentPromise, int status) = 0; |
107 }; | 107 }; |
108 | 108 |
109 } // namespace blink | 109 } // namespace blink |
110 | 110 |
111 | 111 |
112 #endif // ScriptDebugListener_h | 112 #endif // ScriptDebugListener_h |
OLD | NEW |