| 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 24 matching lines...) Expand all Loading... |
| 35 #include "DOMError.h" | 35 #include "DOMError.h" |
| 36 #include "DOMStringList.h" | 36 #include "DOMStringList.h" |
| 37 #include "Event.h" | 37 #include "Event.h" |
| 38 #include "EventListener.h" | 38 #include "EventListener.h" |
| 39 #include "EventNames.h" | 39 #include "EventNames.h" |
| 40 #include "EventTarget.h" | 40 #include "EventTarget.h" |
| 41 #include "IDBAny.h" | 41 #include "IDBAny.h" |
| 42 #include "IDBCallbacks.h" | 42 #include "IDBCallbacks.h" |
| 43 #include "IDBCursor.h" | 43 #include "IDBCursor.h" |
| 44 #include "IDBCursorBackendInterface.h" | 44 #include "IDBCursorBackendInterface.h" |
| 45 #if USE(V8) |
| 46 #include "WorldContextHandle.h" |
| 47 #endif |
| 45 | 48 |
| 46 namespace WebCore { | 49 namespace WebCore { |
| 47 | 50 |
| 48 class IDBTransaction; | 51 class IDBTransaction; |
| 49 | 52 |
| 50 typedef int ExceptionCode; | 53 typedef int ExceptionCode; |
| 51 | 54 |
| 52 class IDBRequest : public IDBCallbacks, public EventTarget, public ActiveDOMObje
ct { | 55 class IDBRequest : public IDBCallbacks, public EventTarget, public ActiveDOMObje
ct { |
| 53 public: | 56 public: |
| 54 static PassRefPtr<IDBRequest> create(ScriptExecutionContext*, PassRefPtr<IDB
Any> source, IDBTransaction*); | 57 static PassRefPtr<IDBRequest> create(ScriptExecutionContext*, PassRefPtr<IDB
Any> source, IDBTransaction*); |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 IDBCursor::Direction m_cursorDirection; | 151 IDBCursor::Direction m_cursorDirection; |
| 149 bool m_cursorFinished; | 152 bool m_cursorFinished; |
| 150 RefPtr<IDBCursor> m_pendingCursor; | 153 RefPtr<IDBCursor> m_pendingCursor; |
| 151 RefPtr<IDBKey> m_cursorKey; | 154 RefPtr<IDBKey> m_cursorKey; |
| 152 RefPtr<IDBKey> m_cursorPrimaryKey; | 155 RefPtr<IDBKey> m_cursorPrimaryKey; |
| 153 ScriptValue m_cursorValue; | 156 ScriptValue m_cursorValue; |
| 154 bool m_didFireUpgradeNeededEvent; | 157 bool m_didFireUpgradeNeededEvent; |
| 155 bool m_preventPropagation; | 158 bool m_preventPropagation; |
| 156 | 159 |
| 157 EventTargetData m_eventTargetData; | 160 EventTargetData m_eventTargetData; |
| 161 #if USE(V8) |
| 162 WorldContextHandle m_worldContextHandle; |
| 163 #endif |
| 158 }; | 164 }; |
| 159 | 165 |
| 160 } // namespace WebCore | 166 } // namespace WebCore |
| 161 | 167 |
| 162 #endif // ENABLE(INDEXED_DATABASE) | 168 #endif // ENABLE(INDEXED_DATABASE) |
| 163 | 169 |
| 164 #endif // IDBRequest_h | 170 #endif // IDBRequest_h |
| OLD | NEW |