/external/chromium_org/ui/base/gtk/ |
gtk_im_context_util.cc | 18 CompositionText* composition) { 19 composition->Clear(); 20 composition->text = UTF8ToUTF16(utf8_text); 22 if (composition->text.empty()) 29 size_t length = composition->text.length(); 30 base::i18n::UTF16CharIterator char_iterator(&composition->text); 43 composition->selection = ui::Range(cursor_offset); 87 composition->selection.set_start(underline.end_offset); 88 composition->selection.set_end(cursor_offset); 90 composition->selection.set_start(underline.start_offset) [all...] |
gtk_im_context_util.h | 16 // Extracts composition text information (text, underlines, selection range) 22 CompositionText* composition);
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
EditCommand.cpp | 70 return toCompositeEditCommand(command)->composition(); 76 if (EditCommandComposition* composition = compositionIfPossible(cmd)) { 78 composition->setStartingSelection(s); 89 if (EditCommandComposition* composition = compositionIfPossible(cmd)) { 91 composition->setEndingSelection(s); 100 ASSERT(!parent || !isCompositeEditCommand() || !toCompositeEditCommand(this)->composition());
|
/external/chromium_org/third_party/WebKit/Source/core/html/ime/ |
InputMethodContext.idl | 34 readonly attribute Composition composition;
|
InputMethodContext.h | 42 class Composition; 53 Composition* composition() const; 62 RefPtr<Composition> m_composition;
|
InputMethodContext.cpp | 35 #include "core/html/ime/Composition.h" 56 Composition* InputMethodContext::composition() const function in class:WebCore::InputMethodContext 58 // FIXME: Implement this. This should lazily update the composition object
|
/external/chromium_org/ui/base/ime/win/ |
imm32_manager.cc | 42 // target range that's selected by the user in the current composition string. 69 // underlines information of the current composition string. 185 // composition window, Update the styles of the IME windows and EXPLICITLY 245 // Moves the composition text window. 281 // composition, (this case happens when the given window is de-activated 294 // Currently, just reset the composition status. 299 // We have to confirm there is an ongoing composition before completing it. 301 // ongoing composition even if they do not have any ongoing compositions.) 309 CompositionText* composition) { 312 composition->underlines.clear() [all...] |
imm32_manager.h | 82 // Retrieves whether or not there is an ongoing composition. 134 // reset its composition status. 140 // Resets the composition status. 141 // Cancel the ongoing composition if it exists. 148 // Retrieves a composition result of the ongoing composition if it exists. 153 // Specifies the updated members of the ongoing composition, and must be 155 // This parameter is used for checking if the ongoing composition has 158 // Represents the object contains the composition result. 161 // The ongoing composition has a composition result [all...] |
tsf_text_store_unittest.cc | 491 void SetCompositionText(const ui::CompositionText& composition) { 493 EXPECT_EQ(L"", composition.text); 494 EXPECT_EQ(0, composition.selection.start()); 495 EXPECT_EQ(0, composition.selection.end()); 496 EXPECT_EQ(0, composition.underlines.size()); 953 void SetCompositionText1(const ui::CompositionText& composition) { 954 EXPECT_EQ(L"axyzc", composition.text); 955 EXPECT_EQ(1, composition.selection.start()); 956 EXPECT_EQ(4, composition.selection.end()); 957 ASSERT_EQ(1, composition.underlines.size()) [all...] |
/external/chromium_org/ui/base/ime/ |
input_method_imm32.cc | 180 // Reset the composition status and create IME windows. 199 // Retrieve the result string and its attributes of the ongoing composition 201 ui::CompositionText composition; local 202 if (imm32_manager_.GetResult(window_handle, lparam, &composition.text)) { 204 GetTextInputClient()->InsertText(composition.text); 206 // Fall though and try reading the composition string. 208 // GCS_COMPSTR, which means an ongoing composition has been finished 209 // by the start of another composition. 211 // Retrieve the composition string and its attributes of the ongoing 212 // composition and send it to a renderer process [all...] |
text_input_client.h | 31 // Sets composition text and attributes. If there is composition text already, 33 // replaced. If there is no selection, the composition text will be inserted 35 virtual void SetCompositionText(const ui::CompositionText& composition) = 0; 37 // Converts current composition text into final content. 40 // Removes current composition text. 43 // Inserts a given text at the insertion point. Current composition text or 71 // Returns if the client supports inline composition currently. 79 // Retrieves the composition character boundary rectangle relative to the 81 // in composition text [all...] |
input_method_win.cc | 18 // Extra number of chars before and after selection (or composition) range which 174 // Shows the dead character as a composition text, so that the user can know 176 ui::CompositionText composition; 177 composition.text.assign(1, static_cast<char16>(wparam)); 178 composition.selection = ui::Range(0, 1); 179 composition.underlines.push_back( 181 GetTextInputClient()->SetCompositionText(composition); 253 // If there is a composition string already, we don't allow reconversion. 320 // If there is no composition and the first character is queried, returns
|
/external/chromium_org/ui/views/controls/textfield/ |
textfield_views_model.cc | 272 ui::Range GetFirstEmphasizedRange(const ui::CompositionText& composition) { 273 for (size_t i = 0; i < composition.underlines.size(); ++i) { 274 const ui::CompositionUnderline& underline = composition.underlines[i]; 320 if (changed) // No need to remember composition. 326 // If there is a composition text, don't merge with previous edit. 354 // No undo/redo for composition text. 375 // No undo/redo for composition text. 582 const ui::CompositionText& composition) { 588 if (composition.text.empty()) 593 render_text_->SetText(new_text.insert(cursor, composition.text)) [all...] |
textfield_views_model_unittest.cc | 827 ui::CompositionText composition; local 828 composition.text = ASCIIToUTF16("678"); 829 composition.underlines.push_back(ui::CompositionUnderline(0, 3, 0, false)); 831 // Cursor should be at the end of composition when characters are just typed. 832 composition.selection = ui::Range(3, 3); 833 model.SetCompositionText(composition); 837 // Cancel composition 841 // Restart composition with targeting "67" in "678". 842 composition.selection = ui::Range(0, 2); 843 composition.underlines.clear() 1442 ui::CompositionText composition; local [all...] |
textfield_views_model.h | 58 // Called when the current composition text is confirmed or cleared. 72 // current composition text will be confirmed first. Setting 82 // The current composition text will be cleared. 93 // The current composition text will be cleared. 104 // The current composition text will be confirmed. 110 // If there is composition text, it'll be deleted instead. 116 // If there is composition text, it'll be deleted instead. 125 // The current composition text will be confirmed. 131 // If there is composition text, it will be confirmed, which will update the 144 // The current composition text will be confirmed. The selection starts wit [all...] |
/external/chromium_org/ui/views/controls/ |
prefix_selector.h | 29 const ui::CompositionText& composition) OVERRIDE;
|
prefix_selector.cc | 41 const ui::CompositionText& composition) {
|
/external/chromium_org/ui/views/ime/ |
mock_input_method.h | 54 void SetCompositionTextForNextKey(const ui::CompositionText& composition); 68 // Clears only composition information and result text. 71 // Composition information for the next key event. It'll be cleared
|
mock_input_method.cc | 157 const ui::CompositionText& composition) { 159 composition_ = composition;
|
input_method_bridge.h | 54 const ui::CompositionText& composition) OVERRIDE;
|
input_method_bridge.cc | 109 const ui::CompositionText& composition) { 112 client->SetCompositionText(composition);
|
/external/chromium/chrome/browser/renderer_host/ |
render_widget_host_view_win.cc | 1157 ui::CompositionText composition; local [all...] |
render_widget_host_view_views.cc | 44 // Match key code of composition keydown event on windows. 452 // Confirm existing composition text on mouse click events, to make sure 453 // the input caret won't be moved with an ongoing composition text. 524 // Confirm existing composition text on touch press events, to make 525 // sure the input caret won't be moved with an ongoing composition 642 const ui::CompositionText& composition) { 656 composition.underlines); 659 // composition string. See: https://bugs.webkit.org/show_bug.cgi?id=37788 660 host_->ImeSetComposition(composition.text, underlines, 661 composition.selection.end() [all...] |
render_widget_host_view_views.h | 109 const ui::CompositionText& composition) OVERRIDE; 156 // Confirm existing composition text in the webpage and ask the input method 157 // to cancel its ongoing composition sesstion. 211 // Indicates if there is onging composition text.
|
/external/chromium_org/content/browser/renderer_host/ |
render_widget_host_view_win.cc | 1667 ui::CompositionText composition; local [all...] |