| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 19 matching lines...) Expand all Loading... |
| 30 #include "modules/mediastream/RTCDTMFToneChangeEventInit.h" | 30 #include "modules/mediastream/RTCDTMFToneChangeEventInit.h" |
| 31 #include "wtf/text/AtomicString.h" | 31 #include "wtf/text/AtomicString.h" |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 class RTCDTMFToneChangeEvent final : public Event { | 35 class RTCDTMFToneChangeEvent final : public Event { |
| 36 DEFINE_WRAPPERTYPEINFO(); | 36 DEFINE_WRAPPERTYPEINFO(); |
| 37 public: | 37 public: |
| 38 ~RTCDTMFToneChangeEvent() override; | 38 ~RTCDTMFToneChangeEvent() override; |
| 39 | 39 |
| 40 static PassRefPtrWillBeRawPtr<RTCDTMFToneChangeEvent> create(); | 40 static RawPtr<RTCDTMFToneChangeEvent> create(); |
| 41 static PassRefPtrWillBeRawPtr<RTCDTMFToneChangeEvent> create(const String& t
one); | 41 static RawPtr<RTCDTMFToneChangeEvent> create(const String& tone); |
| 42 static PassRefPtrWillBeRawPtr<RTCDTMFToneChangeEvent> create(const AtomicStr
ing& type, const RTCDTMFToneChangeEventInit& initializer); | 42 static RawPtr<RTCDTMFToneChangeEvent> create(const AtomicString& type, const
RTCDTMFToneChangeEventInit& initializer); |
| 43 | 43 |
| 44 const String& tone() const; | 44 const String& tone() const; |
| 45 | 45 |
| 46 const AtomicString& interfaceName() const override; | 46 const AtomicString& interfaceName() const override; |
| 47 | 47 |
| 48 DECLARE_VIRTUAL_TRACE(); | 48 DECLARE_VIRTUAL_TRACE(); |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 RTCDTMFToneChangeEvent(); | 51 RTCDTMFToneChangeEvent(); |
| 52 explicit RTCDTMFToneChangeEvent(const String& tone); | 52 explicit RTCDTMFToneChangeEvent(const String& tone); |
| 53 explicit RTCDTMFToneChangeEvent(const RTCDTMFToneChangeEventInit&); | 53 explicit RTCDTMFToneChangeEvent(const RTCDTMFToneChangeEventInit&); |
| 54 | 54 |
| 55 String m_tone; | 55 String m_tone; |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace blink | 58 } // namespace blink |
| 59 | 59 |
| 60 #endif // RTCDTMFToneChangeEvent_h | 60 #endif // RTCDTMFToneChangeEvent_h |
| OLD | NEW |