| 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 | 32 |
| 33 #include "modules/mediastream/RTCPeerConnection.h" | 33 #include "modules/mediastream/RTCPeerConnection.h" |
| 34 | 34 |
| 35 #include "bindings/v8/ArrayValue.h" | 35 #include "bindings/v8/ArrayValue.h" |
| 36 #include "bindings/v8/ExceptionMessages.h" | 36 #include "bindings/v8/ExceptionMessages.h" |
| 37 #include "bindings/v8/ExceptionState.h" | 37 #include "bindings/v8/ExceptionState.h" |
| 38 #include "core/dom/Document.h" | 38 #include "core/dom/Document.h" |
| 39 #include "core/dom/ExceptionCode.h" | 39 #include "core/dom/ExceptionCode.h" |
| 40 #include "core/dom/ExecutionContext.h" | 40 #include "core/dom/ExecutionContext.h" |
| 41 #include "core/events/Event.h" | |
| 42 #include "core/frame/LocalFrame.h" | 41 #include "core/frame/LocalFrame.h" |
| 43 #include "core/html/VoidCallback.h" | 42 #include "core/html/VoidCallback.h" |
| 44 #include "core/loader/FrameLoader.h" | 43 #include "core/loader/FrameLoader.h" |
| 45 #include "core/loader/FrameLoaderClient.h" | 44 #include "core/loader/FrameLoaderClient.h" |
| 46 #include "modules/mediastream/MediaConstraintsImpl.h" | 45 #include "modules/mediastream/MediaConstraintsImpl.h" |
| 47 #include "modules/mediastream/MediaStreamEvent.h" | 46 #include "modules/mediastream/MediaStreamEvent.h" |
| 48 #include "modules/mediastream/RTCDTMFSender.h" | 47 #include "modules/mediastream/RTCDTMFSender.h" |
| 49 #include "modules/mediastream/RTCDataChannel.h" | 48 #include "modules/mediastream/RTCDataChannel.h" |
| 50 #include "modules/mediastream/RTCDataChannelEvent.h" | 49 #include "modules/mediastream/RTCDataChannelEvent.h" |
| 51 #include "modules/mediastream/RTCErrorCallback.h" | 50 #include "modules/mediastream/RTCErrorCallback.h" |
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 events.swap(m_scheduledEvents); | 711 events.swap(m_scheduledEvents); |
| 713 | 712 |
| 714 WillBeHeapVector<RefPtrWillBeMember<Event> >::iterator it = events.begin(); | 713 WillBeHeapVector<RefPtrWillBeMember<Event> >::iterator it = events.begin(); |
| 715 for (; it != events.end(); ++it) | 714 for (; it != events.end(); ++it) |
| 716 dispatchEvent((*it).release()); | 715 dispatchEvent((*it).release()); |
| 717 | 716 |
| 718 events.clear(); | 717 events.clear(); |
| 719 } | 718 } |
| 720 | 719 |
| 721 } // namespace WebCore | 720 } // namespace WebCore |
| OLD | NEW |