OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_BASE_IME_CHARACTER_COMPOSER_H_ | 5 #ifndef UI_BASE_IME_CHARACTER_COMPOSER_H_ |
6 #define UI_BASE_IME_CHARACTER_COMPOSER_H_ | 6 #define UI_BASE_IME_CHARACTER_COMPOSER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "ui/base/ui_export.h" | 11 #include "ui/base/ui_export.h" |
12 | 12 |
13 namespace ui { | 13 namespace ui { |
14 | 14 |
15 // A class to recognize compose and dead key sequence. | 15 // A class to recognize compose and dead key sequence. |
16 // Outputs composed character. | 16 // Outputs composed character. |
17 class UI_EXPORT CharacterComposer { | 17 class UI_EXPORT CharacterComposer { |
18 public: | 18 public: |
19 CharacterComposer(); | 19 CharacterComposer(); |
20 ~CharacterComposer(); | 20 ~CharacterComposer(); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 // Composition mode which this instance is in. | 82 // Composition mode which this instance is in. |
83 CompositionMode composition_mode_; | 83 CompositionMode composition_mode_; |
84 | 84 |
85 DISALLOW_COPY_AND_ASSIGN(CharacterComposer); | 85 DISALLOW_COPY_AND_ASSIGN(CharacterComposer); |
86 }; | 86 }; |
87 | 87 |
88 } // namespace ui | 88 } // namespace ui |
89 | 89 |
90 #endif // UI_BASE_IME_CHARACTER_COMPOSER_H_ | 90 #endif // UI_BASE_IME_CHARACTER_COMPOSER_H_ |
OLD | NEW |