| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 typedef V8PersistentValueMap<const WrapperTypeInfo*, v8::Function, false> Co
nstructorMap; | 110 typedef V8PersistentValueMap<const WrapperTypeInfo*, v8::Function, false> Co
nstructorMap; |
| 111 ConstructorMap m_constructorMap; | 111 ConstructorMap m_constructorMap; |
| 112 | 112 |
| 113 V8NPObjectMap m_v8NPObjectMap; | 113 V8NPObjectMap m_v8NPObjectMap; |
| 114 | 114 |
| 115 OwnPtr<gin::ContextHolder> m_contextHolder; | 115 OwnPtr<gin::ContextHolder> m_contextHolder; |
| 116 | 116 |
| 117 ScopedPersistent<v8::Context> m_context; | 117 ScopedPersistent<v8::Context> m_context; |
| 118 ScopedPersistent<v8::Value> m_errorPrototype; | 118 ScopedPersistent<v8::Value> m_errorPrototype; |
| 119 | 119 |
| 120 typedef Vector<OwnPtr<CustomElementBinding> > CustomElementBindingList; | 120 typedef Vector<OwnPtr<CustomElementBinding>> CustomElementBindingList; |
| 121 CustomElementBindingList m_customElementBindings; | 121 CustomElementBindingList m_customElementBindings; |
| 122 | 122 |
| 123 // This is owned by a static hash map in V8DOMActivityLogger. | 123 // This is owned by a static hash map in V8DOMActivityLogger. |
| 124 V8DOMActivityLogger* m_activityLogger; | 124 V8DOMActivityLogger* m_activityLogger; |
| 125 | 125 |
| 126 V8PersistentValueMap<String, v8::Value, false> m_compiledPrivateScript; | 126 V8PersistentValueMap<String, v8::Value, false> m_compiledPrivateScript; |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 class V8PerContextDebugData { | 129 class V8PerContextDebugData { |
| 130 public: | 130 public: |
| 131 static void setContextDebugData(v8::Handle<v8::Context>, const String& data)
; | 131 static void setContextDebugData(v8::Handle<v8::Context>, const String& data)
; |
| 132 static v8::Handle<v8::Value> contextDebugData(v8::Handle<v8::Context>); | 132 static v8::Handle<v8::Value> contextDebugData(v8::Handle<v8::Context>); |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace blink | 135 } // namespace blink |
| 136 | 136 |
| 137 #endif // V8PerContextData_h | 137 #endif // V8PerContextData_h |
| OLD | NEW |