Bug 1839316: part 11) Factor preparing the incremental stream loader out of `StartLoa...
[gecko.git] / widget / MediaKeysEventSourceFactory.h
blob6e913dde2250205a3e33118e032ba2b03522032a
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef WIDGET_MEDIAKEYSEVENTSOURCEFACTORY_H_
6 #define WIDGET_MEDIAKEYSEVENTSOURCEFACTORY_H_
8 namespace mozilla {
9 namespace dom {
10 class MediaControlKeySource;
11 } // namespace dom
12 } // namespace mozilla
14 namespace mozilla {
15 namespace widget {
17 // This function declaration is used to create a media keys event source on
18 // different platforms, each platform should have their own implementation.
19 extern mozilla::dom::MediaControlKeySource* CreateMediaControlKeySource();
21 } // namespace widget
22 } // namespace mozilla
24 #endif