blob: 66cd69d76de83c439f335d7b49312bb1774cf291 [file] [log] [blame]
// 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"
namespace crosapi {
COMPONENT_EXPORT(CROSAPI)
inline constexpr base::StringPiece kInputMethodTestCapabilitySendKeyModifiers =
"SendKeyEventModifiers";
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.
// Fixes b/265853952.
COMPONENT_EXPORT(CROSAPI)
inline constexpr base::StringPiece
kInputMethodTestCapabilityAlwaysConfirmComposition =
"AlwaysConfirmComposition";
COMPONENT_EXPORT(CROSAPI)
inline constexpr base::StringPiece
kInputMethodTestCapabilityDeleteSurroundingText = "DeleteSurroundingText";
} // namespace crosapi
#endif // CHROMEOS_CROSAPI_CPP_INPUT_METHOD_TEST_INTERFACE_CONSTANTS_H_