/external/chromium_org/ui/base/ime/ |
H A D | composition_text_util_pango.cc | 20 CompositionText* composition) { 21 composition->Clear(); 22 composition->text = base::UTF8ToUTF16(utf8_text); 24 if (composition->text.empty()) 31 size_t length = composition->text.length(); 32 base::i18n::UTF16CharIterator char_iterator(&composition->text); 45 composition->selection = gfx::Range(cursor_offset); 92 composition->selection.set_start(underline.end_offset); 93 composition->selection.set_end(cursor_offset); 95 composition 17 ExtractCompositionTextFromGtkPreedit(const gchar* utf8_text, PangoAttrList* attrs, int cursor_position, CompositionText* composition) argument [all...] |
H A D | composition_text_util_pango.h | 17 // Extracts composition text information (text, underlines, selection range) 23 CompositionText* composition);
|
H A D | dummy_text_input_client.cc | 20 const CompositionText& composition) { 19 SetCompositionText( const CompositionText& composition) argument
|
H A D | 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. 83 // Retrieves the composition character boundary rectangle in the universal 85 // in composition tex [all...] |
H A D | dummy_text_input_client.h | 20 virtual void SetCompositionText(const CompositionText& composition) OVERRIDE;
|
H A D | input_method_win.cc | 20 // Extra number of chars before and after selection (or composition) range which 279 // Reset the composition status and create IME windows. 298 // Retrieve the result string and its attributes of the ongoing composition 300 ui::CompositionText composition; local 301 if (imm32_manager_.GetResult(window_handle, lparam, &composition.text)) { 303 GetTextInputClient()->InsertText(composition.text); 305 // Fall though and try reading the composition string. 307 // GCS_COMPSTR, which means an ongoing composition has been finished 308 // by the start of another composition. 310 // Retrieve the composition strin [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | EditCommand.cpp | 70 return toCompositeEditCommand(command)->composition(); 76 if (EditCommandComposition* composition = compositionIfPossible(command)) { 78 composition->setStartingSelection(selection); 94 if (EditCommandComposition* composition = compositionIfPossible(command)) { 96 composition->setEndingSelection(selection); 110 ASSERT(!parent || !isCompositeEditCommand() || !toCompositeEditCommand(this)->composition());
|
H A D | CompositeEditCommand.h | 81 EditCommandComposition* composition() { return m_composition.get(); } function in class:blink::CompositeEditCommand
|
H A D | Editor.cpp | 664 EditCommandComposition* composition = cmd->composition(); local 665 ASSERT(composition); 666 dispatchEditableContentChangedEvents(composition->startingRootEditableElement(), composition->endingRootEditableElement());
|
H A D | TypingCommand.cpp | 158 void TypingCommand::insertText(Document& document, const String& text, Options options, TextCompositionType composition) argument 166 insertText(document, text, frame->selection().selection(), options, composition);
|
/external/chromium_org/ui/base/ime/win/ |
H A D | imm32_manager.cc | 40 // target range that's selected by the user in the current composition string. 67 // underlines information of the current composition string. 184 // composition window, Update the styles of the IME windows and EXPLICITLY 244 // Moves the composition text window. 280 // composition, (this case happens when the given window is de-activated 293 // Currently, just reset the composition status. 298 // We have to confirm there is an ongoing composition before completing it. 300 // ongoing composition even if they do not have any ongoing compositions.) 308 CompositionText* composition) { 311 composition 307 GetCompositionInfo(HIMC imm_context, LPARAM lparam, CompositionText* composition) argument 394 GetComposition(HWND window_handle, LPARAM lparam, CompositionText* composition) argument [all...] |
H A D | 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 ha [all...] |
/external/chromium_org/ui/views/controls/textfield/ |
H A D | textfield_model.cc | 254 gfx::Range GetFirstEmphasizedRange(const ui::CompositionText& composition) { argument 255 for (size_t i = 0; i < composition.underlines.size(); ++i) { 256 const ui::CompositionUnderline& underline = composition.underlines[i]; 297 if (changed) // No need to remember composition. 303 // If there is a composition text, don't merge with previous edit. 327 // No undo/redo for composition text. 348 // No undo/redo for composition text. 555 const ui::CompositionText& composition) { 561 if (composition.text.empty()) 566 render_text_->SetText(new_text.insert(cursor, composition 554 SetCompositionText( const ui::CompositionText& composition) argument 593 base::string16 composition = text().substr(range.start(), range.length()); local [all...] |
H A D | textfield_model_unittest.cc | 824 ui::CompositionText composition; local 825 composition.text = base::ASCIIToUTF16("678"); 826 composition.underlines.push_back(ui::CompositionUnderline(0, 3, 0, false)); 828 // Cursor should be at the end of composition when characters are just typed. 829 composition.selection = gfx::Range(3, 3); 830 model.SetCompositionText(composition); 834 // Cancel the composition. 838 // Restart composition with targeting "67" in "678". 839 composition.selection = gfx::Range(0, 2); 840 composition 1409 ui::CompositionText composition; local [all...] |
H A D | textfield_model.h | 45 // Called when the current composition text is confirmed or cleared. 59 // composition text will be confirmed first. Setting the same text will not 68 // The current composition text will be cleared. 79 // The current composition text will be cleared. 90 // The current composition text will be confirmed. 96 // If there is composition text, it'll be deleted instead. 102 // If there is composition text, it'll be deleted instead. 111 // The current composition text will be confirmed. 116 // Updates the cursor to the specified selection model. Any composition text 128 // The current composition tex [all...] |
H A D | textfield_unittest.cc | 1171 ui::CompositionText composition; local 1172 composition.text = UTF8ToUTF16("321"); 1173 // Set composition through input method. 1175 input_method_->SetCompositionTextForNextKey(composition); 1202 input_method_->SetCompositionTextForNextKey(composition); 1723 ui::CompositionText composition; local 1724 composition.text = UTF8ToUTF16("abc123"); 1725 const uint32 char_count = static_cast<uint32>(composition.text.length()); 1728 // Compare the composition character bounds with surrounding cursor bounds. 1730 composition 1770 ui::CompositionText composition; local [all...] |
H A D | textfield.h | 282 const ui::CompositionText& composition) OVERRIDE;
|
/external/chromium_org/ui/views/ime/ |
H A D | mock_input_method.cc | 154 const ui::CompositionText& composition) { 156 composition_ = composition; 153 SetCompositionTextForNextKey( const ui::CompositionText& composition) argument
|
H A D | mock_input_method.h | 54 void SetCompositionTextForNextKey(const ui::CompositionText& composition); 67 // Clears only composition information and result text.
|
H A D | input_method_bridge.h | 54 const ui::CompositionText& composition) OVERRIDE;
|
H A D | input_method_bridge.cc | 183 const ui::CompositionText& composition) { 186 client->SetCompositionText(composition); 182 SetCompositionText( const ui::CompositionText& composition) argument
|
/external/chromium_org/ui/views/controls/ |
H A D | prefix_selector.h | 29 const ui::CompositionText& composition) OVERRIDE;
|
H A D | prefix_selector.cc | 41 const ui::CompositionText& composition) { 40 SetCompositionText( const ui::CompositionText& composition) argument
|
/external/chromium_org/chrome/browser/apps/ |
H A D | web_view_interactive_browsertest.cc | 1086 ui::CompositionText composition; local 1087 composition.text = base::UTF8ToUTF16("InputTest123"); 1088 text_input_client->SetCompositionText(composition); 1097 // A composition is committed via IME. 1101 ui::CompositionText composition; local 1102 composition.text = base::UTF8ToUTF16("InputTest456"); 1103 text_input_client->SetCompositionText(composition); 1113 // Moving focus causes IME cancel, and the composition will be committed 1117 ui::CompositionText composition; local 1118 composition [all...] |
/external/chromium_org/content/browser/renderer_host/ |
H A D | render_widget_host_view_aura.cc | 1408 const ui::CompositionText& composition) { 1415 underlines.reserve(composition.underlines.size()); 1417 composition.underlines.begin(); 1418 it != composition.underlines.end(); ++it) { 1428 // composition string. See: https://bugs.webkit.org/show_bug.cgi?id=37788 1429 host_->ImeSetComposition(composition.text, underlines, 1430 composition.selection.end(), 1431 composition.selection.end()); 1433 has_composition_text_ = !composition.text.empty(); 1989 // Confirm existing composition tex 1407 SetCompositionText( const ui::CompositionText& composition) argument [all...] |