Bug 1608587 [wpt PR 21137] - Update wpt metadata, a=testonly
[gecko.git] / widget / MediaKeysEventSourceFactory.h
blob458589e9a3b9cc0640750b4ef5d3d45518ca5468
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 MediaControlKeysEventSource;
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::MediaControlKeysEventSource*
20 CreateMediaControlKeysEventSource();
22 } // namespace widget
23 } // namespace mozilla
25 #endif