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_WIN_TSF_TEXT_STORE_H_ | 5 #ifndef UI_BASE_IME_WIN_TSF_TEXT_STORE_H_ |
6 #define UI_BASE_IME_WIN_TSF_TEXT_STORE_H_ | 6 #define UI_BASE_IME_WIN_TSF_TEXT_STORE_H_ |
7 | 7 |
8 #include <msctf.h> | 8 #include <msctf.h> |
9 #include <deque> | 9 #include <deque> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "base/win/scoped_comptr.h" | 14 #include "base/win/scoped_comptr.h" |
15 #include "ui/base/ime/composition_underline.h" | 15 #include "ui/base/ime/composition_underline.h" |
16 #include "ui/base/range/range.h" | 16 #include "ui/base/range/range.h" |
17 #include "ui/base/ui_export.h" | 17 #include "ui/base/ui_export.h" |
18 | 18 |
19 namespace ui { | 19 namespace ui { |
20 class TextInputClient; | 20 class TextInputClient; |
21 | 21 |
22 // TSFTextStore is used to interact with the input method via TSF manager. | 22 // TSFTextStore is used to interact with the input method via TSF manager. |
23 // TSFTextStore have a string buffer which is manipulated by TSF manager through | 23 // TSFTextStore have a string buffer which is manipulated by TSF manager through |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 // attributes of the composition string. | 282 // attributes of the composition string. |
283 base::win::ScopedComPtr<ITfCategoryMgr> category_manager_; | 283 base::win::ScopedComPtr<ITfCategoryMgr> category_manager_; |
284 base::win::ScopedComPtr<ITfDisplayAttributeMgr> display_attribute_manager_; | 284 base::win::ScopedComPtr<ITfDisplayAttributeMgr> display_attribute_manager_; |
285 | 285 |
286 DISALLOW_COPY_AND_ASSIGN(TSFTextStore); | 286 DISALLOW_COPY_AND_ASSIGN(TSFTextStore); |
287 }; | 287 }; |
288 | 288 |
289 } // namespace ui | 289 } // namespace ui |
290 | 290 |
291 #endif // UI_BASE_IME_WIN_TSF_TEXT_STORE_H_ | 291 #endif // UI_BASE_IME_WIN_TSF_TEXT_STORE_H_ |
OLD | NEW |