| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 } | 69 } |
| 70 | 70 |
| 71 static void willBeDestroyed(v8::Isolate*); | 71 static void willBeDestroyed(v8::Isolate*); |
| 72 static void destroy(v8::Isolate*); | 72 static void destroy(v8::Isolate*); |
| 73 static v8::Isolate* mainThreadIsolate(); | 73 static v8::Isolate* mainThreadIsolate(); |
| 74 | 74 |
| 75 static void enableIdleTasks(v8::Isolate*, PassOwnPtr<gin::V8IdleTaskRunner>)
; | 75 static void enableIdleTasks(v8::Isolate*, PassOwnPtr<gin::V8IdleTaskRunner>)
; |
| 76 | 76 |
| 77 v8::Isolate* isolate() { return m_isolateHolder->isolate(); } | 77 v8::Isolate* isolate() { return m_isolateHolder->isolate(); } |
| 78 | 78 |
| 79 StringCache* stringCache() { return m_stringCache.get(); } | 79 StringCache* getStringCache() { return m_stringCache.get(); } |
| 80 | 80 |
| 81 v8::Persistent<v8::Value>& ensureLiveRoot(); | 81 v8::Persistent<v8::Value>& ensureLiveRoot(); |
| 82 | 82 |
| 83 bool isHandlingRecursionLevelError() const { return m_isHandlingRecursionLev
elError; } | 83 bool isHandlingRecursionLevelError() const { return m_isHandlingRecursionLev
elError; } |
| 84 void setIsHandlingRecursionLevelError(bool value) { m_isHandlingRecursionLev
elError = value; } | 84 void setIsHandlingRecursionLevelError(bool value) { m_isHandlingRecursionLev
elError = value; } |
| 85 | 85 |
| 86 bool isReportingException() const { return m_isReportingException; } | 86 bool isReportingException() const { return m_isReportingException; } |
| 87 void setReportingException(bool value) { m_isReportingException = value; } | 87 void setReportingException(bool value) { m_isReportingException = value; } |
| 88 | 88 |
| 89 V8HiddenValue* hiddenValue() { return m_hiddenValue.get(); } | 89 V8HiddenValue* hiddenValue() { return m_hiddenValue.get(); } |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |