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 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
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/ExceptionState.h" | 36 #include "bindings/v8/ExceptionState.h" |
37 #include "core/dom/Document.h" | 37 #include "core/dom/Document.h" |
38 #include "core/events/Event.h" | 38 #include "core/dom/Event.h" |
39 #include "core/dom/ExceptionCode.h" | 39 #include "core/dom/ExceptionCode.h" |
40 #include "core/dom/ScriptExecutionContext.h" | 40 #include "core/dom/ScriptExecutionContext.h" |
41 #include "core/html/VoidCallback.h" | 41 #include "core/html/VoidCallback.h" |
42 #include "core/loader/FrameLoader.h" | 42 #include "core/loader/FrameLoader.h" |
43 #include "core/loader/FrameLoaderClient.h" | 43 #include "core/loader/FrameLoaderClient.h" |
44 #include "core/page/Frame.h" | 44 #include "core/page/Frame.h" |
45 #include "core/platform/mediastream/RTCConfiguration.h" | 45 #include "core/platform/mediastream/RTCConfiguration.h" |
46 #include "core/platform/mediastream/RTCDataChannelHandler.h" | 46 #include "core/platform/mediastream/RTCDataChannelHandler.h" |
47 #include "modules/mediastream/MediaConstraintsImpl.h" | 47 #include "modules/mediastream/MediaConstraintsImpl.h" |
48 #include "modules/mediastream/MediaStreamEvent.h" | 48 #include "modules/mediastream/MediaStreamEvent.h" |
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 events.swap(m_scheduledEvents); | 686 events.swap(m_scheduledEvents); |
687 | 687 |
688 Vector<RefPtr<Event> >::iterator it = events.begin(); | 688 Vector<RefPtr<Event> >::iterator it = events.begin(); |
689 for (; it != events.end(); ++it) | 689 for (; it != events.end(); ++it) |
690 dispatchEvent((*it).release()); | 690 dispatchEvent((*it).release()); |
691 | 691 |
692 events.clear(); | 692 events.clear(); |
693 } | 693 } |
694 | 694 |
695 } // namespace WebCore | 695 } // namespace WebCore |
OLD | NEW |