// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40285824): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #ifndef CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_THEME_H_ #define CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_THEME_H_ #include "chrome/browser/ui/color/chrome_color_id.h" enum class OmniboxPartState { … }; constexpr float kOmniboxOpacityHovered = …; constexpr float kOmniboxOpacitySelected = …; inline ui::ColorId GetOmniboxBackgroundColorId(OmniboxPartState state) { … } #endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_THEME_H_