| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 class DOMDataStore; | 45 class DOMDataStore; |
| 46 class StringCache; | 46 class StringCache; |
| 47 class V8Debugger; | 47 class V8Debugger; |
| 48 struct WrapperTypeInfo; | 48 struct WrapperTypeInfo; |
| 49 | 49 |
| 50 typedef WTF::Vector<DOMDataStore*> DOMDataStoreList; | 50 typedef WTF::Vector<DOMDataStore*> DOMDataStoreList; |
| 51 | 51 |
| 52 class CORE_EXPORT V8PerIsolateData { | 52 class CORE_EXPORT V8PerIsolateData { |
| 53 WTF_MAKE_FAST_ALLOCATED(V8PerIsolateData); |
| 53 WTF_MAKE_NONCOPYABLE(V8PerIsolateData); | 54 WTF_MAKE_NONCOPYABLE(V8PerIsolateData); |
| 54 public: | 55 public: |
| 55 class EndOfScopeTask { | 56 class EndOfScopeTask { |
| 57 WTF_MAKE_FAST_ALLOCATED(EndOfScopeTask); |
| 56 public: | 58 public: |
| 57 virtual ~EndOfScopeTask() { } | 59 virtual ~EndOfScopeTask() { } |
| 58 virtual void run() = 0; | 60 virtual void run() = 0; |
| 59 }; | 61 }; |
| 60 | 62 |
| 61 static v8::Isolate* initialize(); | 63 static v8::Isolate* initialize(); |
| 62 | 64 |
| 63 static V8PerIsolateData* from(v8::Isolate* isolate) | 65 static V8PerIsolateData* from(v8::Isolate* isolate) |
| 64 { | 66 { |
| 65 ASSERT(isolate); | 67 ASSERT(isolate); |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 #endif | 159 #endif |
| 158 bool m_performingMicrotaskCheckpoint; | 160 bool m_performingMicrotaskCheckpoint; |
| 159 | 161 |
| 160 Vector<OwnPtr<EndOfScopeTask>> m_endOfScopeTasks; | 162 Vector<OwnPtr<EndOfScopeTask>> m_endOfScopeTasks; |
| 161 OwnPtr<ScriptDebuggerBase> m_scriptDebugger; | 163 OwnPtr<ScriptDebuggerBase> m_scriptDebugger; |
| 162 }; | 164 }; |
| 163 | 165 |
| 164 } // namespace blink | 166 } // namespace blink |
| 165 | 167 |
| 166 #endif // V8PerIsolateData_h | 168 #endif // V8PerIsolateData_h |
| OLD | NEW |