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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 return IDBTransaction::modeVersionChange(); | 322 return IDBTransaction::modeVersionChange(); |
323 break; | 323 break; |
324 } | 324 } |
325 | 325 |
326 ASSERT_NOT_REACHED(); | 326 ASSERT_NOT_REACHED(); |
327 return IDBTransaction::modeReadOnly(); | 327 return IDBTransaction::modeReadOnly(); |
328 } | 328 } |
329 | 329 |
330 const AtomicString& IDBTransaction::interfaceName() const | 330 const AtomicString& IDBTransaction::interfaceName() const |
331 { | 331 { |
332 return eventNames().interfaceForIDBTransaction; | 332 return EventTargetNames::IDBTransaction; |
333 } | 333 } |
334 | 334 |
335 ExecutionContext* IDBTransaction::executionContext() const | 335 ExecutionContext* IDBTransaction::executionContext() const |
336 { | 336 { |
337 return ActiveDOMObject::executionContext(); | 337 return ActiveDOMObject::executionContext(); |
338 } | 338 } |
339 | 339 |
340 bool IDBTransaction::dispatchEvent(PassRefPtr<Event> event) | 340 bool IDBTransaction::dispatchEvent(PassRefPtr<Event> event) |
341 { | 341 { |
342 IDB_TRACE("IDBTransaction::dispatchEvent"); | 342 IDB_TRACE("IDBTransaction::dispatchEvent"); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 event->setTarget(this); | 398 event->setTarget(this); |
399 eventQueue->enqueueEvent(event); | 399 eventQueue->enqueueEvent(event); |
400 } | 400 } |
401 | 401 |
402 IDBDatabaseBackendInterface* IDBTransaction::backendDB() const | 402 IDBDatabaseBackendInterface* IDBTransaction::backendDB() const |
403 { | 403 { |
404 return db()->backend(); | 404 return db()->backend(); |
405 } | 405 } |
406 | 406 |
407 } // namespace WebCore | 407 } // namespace WebCore |
OLD | NEW |