OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 89 |
90 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort); | 90 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort); |
91 DEFINE_ATTRIBUTE_EVENT_LISTENER(complete); | 91 DEFINE_ATTRIBUTE_EVENT_LISTENER(complete); |
92 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); | 92 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); |
93 | 93 |
94 void onAbort(DOMException*); | 94 void onAbort(DOMException*); |
95 void onComplete(); | 95 void onComplete(); |
96 | 96 |
97 // EventTarget | 97 // EventTarget |
98 const AtomicString& interfaceName() const override; | 98 const AtomicString& interfaceName() const override; |
99 ExecutionContext* executionContext() const override; | 99 ExecutionContext* getExecutionContext() const override; |
100 | 100 |
101 // ActiveDOMObject | 101 // ActiveDOMObject |
102 bool hasPendingActivity() const override; | 102 bool hasPendingActivity() const override; |
103 void stop() override; | 103 void stop() override; |
104 | 104 |
105 protected: | 105 protected: |
106 // EventTarget | 106 // EventTarget |
107 DispatchEventResult dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) ove
rride; | 107 DispatchEventResult dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) ove
rride; |
108 | 108 |
109 private: | 109 private: |
(...skipping 24 matching lines...) Expand all Loading... |
134 IDBObjectStoreMap m_objectStoreMap; | 134 IDBObjectStoreMap m_objectStoreMap; |
135 | 135 |
136 HeapHashSet<Member<IDBObjectStore>> m_deletedObjectStores; | 136 HeapHashSet<Member<IDBObjectStore>> m_deletedObjectStores; |
137 HeapHashMap<Member<IDBObjectStore>, IDBObjectStoreMetadata> m_objectStoreCle
anupMap; | 137 HeapHashMap<Member<IDBObjectStore>, IDBObjectStoreMetadata> m_objectStoreCle
anupMap; |
138 IDBDatabaseMetadata m_previousMetadata; | 138 IDBDatabaseMetadata m_previousMetadata; |
139 }; | 139 }; |
140 | 140 |
141 } // namespace blink | 141 } // namespace blink |
142 | 142 |
143 #endif // IDBTransaction_h | 143 #endif // IDBTransaction_h |
OLD | NEW |