| 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 class StringCache; | 43 class StringCache; |
| 44 struct WrapperTypeInfo; | 44 struct WrapperTypeInfo; |
| 45 | 45 |
| 46 typedef WTF::Vector<DOMDataStore*> DOMDataStoreList; | 46 typedef WTF::Vector<DOMDataStore*> DOMDataStoreList; |
| 47 | 47 |
| 48 class V8PerIsolateData { | 48 class V8PerIsolateData { |
| 49 public: | 49 public: |
| 50 class EndOfScopeTask { | 50 class EndOfScopeTask { |
| 51 public: | 51 public: |
| 52 virtual ~EndOfScopeTask() { } | 52 virtual ~EndOfScopeTask() { } |
| 53 virtual void Run() = 0; | 53 virtual void run() = 0; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 static v8::Isolate* initialize(); | 56 static v8::Isolate* initialize(); |
| 57 static V8PerIsolateData* from(v8::Isolate* isolate) | 57 static V8PerIsolateData* from(v8::Isolate* isolate) |
| 58 { | 58 { |
| 59 ASSERT(isolate); | 59 ASSERT(isolate); |
| 60 ASSERT(isolate->GetData(gin::kEmbedderBlink)); | 60 ASSERT(isolate->GetData(gin::kEmbedderBlink)); |
| 61 return static_cast<V8PerIsolateData*>(isolate->GetData(gin::kEmbedderBli
nk)); | 61 return static_cast<V8PerIsolateData*>(isolate->GetData(gin::kEmbedderBli
nk)); |
| 62 } | 62 } |
| 63 | 63 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 #endif | 148 #endif |
| 149 OwnPtr<GCEventData> m_gcEventData; | 149 OwnPtr<GCEventData> m_gcEventData; |
| 150 bool m_performingMicrotaskCheckpoint; | 150 bool m_performingMicrotaskCheckpoint; |
| 151 | 151 |
| 152 Vector<OwnPtr<EndOfScopeTask>> m_endOfScopeTasks; | 152 Vector<OwnPtr<EndOfScopeTask>> m_endOfScopeTasks; |
| 153 }; | 153 }; |
| 154 | 154 |
| 155 } // namespace blink | 155 } // namespace blink |
| 156 | 156 |
| 157 #endif // V8PerIsolateData_h | 157 #endif // V8PerIsolateData_h |
| OLD | NEW |