| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 ScriptPromise closed(ScriptState*); | 73 ScriptPromise closed(ScriptState*); |
| 74 | 74 |
| 75 ScriptPromise generateRequest(ScriptState*, const String& initDataType, Arra
yBuffer* initData); | 75 ScriptPromise generateRequest(ScriptState*, const String& initDataType, Arra
yBuffer* initData); |
| 76 ScriptPromise generateRequest(ScriptState*, const String& initDataType, Arra
yBufferView* initData); | 76 ScriptPromise generateRequest(ScriptState*, const String& initDataType, Arra
yBufferView* initData); |
| 77 | 77 |
| 78 void setError(MediaKeyError*); | 78 void setError(MediaKeyError*); |
| 79 MediaKeyError* error() { return m_error.get(); } | 79 MediaKeyError* error() { return m_error.get(); } |
| 80 | 80 |
| 81 ScriptPromise update(ScriptState*, ArrayBuffer* response); | 81 ScriptPromise update(ScriptState*, ArrayBuffer* response); |
| 82 ScriptPromise update(ScriptState*, ArrayBufferView* response); | 82 ScriptPromise update(ScriptState*, ArrayBufferView* response); |
| 83 ScriptPromise release(ScriptState*); | 83 ScriptPromise close(ScriptState*); |
| 84 ScriptPromise remove(ScriptState*); |
| 84 | 85 |
| 85 void enqueueEvent(PassRefPtrWillBeRawPtr<Event>); | 86 void enqueueEvent(PassRefPtrWillBeRawPtr<Event>); |
| 86 | 87 |
| 87 // EventTarget | 88 // EventTarget |
| 88 virtual const AtomicString& interfaceName() const OVERRIDE; | 89 virtual const AtomicString& interfaceName() const OVERRIDE; |
| 89 virtual ExecutionContext* executionContext() const OVERRIDE; | 90 virtual ExecutionContext* executionContext() const OVERRIDE; |
| 90 | 91 |
| 91 // ActiveDOMObject | 92 // ActiveDOMObject |
| 92 virtual bool hasPendingActivity() const OVERRIDE; | 93 virtual bool hasPendingActivity() const OVERRIDE; |
| 93 virtual void stop() OVERRIDE; | 94 virtual void stop() OVERRIDE; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 typedef ScriptPromiseProperty<Member<MediaKeySession>, V8UndefinedType, RefP
trWillBeMember<DOMException> > ClosedPromise; | 136 typedef ScriptPromiseProperty<Member<MediaKeySession>, V8UndefinedType, RefP
trWillBeMember<DOMException> > ClosedPromise; |
| 136 Member<ClosedPromise> m_closedPromise; | 137 Member<ClosedPromise> m_closedPromise; |
| 137 | 138 |
| 138 HeapDeque<Member<PendingAction> > m_pendingActions; | 139 HeapDeque<Member<PendingAction> > m_pendingActions; |
| 139 Timer<MediaKeySession> m_actionTimer; | 140 Timer<MediaKeySession> m_actionTimer; |
| 140 }; | 141 }; |
| 141 | 142 |
| 142 } // namespace blink | 143 } // namespace blink |
| 143 | 144 |
| 144 #endif // MediaKeySession_h | 145 #endif // MediaKeySession_h |
| OLD | NEW |