// Copyright 2021 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_CONSTANTS_H_ #define COMPONENTS_GLOBAL_MEDIA_CONTROLS_PUBLIC_CONSTANTS_H_ #include "third_party/skia/include/core/SkColor.h" #include "ui/gfx/geometry/size.h" namespace global_media_controls { constexpr SkColor kDefaultForegroundColor = …; constexpr SkColor kDefaultBackgroundColor = …; // The entry point through which the dialog was opened. // These values are persisted to logs. Entries should not be renumbered and // numeric values should never be reused. Keep this in sync with its counterpart // in tools/metrics/histograms/metadata/media/enums.xml. enum class GlobalMediaControlsEntryPoint { … }; // The minimum size in px that the media artwork can be to be displayed in the // item. constexpr int kMediaItemArtworkMinSize = …; // The desired size in px for the media artwork to be displayed in the item. The // media session service will try and select artwork closest to this size. constexpr int kMediaItemArtworkDesiredSize = …; // The preferred size of the media item updated UI in Chrome OS. constexpr gfx::Size kCrOSMediaItemUpdatedUISize = …; } // namespace global_media_controls #endif // COMPONENTS_GLOBAL_MEDIA_CONTROLS_PUBLIC_CONSTANTS_H_