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 | 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 // EventTarget | 51 // EventTarget |
52 const AtomicString& interfaceName() const override; | 52 const AtomicString& interfaceName() const override; |
53 | 53 |
54 DEFINE_ATTRIBUTE_EVENT_LISTENER(blocked); | 54 DEFINE_ATTRIBUTE_EVENT_LISTENER(blocked); |
55 DEFINE_ATTRIBUTE_EVENT_LISTENER(upgradeneeded); | 55 DEFINE_ATTRIBUTE_EVENT_LISTENER(upgradeneeded); |
56 | 56 |
57 protected: | 57 protected: |
58 bool shouldEnqueueEvent() const override; | 58 bool shouldEnqueueEvent() const override; |
59 | 59 |
60 // EventTarget | 60 // EventTarget |
61 bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override; | 61 DispatchEventResult dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) ove
rride; |
62 | 62 |
63 private: | 63 private: |
64 IDBOpenDBRequest(ScriptState*, IDBDatabaseCallbacks*, int64_t transactionId,
int64_t version); | 64 IDBOpenDBRequest(ScriptState*, IDBDatabaseCallbacks*, int64_t transactionId,
int64_t version); |
65 | 65 |
66 Member<IDBDatabaseCallbacks> m_databaseCallbacks; | 66 Member<IDBDatabaseCallbacks> m_databaseCallbacks; |
67 const int64_t m_transactionId; | 67 const int64_t m_transactionId; |
68 int64_t m_version; | 68 int64_t m_version; |
69 }; | 69 }; |
70 | 70 |
71 } // namespace blink | 71 } // namespace blink |
72 | 72 |
73 #endif // IDBOpenDBRequest_h | 73 #endif // IDBOpenDBRequest_h |
OLD | NEW |