blob: fce548b7f777fde0f0a57ac93b53b8e95055d299 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_ACCESSIBILITY_AX_ENUM_LOCALIZATION_UTIL_H_
#define UI_ACCESSIBILITY_AX_ENUM_LOCALIZATION_UTIL_H_
#include <string>
#include "ui/accessibility/ax_base_export.h"
#include "ui/accessibility/ax_enums.mojom-forward.h"
namespace ui {
// Returns a localized string that corresponds to the name of the given action.
AX_BASE_EXPORT std::string ToLocalizedString(
ax::mojom::DefaultActionVerb action_verb);
} // namespace ui
#endif // UI_ACCESSIBILITY_AX_ENUM_LOCALIZATION_UTIL_H_
|