// Copyright 2023 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_COMPOSE_CORE_BROWSER_CONFIG_H_ #define COMPONENTS_COMPOSE_CORE_BROWSER_CONFIG_H_ #include <string> #include <vector> #include "base/time/time.h" namespace compose { // How Compose should position its dialog if there isn't enough space above or // below the underlying form field (the `anchor`) on the screen. enum class DialogFallbackPositioningStrategy : int { … }; // The Compose configuration. Default values appear below. Always use // |GetComposeConfig()| to get the current configuration. struct Config { … }; // Gets the current configuration. const Config& GetComposeConfig(); Config& GetMutableConfigForTesting(); void ResetConfigForTesting(); } // namespace compose #endif // COMPONENTS_COMPOSE_CORE_BROWSER_CONFIG_H_