| 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 13 matching lines...) Expand all Loading... |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef WebSourceInfo_h | 26 #ifndef WebSourceInfo_h |
| 27 #define WebSourceInfo_h | 27 #define WebSourceInfo_h |
| 28 | 28 |
| 29 #include "WebCommon.h" | 29 #include "WebCommon.h" |
| 30 #include "WebNonCopyable.h" | 30 #include "WebNonCopyable.h" |
| 31 #include "WebPrivatePtr.h" | 31 #include "WebPrivatePtr.h" |
| 32 #include "WebString.h" | 32 #include "WebString.h" |
| 33 | 33 |
| 34 namespace WebKit { | 34 namespace blink { |
| 35 | 35 |
| 36 class WebSourceInfoPrivate; | 36 class WebSourceInfoPrivate; |
| 37 | 37 |
| 38 class WebSourceInfo { | 38 class WebSourceInfo { |
| 39 public: | 39 public: |
| 40 enum SourceKind { | 40 enum SourceKind { |
| 41 SourceKindNone, | 41 SourceKindNone, |
| 42 SourceKindAudio, | 42 SourceKindAudio, |
| 43 SourceKindVideo | 43 SourceKindVideo |
| 44 }; | 44 }; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 67 | 67 |
| 68 BLINK_PLATFORM_EXPORT WebString id() const; | 68 BLINK_PLATFORM_EXPORT WebString id() const; |
| 69 BLINK_PLATFORM_EXPORT SourceKind kind() const; | 69 BLINK_PLATFORM_EXPORT SourceKind kind() const; |
| 70 BLINK_PLATFORM_EXPORT WebString label() const; | 70 BLINK_PLATFORM_EXPORT WebString label() const; |
| 71 BLINK_PLATFORM_EXPORT VideoFacingMode facing() const; | 71 BLINK_PLATFORM_EXPORT VideoFacingMode facing() const; |
| 72 | 72 |
| 73 private: | 73 private: |
| 74 WebPrivatePtr<WebSourceInfoPrivate> m_private; | 74 WebPrivatePtr<WebSourceInfoPrivate> m_private; |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace WebKit | 77 } // namespace blink |
| 78 | 78 |
| 79 #endif // WebSourceInfo_h | 79 #endif // WebSourceInfo_h |
| OLD | NEW |