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

Side by Side Diff: ui/base/ime/win/tsf_text_store.h

Issue 117983002: Prefix string16 with base:: in ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « ui/base/ime/win/imm32_manager.cc ('k') | ui/base/ime/win/tsf_text_store.cc » ('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 (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
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // HWND of the current view window which is set in SetFocusedTextInputClient. 243 // HWND of the current view window which is set in SetFocusedTextInputClient.
244 HWND window_handle_; 244 HWND window_handle_;
245 245
246 // Current TextInputClient which is set in SetFocusedTextInputClient. 246 // Current TextInputClient which is set in SetFocusedTextInputClient.
247 TextInputClient* text_input_client_; 247 TextInputClient* text_input_client_;
248 248
249 // |string_buffer_| contains committed string and composition string. 249 // |string_buffer_| contains committed string and composition string.
250 // Example: "aoi" is committed, and "umi" is under composition. 250 // Example: "aoi" is committed, and "umi" is under composition.
251 // |string_buffer_|: "aoiumi" 251 // |string_buffer_|: "aoiumi"
252 // |committed_size_|: 3 252 // |committed_size_|: 3
253 string16 string_buffer_; 253 base::string16 string_buffer_;
254 size_t committed_size_; 254 size_t committed_size_;
255 255
256 // |selection_start_| and |selection_end_| indicates the selection range. 256 // |selection_start_| and |selection_end_| indicates the selection range.
257 // Example: "iue" is selected 257 // Example: "iue" is selected
258 // |string_buffer_|: "aiueo" 258 // |string_buffer_|: "aiueo"
259 // |selection_.start()|: 1 259 // |selection_.start()|: 1
260 // |selection_.end()|: 4 260 // |selection_.end()|: 4
261 gfx::Range selection_; 261 gfx::Range selection_;
262 262
263 // |start_offset| and |end_offset| of |composition_undelines_| indicates 263 // |start_offset| and |end_offset| of |composition_undelines_| indicates
(...skipping 24 matching lines...) Expand all
288 // attributes of the composition string. 288 // attributes of the composition string.
289 base::win::ScopedComPtr<ITfCategoryMgr> category_manager_; 289 base::win::ScopedComPtr<ITfCategoryMgr> category_manager_;
290 base::win::ScopedComPtr<ITfDisplayAttributeMgr> display_attribute_manager_; 290 base::win::ScopedComPtr<ITfDisplayAttributeMgr> display_attribute_manager_;
291 291
292 DISALLOW_COPY_AND_ASSIGN(TSFTextStore); 292 DISALLOW_COPY_AND_ASSIGN(TSFTextStore);
293 }; 293 };
294 294
295 } // namespace ui 295 } // namespace ui
296 296
297 #endif // UI_BASE_IME_WIN_TSF_TEXT_STORE_H_ 297 #endif // UI_BASE_IME_WIN_TSF_TEXT_STORE_H_
OLDNEW
« no previous file with comments | « ui/base/ime/win/imm32_manager.cc ('k') | ui/base/ime/win/tsf_text_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698