| 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #include "bindings/core/v8/ScriptPromise.h" | 29 #include "bindings/core/v8/ScriptPromise.h" |
| 30 #include "core/dom/ActiveDOMObject.h" | 30 #include "core/dom/ActiveDOMObject.h" |
| 31 #include "modules/ModulesExport.h" | 31 #include "modules/ModulesExport.h" |
| 32 #include "modules/mediastream/MediaDeviceInfo.h" | 32 #include "modules/mediastream/MediaDeviceInfo.h" |
| 33 #include "platform/heap/Handle.h" | 33 #include "platform/heap/Handle.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class Document; | 37 class Document; |
| 38 class ExceptionState; | |
| 39 class UserMediaController; | 38 class UserMediaController; |
| 40 class ScriptState; | 39 class ScriptState; |
| 41 class ScriptPromiseResolver; | 40 class ScriptPromiseResolver; |
| 42 | 41 |
| 43 class MODULES_EXPORT MediaDevicesRequest final | 42 class MODULES_EXPORT MediaDevicesRequest final |
| 44 : public GarbageCollectedFinalized<MediaDevicesRequest>, | 43 : public GarbageCollectedFinalized<MediaDevicesRequest>, |
| 45 public ActiveDOMObject { | 44 public ActiveDOMObject { |
| 46 USING_GARBAGE_COLLECTED_MIXIN(MediaDevicesRequest); | 45 USING_GARBAGE_COLLECTED_MIXIN(MediaDevicesRequest); |
| 47 | 46 |
| 48 public: | 47 public: |
| (...skipping 14 matching lines...) Expand all Loading... |
| 63 private: | 62 private: |
| 64 MediaDevicesRequest(ScriptState*, UserMediaController*); | 63 MediaDevicesRequest(ScriptState*, UserMediaController*); |
| 65 | 64 |
| 66 Member<UserMediaController> m_controller; | 65 Member<UserMediaController> m_controller; |
| 67 Member<ScriptPromiseResolver> m_resolver; | 66 Member<ScriptPromiseResolver> m_resolver; |
| 68 }; | 67 }; |
| 69 | 68 |
| 70 } // namespace blink | 69 } // namespace blink |
| 71 | 70 |
| 72 #endif // MediaDevicesRequest_h | 71 #endif // MediaDevicesRequest_h |
| OLD | NEW |