| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 v8::Local<v8::FunctionTemplate> domTemplate(const void* domTemplateKey, v8::
FunctionCallback = 0, v8::Local<v8::Value> data = v8::Local<v8::Value>(), v8::Lo
cal<v8::Signature> = v8::Local<v8::Signature>(), int length = 0); | 91 v8::Local<v8::FunctionTemplate> domTemplate(const void* domTemplateKey, v8::
FunctionCallback = 0, v8::Local<v8::Value> data = v8::Local<v8::Value>(), v8::Lo
cal<v8::Signature> = v8::Local<v8::Signature>(), int length = 0); |
| 92 v8::Local<v8::FunctionTemplate> existingDOMTemplate(const void* domTemplateK
ey); | 92 v8::Local<v8::FunctionTemplate> existingDOMTemplate(const void* domTemplateK
ey); |
| 93 void setDOMTemplate(const void* domTemplateKey, v8::Local<v8::FunctionTempla
te>); | 93 void setDOMTemplate(const void* domTemplateKey, v8::Local<v8::FunctionTempla
te>); |
| 94 | 94 |
| 95 bool hasInstance(const WrapperTypeInfo* untrusted, v8::Local<v8::Value>); | 95 bool hasInstance(const WrapperTypeInfo* untrusted, v8::Local<v8::Value>); |
| 96 v8::Local<v8::Object> findInstanceInPrototypeChain(const WrapperTypeInfo*, v
8::Local<v8::Value>); | 96 v8::Local<v8::Object> findInstanceInPrototypeChain(const WrapperTypeInfo*, v
8::Local<v8::Value>); |
| 97 | 97 |
| 98 v8::Local<v8::Context> ensureScriptRegexpContext(); | 98 v8::Local<v8::Context> ensureScriptRegexpContext(); |
| 99 void clearScriptRegexpContext(); | 99 void clearScriptRegexpContext(); |
| 100 | 100 |
| 101 // EndOfScopeTasks are run by V8RecursionScope when control is returning | 101 // EndOfScopeTasks are run when control is returning |
| 102 // to C++ from script, after executing a script task (e.g. callback, | 102 // to C++ from script, after executing a script task (e.g. callback, |
| 103 // event) or microtasks (e.g. promise). This is explicitly needed for | 103 // event) or microtasks (e.g. promise). This is explicitly needed for |
| 104 // Indexed DB transactions per spec, but should in general be avoided. | 104 // Indexed DB transactions per spec, but should in general be avoided. |
| 105 void addEndOfScopeTask(PassOwnPtr<EndOfScopeTask>); | 105 void addEndOfScopeTask(PassOwnPtr<EndOfScopeTask>); |
| 106 void runEndOfScopeTasks(); | 106 void runEndOfScopeTasks(); |
| 107 void clearEndOfScopeTasks(); | 107 void clearEndOfScopeTasks(); |
| 108 | 108 |
| 109 void setThreadDebugger(PassOwnPtr<ThreadDebugger>); | 109 void setThreadDebugger(PassOwnPtr<ThreadDebugger>); |
| 110 ThreadDebugger* threadDebugger(); | 110 ThreadDebugger* threadDebugger(); |
| 111 | 111 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 132 bool m_isHandlingRecursionLevelError; | 132 bool m_isHandlingRecursionLevelError; |
| 133 bool m_isReportingException; | 133 bool m_isReportingException; |
| 134 | 134 |
| 135 Vector<OwnPtr<EndOfScopeTask>> m_endOfScopeTasks; | 135 Vector<OwnPtr<EndOfScopeTask>> m_endOfScopeTasks; |
| 136 OwnPtr<ThreadDebugger> m_threadDebugger; | 136 OwnPtr<ThreadDebugger> m_threadDebugger; |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 } // namespace blink | 139 } // namespace blink |
| 140 | 140 |
| 141 #endif // V8PerIsolateData_h | 141 #endif // V8PerIsolateData_h |
| OLD | NEW |