| // 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 CHROMEOS_CROSAPI_CPP_INPUT_METHOD_TEST_INTERFACE_CONSTANTS_H_ |
| #define CHROMEOS_CROSAPI_CPP_INPUT_METHOD_TEST_INTERFACE_CONSTANTS_H_ |
| #include "base/component_export.h" |
| #include "base/strings/string_piece.h" |
| COMPONENT_EXPORT(CROSAPI) |
| inline constexpr base::StringPiece kInputMethodTestCapabilitySendKeyModifiers = |
| COMPONENT_EXPORT(CROSAPI) |
| inline constexpr base::StringPiece |
| kInputMethodTestCapabilityConfirmComposition = "ConfirmComposition"; |
| // When the input method wants to commit the composition, always call |
| // ConfirmCompositionText even if Ash thinks there's no composition. |
| COMPONENT_EXPORT(CROSAPI) |
| inline constexpr base::StringPiece |
| kInputMethodTestCapabilityAlwaysConfirmComposition = |
| "AlwaysConfirmComposition"; |
| COMPONENT_EXPORT(CROSAPI) |
| inline constexpr base::StringPiece |
| kInputMethodTestCapabilityDeleteSurroundingText = "DeleteSurroundingText"; |
| #endif // CHROMEOS_CROSAPI_CPP_INPUT_METHOD_TEST_INTERFACE_CONSTANTS_H_ |