// Copyright 2024 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_GLOBAL_MEDIA_CONTROLS_PUBLIC_VIEWS_MEDIA_ACTION_BUTTON_H_ #define COMPONENTS_GLOBAL_MEDIA_CONTROLS_PUBLIC_VIEWS_MEDIA_ACTION_BUTTON_H_ #include "ui/views/controls/button/image_button.h" namespace global_media_controls { // Media action button ID casted from media session action starts from 0, so we // use -1 for buttons not associated with any media session action, such as the // start casting button. inline constexpr int kEmptyMediaActionButtonId = …; // Template of media action buttons that are displayed on media item UIs. class COMPONENT_EXPORT(GLOBAL_MEDIA_CONTROLS) MediaActionButton : public views::ImageButton { … }; } // namespace global_media_controls #endif // COMPONENTS_GLOBAL_MEDIA_CONTROLS_PUBLIC_VIEWS_MEDIA_ACTION_BUTTON_H_