| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 bool isNull() const { return m_private.isNull(); } | 56 bool isNull() const { return m_private.isNull(); } |
| 57 BLINK_EXPORT bool equals(const WebMediaDevicesRequest&) const; | 57 BLINK_EXPORT bool equals(const WebMediaDevicesRequest&) const; |
| 58 BLINK_EXPORT void assign(const WebMediaDevicesRequest&); | 58 BLINK_EXPORT void assign(const WebMediaDevicesRequest&); |
| 59 | 59 |
| 60 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; | 60 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; |
| 61 BLINK_EXPORT WebDocument ownerDocument() const; | 61 BLINK_EXPORT WebDocument ownerDocument() const; |
| 62 | 62 |
| 63 BLINK_EXPORT void requestSucceeded(WebVector<WebMediaDeviceInfo>); | 63 BLINK_EXPORT void requestSucceeded(WebVector<WebMediaDeviceInfo>); |
| 64 | 64 |
| 65 #if BLINK_IMPLEMENTATION | 65 #if BLINK_IMPLEMENTATION |
| 66 WebMediaDevicesRequest(const PassRefPtr<WebCore::MediaDevicesRequest>&); | 66 WebMediaDevicesRequest(const PassRefPtrWillBeRawPtr<WebCore::MediaDevicesReq
uest>&); |
| 67 WebMediaDevicesRequest(WebCore::MediaDevicesRequest*); | 67 WebMediaDevicesRequest(WebCore::MediaDevicesRequest*); |
| 68 operator WebCore::MediaDevicesRequest*() const; | 68 operator WebCore::MediaDevicesRequest*() const; |
| 69 #endif | 69 #endif |
| 70 | 70 |
| 71 private: | 71 private: |
| 72 WebPrivatePtr<WebCore::MediaDevicesRequest> m_private; | 72 WebPrivatePtr<WebCore::MediaDevicesRequest> m_private; |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 inline bool operator==(const WebMediaDevicesRequest& a, const WebMediaDevicesReq
uest& b) | 75 inline bool operator==(const WebMediaDevicesRequest& a, const WebMediaDevicesReq
uest& b) |
| 76 { | 76 { |
| 77 return a.equals(b); | 77 return a.equals(b); |
| 78 } | 78 } |
| 79 | 79 |
| 80 } // namespace blink | 80 } // namespace blink |
| 81 | 81 |
| 82 #endif // WebMediaDevicesRequest_h | 82 #endif // WebMediaDevicesRequest_h |
| OLD | NEW |