OLD | NEW |
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_WIN_IMM32_MANAGER_H | 5 #ifndef UI_BASE_IME_WIN_IMM32_MANAGER_H |
6 #define UI_BASE_IME_WIN_IMM32_MANAGER_H | 6 #define UI_BASE_IME_WIN_IMM32_MANAGER_H |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/i18n/rtl.h" | 14 #include "base/i18n/rtl.h" |
15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
16 #include "ui/base/ime/text_input_mode.h" | 16 #include "ui/base/ime/text_input_mode.h" |
17 #include "ui/base/ui_base_export.h" | 17 #include "ui/base/ui_base_export.h" |
18 #include "ui/gfx/rect.h" | 18 #include "ui/gfx/geometry/rect.h" |
19 | 19 |
20 namespace ui { | 20 namespace ui { |
21 | 21 |
22 struct CompositionText; | 22 struct CompositionText; |
23 | 23 |
24 // This header file defines a struct and a class used for encapsulating IMM32 | 24 // This header file defines a struct and a class used for encapsulating IMM32 |
25 // APIs, controls IMEs attached to a window, and enables the 'on-the-spot' | 25 // APIs, controls IMEs attached to a window, and enables the 'on-the-spot' |
26 // input without deep knowledge about the APIs, i.e. knowledge about the | 26 // input without deep knowledge about the APIs, i.e. knowledge about the |
27 // language-specific and IME-specific behaviors. | 27 // language-specific and IME-specific behaviors. |
28 // The following items enumerates the simplest steps for an (window) | 28 // The following items enumerates the simplest steps for an (window) |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 | 321 |
322 // Indicates whether or not we want IME to render composition text. | 322 // Indicates whether or not we want IME to render composition text. |
323 bool use_composition_window_; | 323 bool use_composition_window_; |
324 | 324 |
325 DISALLOW_COPY_AND_ASSIGN(IMM32Manager); | 325 DISALLOW_COPY_AND_ASSIGN(IMM32Manager); |
326 }; | 326 }; |
327 | 327 |
328 } // namespace ui | 328 } // namespace ui |
329 | 329 |
330 #endif // UI_BASE_IME_WIN_IMM32_MANAGER_H | 330 #endif // UI_BASE_IME_WIN_IMM32_MANAGER_H |
OLD | NEW |