// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SYSTEM_MEDIA_CONTROLS_SYSTEM_MEDIA_CONTROLS_H_ #define COMPONENTS_SYSTEM_MEDIA_CONTROLS_SYSTEM_MEDIA_CONTROLS_H_ #include <string> #include "base/component_export.h" #include "base/functional/callback.h" #include "services/media_session/public/cpp/media_position.h" #include "third_party/skia/include/core/SkBitmap.h" namespace remote_cocoa { class ApplicationHost; } namespace system_media_controls { class SystemMediaControlsObserver; // OSes often provide a system-level media controls API (e.g. Media Player // Remote Interfacing Specification on Linux or System Media Transport Controls // on Windows). These tend to have similar APIs to each other. // SystemMediaControls is a platform-agnostic API that clients can use to // interface with the operating system's media controls API if it exists. class COMPONENT_EXPORT(SYSTEM_MEDIA_CONTROLS) SystemMediaControls { … }; } // namespace system_media_controls #endif // COMPONENTS_SYSTEM_MEDIA_CONTROLS_SYSTEM_MEDIA_CONTROLS_H_