| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 virtual void onSuccessWithPrefetch(const Vector<RefPtr<IDBKey> >&, const Vec
tor<RefPtr<IDBKey> >&, const Vector<RefPtr<SerializedScriptValue> >&) { ASSERT_N
OT_REACHED(); } // Not implemented. Callback should not reach the renderer side. | 95 virtual void onSuccessWithPrefetch(const Vector<RefPtr<IDBKey> >&, const Vec
tor<RefPtr<IDBKey> >&, const Vector<RefPtr<SerializedScriptValue> >&) { ASSERT_N
OT_REACHED(); } // Not implemented. Callback should not reach the renderer side. |
| 96 | 96 |
| 97 // ActiveDOMObject | 97 // ActiveDOMObject |
| 98 virtual bool hasPendingActivity() const OVERRIDE; | 98 virtual bool hasPendingActivity() const OVERRIDE; |
| 99 virtual void stop() OVERRIDE; | 99 virtual void stop() OVERRIDE; |
| 100 | 100 |
| 101 // EventTarget | 101 // EventTarget |
| 102 virtual const AtomicString& interfaceName() const; | 102 virtual const AtomicString& interfaceName() const; |
| 103 virtual ScriptExecutionContext* scriptExecutionContext() const; | 103 virtual ScriptExecutionContext* scriptExecutionContext() const; |
| 104 virtual bool dispatchEvent(PassRefPtr<Event>); | 104 virtual bool dispatchEvent(PassRefPtr<Event>); |
| 105 // FIXME(antonm): get rid of this. | |
| 106 bool dispatchEvent(PassRefPtr<Event> event, ExceptionCode& ec) { return Even
tTarget::dispatchEvent(event, ec); } | 105 bool dispatchEvent(PassRefPtr<Event> event, ExceptionCode& ec) { return Even
tTarget::dispatchEvent(event, ec); } |
| 107 virtual void uncaughtExceptionInEventHandler(); | 106 virtual void uncaughtExceptionInEventHandler(); |
| 108 | 107 |
| 109 void transactionDidFinishAndDispatch(); | 108 void transactionDidFinishAndDispatch(); |
| 110 | 109 |
| 111 using ThreadSafeRefCounted<IDBCallbacks>::ref; | 110 using ThreadSafeRefCounted<IDBCallbacks>::ref; |
| 112 using ThreadSafeRefCounted<IDBCallbacks>::deref; | 111 using ThreadSafeRefCounted<IDBCallbacks>::deref; |
| 113 | 112 |
| 114 IDBTransactionBackendInterface::TaskType taskType() { return m_taskType; } | 113 IDBTransactionBackendInterface::TaskType taskType() { return m_taskType; } |
| 115 | 114 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 bool m_preventPropagation; | 155 bool m_preventPropagation; |
| 157 | 156 |
| 158 EventTargetData m_eventTargetData; | 157 EventTargetData m_eventTargetData; |
| 159 }; | 158 }; |
| 160 | 159 |
| 161 } // namespace WebCore | 160 } // namespace WebCore |
| 162 | 161 |
| 163 #endif // ENABLE(INDEXED_DATABASE) | 162 #endif // ENABLE(INDEXED_DATABASE) |
| 164 | 163 |
| 165 #endif // IDBRequest_h | 164 #endif // IDBRequest_h |
| OLD | NEW |