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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 void RTCDTMFSender::didPlayTone(const WebString& tone) | 124 void RTCDTMFSender::didPlayTone(const WebString& tone) |
125 { | 125 { |
126 scheduleDispatchEvent(RTCDTMFToneChangeEvent::create(tone)); | 126 scheduleDispatchEvent(RTCDTMFToneChangeEvent::create(tone)); |
127 } | 127 } |
128 | 128 |
129 const AtomicString& RTCDTMFSender::interfaceName() const | 129 const AtomicString& RTCDTMFSender::interfaceName() const |
130 { | 130 { |
131 return EventTargetNames::RTCDTMFSender; | 131 return EventTargetNames::RTCDTMFSender; |
132 } | 132 } |
133 | 133 |
134 ExecutionContext* RTCDTMFSender::executionContext() const | 134 ExecutionContext* RTCDTMFSender::getExecutionContext() const |
135 { | 135 { |
136 return ActiveDOMObject::executionContext(); | 136 return ActiveDOMObject::getExecutionContext(); |
137 } | 137 } |
138 | 138 |
139 void RTCDTMFSender::stop() | 139 void RTCDTMFSender::stop() |
140 { | 140 { |
141 m_stopped = true; | 141 m_stopped = true; |
142 m_handler->setClient(0); | 142 m_handler->setClient(0); |
143 } | 143 } |
144 | 144 |
145 void RTCDTMFSender::scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event> event) | 145 void RTCDTMFSender::scheduleDispatchEvent(PassRefPtrWillBeRawPtr<Event> event) |
146 { | 146 { |
(...skipping 18 matching lines...) Expand all Loading... |
165 | 165 |
166 DEFINE_TRACE(RTCDTMFSender) | 166 DEFINE_TRACE(RTCDTMFSender) |
167 { | 167 { |
168 visitor->trace(m_track); | 168 visitor->trace(m_track); |
169 visitor->trace(m_scheduledEvents); | 169 visitor->trace(m_scheduledEvents); |
170 RefCountedGarbageCollectedEventTargetWithInlineData<RTCDTMFSender>::trace(vi
sitor); | 170 RefCountedGarbageCollectedEventTargetWithInlineData<RTCDTMFSender>::trace(vi
sitor); |
171 ActiveDOMObject::trace(visitor); | 171 ActiveDOMObject::trace(visitor); |
172 } | 172 } |
173 | 173 |
174 } // namespace blink | 174 } // namespace blink |
OLD | NEW |