Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: ui/base/ime/chromeos/character_composer.h

Issue 889323003: Split ui/base/ime into a new component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cros x11 GN build Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/base/ime/candidate_window.h ('k') | ui/base/ime/chromeos/component_extension_ime_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHROMEOS_CHARACTER_COMPOSER_H_ 5 #ifndef UI_BASE_IME_CHROMEOS_CHARACTER_COMPOSER_H_
6 #define UI_BASE_IME_CHROMEOS_CHARACTER_COMPOSER_H_ 6 #define UI_BASE_IME_CHROMEOS_CHARACTER_COMPOSER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "ui/base/ui_base_export.h" 11 #include "ui/base/ime/ui_base_ime_export.h"
12 12
13 namespace ui { 13 namespace ui {
14 class KeyEvent; 14 class KeyEvent;
15 15
16 // A class to recognize compose and dead key sequence. 16 // A class to recognize compose and dead key sequence.
17 // Outputs composed character. 17 // Outputs composed character.
18 class UI_BASE_EXPORT CharacterComposer { 18 class UI_BASE_IME_EXPORT CharacterComposer {
19 public: 19 public:
20 CharacterComposer(); 20 CharacterComposer();
21 ~CharacterComposer(); 21 ~CharacterComposer();
22 22
23 void Reset(); 23 void Reset();
24 24
25 // Filters keypress. 25 // Filters keypress.
26 // Returns true if the keypress is recognized as a part of composition 26 // Returns true if the keypress is recognized as a part of composition
27 // sequence. 27 // sequence.
28 // Fabricated events which don't have the native event, are not supported. 28 // Fabricated events which don't have the native event, are not supported.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 // Composition mode which this instance is in. 95 // Composition mode which this instance is in.
96 CompositionMode composition_mode_; 96 CompositionMode composition_mode_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(CharacterComposer); 98 DISALLOW_COPY_AND_ASSIGN(CharacterComposer);
99 }; 99 };
100 100
101 } // namespace ui 101 } // namespace ui
102 102
103 #endif // UI_BASE_IME_CHROMEOS_CHARACTER_COMPOSER_H_ 103 #endif // UI_BASE_IME_CHROMEOS_CHARACTER_COMPOSER_H_
OLDNEW
« no previous file with comments | « ui/base/ime/candidate_window.h ('k') | ui/base/ime/chromeos/component_extension_ime_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698