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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "WebNonCopyable.h" | 35 #include "WebNonCopyable.h" |
36 #include "WebPrivatePtr.h" | 36 #include "WebPrivatePtr.h" |
37 #include "WebString.h" | 37 #include "WebString.h" |
38 #include "WebVector.h" | 38 #include "WebVector.h" |
39 | 39 |
40 namespace WebCore { | 40 namespace WebCore { |
41 struct MediaConstraint; | 41 struct MediaConstraint; |
42 class MediaConstraints; | 42 class MediaConstraints; |
43 } | 43 } |
44 | 44 |
45 namespace WebKit { | 45 namespace blink { |
46 | 46 |
47 struct WebMediaConstraint { | 47 struct WebMediaConstraint { |
48 WebMediaConstraint() | 48 WebMediaConstraint() |
49 { | 49 { |
50 } | 50 } |
51 | 51 |
52 WebMediaConstraint(WebString name, WebString value) | 52 WebMediaConstraint(WebString name, WebString value) |
53 : m_name(name) | 53 : m_name(name) |
54 , m_value(value) | 54 , m_value(value) |
55 { | 55 { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 #if BLINK_IMPLEMENTATION | 89 #if BLINK_IMPLEMENTATION |
90 WebMediaConstraints(const WTF::PassRefPtr<WebCore::MediaConstraints>&); | 90 WebMediaConstraints(const WTF::PassRefPtr<WebCore::MediaConstraints>&); |
91 WebMediaConstraints(WebCore::MediaConstraints*); | 91 WebMediaConstraints(WebCore::MediaConstraints*); |
92 #endif | 92 #endif |
93 | 93 |
94 private: | 94 private: |
95 WebPrivatePtr<WebCore::MediaConstraints> m_private; | 95 WebPrivatePtr<WebCore::MediaConstraints> m_private; |
96 }; | 96 }; |
97 | 97 |
98 } // namespace WebKit | 98 } // namespace blink |
99 | 99 |
100 #endif // WebMediaConstraints_h | 100 #endif // WebMediaConstraints_h |
OLD | NEW |