constants.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef ASH_SERVICES_IME_CONSTANTS_H_
  5. #define ASH_SERVICES_IME_CONSTANTS_H_
  6. #include "base/component_export.h"
  7. #include "base/files/file_path.h"
  8. namespace ash {
  9. namespace ime {
  10. // The path where ChromeOS default input methods is installed, consisting of
  11. // IME manifest and some bundled language dictionaries.
  12. COMPONENT_EXPORT(ASH_IME_CONSTANTS)
  13. extern const base::FilePath::CharType kBundledInputMethodsDirPath[];
  14. // The path of the active user's own input methods data, including user's
  15. // private dictionary or downloaded language dictionaries.
  16. COMPONENT_EXPORT(ASH_IME_CONSTANTS)
  17. extern const base::FilePath::CharType kUserInputMethodsDirPath[];
  18. // The name of the directory inside the profile where IME data are stored in.
  19. COMPONENT_EXPORT(ASH_IME_CONSTANTS)
  20. extern const base::FilePath::CharType kInputMethodsDirName[];
  21. // The name of the directory inside the input methods directory where language
  22. // dictionaries are downloaded to.
  23. COMPONENT_EXPORT(ASH_IME_CONSTANTS)
  24. extern const base::FilePath::CharType kLanguageDataDirName[];
  25. // The domain of Google Keyboard language dictionary download URL.
  26. COMPONENT_EXPORT(ASH_IME_CONSTANTS)
  27. extern const char kGoogleKeyboardDownloadDomain[];
  28. } // namespace ime
  29. } // namespace ash
  30. #endif // ASH_SERVICES_IME_CONSTANTS_H_