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 15 matching lines...) Expand all Loading... |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
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 "modules/mediastream/MediaConstraintsImpl.h" | 31 #include "modules/mediastream/MediaConstraintsImpl.h" |
32 | 32 |
33 #include "bindings/core/v8/ArrayValue.h" | 33 #include "bindings/core/v8/ArrayValue.h" |
34 #include "bindings/core/v8/Dictionary.h" | 34 #include "bindings/core/v8/Dictionary.h" |
35 #include "bindings/core/v8/ExceptionState.h" | 35 #include "bindings/core/v8/ExceptionState.h" |
36 #include "core/dom/ExceptionCode.h" | |
37 #include "core/dom/ExecutionContext.h" | 36 #include "core/dom/ExecutionContext.h" |
38 #include "core/frame/UseCounter.h" | 37 #include "core/frame/UseCounter.h" |
39 #include "core/inspector/ConsoleMessage.h" | 38 #include "core/inspector/ConsoleMessage.h" |
40 #include "modules/mediastream/MediaTrackConstraints.h" | 39 #include "modules/mediastream/MediaTrackConstraints.h" |
41 #include "platform/Logging.h" | 40 #include "platform/Logging.h" |
42 #include "platform/RuntimeEnabledFeatures.h" | 41 #include "platform/RuntimeEnabledFeatures.h" |
43 #include "wtf/HashMap.h" | 42 #include "wtf/HashMap.h" |
44 #include "wtf/Vector.h" | 43 #include "wtf/Vector.h" |
45 #include "wtf/text/StringHash.h" | 44 #include "wtf/text/StringHash.h" |
46 | 45 |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 | 589 |
591 WebMediaConstraints create() | 590 WebMediaConstraints create() |
592 { | 591 { |
593 WebMediaConstraints constraints; | 592 WebMediaConstraints constraints; |
594 constraints.initialize(); | 593 constraints.initialize(); |
595 return constraints; | 594 return constraints; |
596 } | 595 } |
597 | 596 |
598 } // namespace MediaConstraintsImpl | 597 } // namespace MediaConstraintsImpl |
599 } // namespace blink | 598 } // namespace blink |
OLD | NEW |