| 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 * 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 virtual const AtomicString& interfaceName() const override; | 51 virtual const AtomicString& interfaceName() const override; |
| 52 | 52 |
| 53 String keySystem() const { return m_keySystem; } | 53 String keySystem() const { return m_keySystem; } |
| 54 String sessionId() const { return m_sessionId; } | 54 String sessionId() const { return m_sessionId; } |
| 55 DOMUint8Array* initData() const { return m_initData.get(); } | 55 DOMUint8Array* initData() const { return m_initData.get(); } |
| 56 DOMUint8Array* message() const { return m_message.get(); } | 56 DOMUint8Array* message() const { return m_message.get(); } |
| 57 String defaultURL() const { return m_defaultURL; } | 57 String defaultURL() const { return m_defaultURL; } |
| 58 MediaKeyError* errorCode() const { return m_errorCode.get(); } | 58 MediaKeyError* errorCode() const { return m_errorCode.get(); } |
| 59 unsigned short systemCode() const { return m_systemCode; } | 59 unsigned short systemCode() const { return m_systemCode; } |
| 60 | 60 |
| 61 virtual void trace(Visitor*) override; | 61 DECLARE_VIRTUAL_TRACE(); |
| 62 | 62 |
| 63 private: | 63 private: |
| 64 MediaKeyEvent(); | 64 MediaKeyEvent(); |
| 65 MediaKeyEvent(const AtomicString& type, const MediaKeyEventInit& initializer
); | 65 MediaKeyEvent(const AtomicString& type, const MediaKeyEventInit& initializer
); |
| 66 | 66 |
| 67 String m_keySystem; | 67 String m_keySystem; |
| 68 String m_sessionId; | 68 String m_sessionId; |
| 69 RefPtr<DOMUint8Array> m_initData; | 69 RefPtr<DOMUint8Array> m_initData; |
| 70 RefPtr<DOMUint8Array> m_message; | 70 RefPtr<DOMUint8Array> m_message; |
| 71 String m_defaultURL; | 71 String m_defaultURL; |
| 72 RefPtrWillBeMember<MediaKeyError> m_errorCode; | 72 RefPtrWillBeMember<MediaKeyError> m_errorCode; |
| 73 unsigned short m_systemCode; | 73 unsigned short m_systemCode; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace blink | 76 } // namespace blink |
| 77 | 77 |
| 78 #endif // MediaKeyEvent_h | 78 #endif // MediaKeyEvent_h |
| OLD | NEW |