| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2013 Apple 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 errorCode = MediaKeyErrorCodeClient; | 598 errorCode = MediaKeyErrorCodeClient; |
| 599 break; | 599 break; |
| 600 default: | 600 default: |
| 601 // All other exceptions get converted into Unknown. | 601 // All other exceptions get converted into Unknown. |
| 602 errorCode = MediaKeyErrorCodeUnknown; | 602 errorCode = MediaKeyErrorCodeUnknown; |
| 603 break; | 603 break; |
| 604 } | 604 } |
| 605 error(errorCode, systemCode); | 605 error(errorCode, systemCode); |
| 606 } | 606 } |
| 607 | 607 |
| 608 void MediaKeySession::expirationChanged(double updatedExpiryTimeInMS) |
| 609 { |
| 610 // FIXME: Implement expiration attribute. |
| 611 } |
| 612 |
| 608 const AtomicString& MediaKeySession::interfaceName() const | 613 const AtomicString& MediaKeySession::interfaceName() const |
| 609 { | 614 { |
| 610 return EventTargetNames::MediaKeySession; | 615 return EventTargetNames::MediaKeySession; |
| 611 } | 616 } |
| 612 | 617 |
| 613 ExecutionContext* MediaKeySession::executionContext() const | 618 ExecutionContext* MediaKeySession::executionContext() const |
| 614 { | 619 { |
| 615 return ActiveDOMObject::executionContext(); | 620 return ActiveDOMObject::executionContext(); |
| 616 } | 621 } |
| 617 | 622 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 647 { | 652 { |
| 648 visitor->trace(m_error); | 653 visitor->trace(m_error); |
| 649 visitor->trace(m_asyncEventQueue); | 654 visitor->trace(m_asyncEventQueue); |
| 650 visitor->trace(m_pendingActions); | 655 visitor->trace(m_pendingActions); |
| 651 visitor->trace(m_mediaKeys); | 656 visitor->trace(m_mediaKeys); |
| 652 visitor->trace(m_closedPromise); | 657 visitor->trace(m_closedPromise); |
| 653 EventTargetWithInlineData::trace(visitor); | 658 EventTargetWithInlineData::trace(visitor); |
| 654 } | 659 } |
| 655 | 660 |
| 656 } // namespace blink | 661 } // namespace blink |
| OLD | NEW |