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 18 matching lines...) Expand all Loading... |
29 #include "core/dom/ActiveDOMObject.h" | 29 #include "core/dom/ActiveDOMObject.h" |
30 #include "modules/EventTargetModules.h" | 30 #include "modules/EventTargetModules.h" |
31 #include "platform/Timer.h" | 31 #include "platform/Timer.h" |
32 #include "public/platform/WebRTCDTMFSenderHandlerClient.h" | 32 #include "public/platform/WebRTCDTMFSenderHandlerClient.h" |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 class WebRTCDTMFSenderHandler; | 35 class WebRTCDTMFSenderHandler; |
36 class WebRTCPeerConnectionHandler; | 36 class WebRTCPeerConnectionHandler; |
37 } | 37 } |
38 | 38 |
39 namespace WebCore { | 39 namespace blink { |
40 | 40 |
41 class ExceptionState; | 41 class ExceptionState; |
42 class MediaStreamTrack; | 42 class MediaStreamTrack; |
43 | 43 |
44 class RTCDTMFSender FINAL | 44 class RTCDTMFSender FINAL |
45 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<RTCDTMFSe
nder> | 45 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<RTCDTMFSe
nder> |
46 , public EventTargetWithInlineData | 46 , public EventTargetWithInlineData |
47 , public blink::WebRTCDTMFSenderHandlerClient | 47 , public blink::WebRTCDTMFSenderHandlerClient |
48 , public ActiveDOMObject { | 48 , public ActiveDOMObject { |
49 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollectedWi
llBeGarbageCollectedFinalized<RTCDTMFSender>); | 49 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollectedWi
llBeGarbageCollectedFinalized<RTCDTMFSender>); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 long m_interToneGap; | 87 long m_interToneGap; |
88 | 88 |
89 OwnPtr<blink::WebRTCDTMFSenderHandler> m_handler; | 89 OwnPtr<blink::WebRTCDTMFSenderHandler> m_handler; |
90 | 90 |
91 bool m_stopped; | 91 bool m_stopped; |
92 | 92 |
93 Timer<RTCDTMFSender> m_scheduledEventTimer; | 93 Timer<RTCDTMFSender> m_scheduledEventTimer; |
94 WillBeHeapVector<RefPtrWillBeMember<Event> > m_scheduledEvents; | 94 WillBeHeapVector<RefPtrWillBeMember<Event> > m_scheduledEvents; |
95 }; | 95 }; |
96 | 96 |
97 } // namespace WebCore | 97 } // namespace blink |
98 | 98 |
99 #endif // RTCDTMFSender_h | 99 #endif // RTCDTMFSender_h |
OLD | NEW |