| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 ScriptPromise closed(ScriptState*); | 74 ScriptPromise closed(ScriptState*); |
| 75 MediaKeyStatusMap* keyStatuses(); | 75 MediaKeyStatusMap* keyStatuses(); |
| 76 | 76 |
| 77 ScriptPromise generateRequest(ScriptState*, const String& initDataType, cons
t DOMArrayPiece& initData); | 77 ScriptPromise generateRequest(ScriptState*, const String& initDataType, cons
t DOMArrayPiece& initData); |
| 78 ScriptPromise load(ScriptState*, const String& sessionId); | 78 ScriptPromise load(ScriptState*, const String& sessionId); |
| 79 | 79 |
| 80 ScriptPromise update(ScriptState*, const DOMArrayPiece& response); | 80 ScriptPromise update(ScriptState*, const DOMArrayPiece& response); |
| 81 ScriptPromise close(ScriptState*); | 81 ScriptPromise close(ScriptState*); |
| 82 ScriptPromise remove(ScriptState*); | 82 ScriptPromise remove(ScriptState*); |
| 83 | 83 |
| 84 void enqueueEvent(PassRefPtrWillBeRawPtr<Event>); | |
| 85 | |
| 86 // EventTarget | 84 // EventTarget |
| 87 virtual const AtomicString& interfaceName() const override; | 85 virtual const AtomicString& interfaceName() const override; |
| 88 virtual ExecutionContext* executionContext() const override; | 86 virtual ExecutionContext* executionContext() const override; |
| 89 | 87 |
| 90 // ActiveDOMObject | 88 // ActiveDOMObject |
| 91 virtual bool hasPendingActivity() const override; | 89 virtual bool hasPendingActivity() const override; |
| 92 virtual void stop() override; | 90 virtual void stop() override; |
| 93 | 91 |
| 94 DECLARE_VIRTUAL_TRACE(); | 92 DECLARE_VIRTUAL_TRACE(); |
| 95 | 93 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 typedef ScriptPromiseProperty<Member<MediaKeySession>, ToV8UndefinedGenerato
r, RefPtrWillBeMember<DOMException>> ClosedPromise; | 133 typedef ScriptPromiseProperty<Member<MediaKeySession>, ToV8UndefinedGenerato
r, RefPtrWillBeMember<DOMException>> ClosedPromise; |
| 136 Member<ClosedPromise> m_closedPromise; | 134 Member<ClosedPromise> m_closedPromise; |
| 137 | 135 |
| 138 HeapDeque<Member<PendingAction>> m_pendingActions; | 136 HeapDeque<Member<PendingAction>> m_pendingActions; |
| 139 Timer<MediaKeySession> m_actionTimer; | 137 Timer<MediaKeySession> m_actionTimer; |
| 140 }; | 138 }; |
| 141 | 139 |
| 142 } // namespace blink | 140 } // namespace blink |
| 143 | 141 |
| 144 #endif // MediaKeySession_h | 142 #endif // MediaKeySession_h |
| OLD | NEW |