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/. */ 4 5 #ifndef WIDGET_MEDIAKEYSEVENTSOURCEFACTORY_H_ 6 #define WIDGET_MEDIAKEYSEVENTSOURCEFACTORY_H_ 7 8 namespace mozilla { 9 namespace dom { 10 class MediaControlKeySource; 11 } // namespace dom 12 } // namespace mozilla 13 14 namespace mozilla { 15 namespace widget { 16 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(); 20 21 } // namespace widget 22 } // namespace mozilla 23 24 #endif 25