Home | History | Annotate | Download | only in win

Lines Matching refs:composition

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();
314 int length = static_cast<int>(composition->text.length());
324 // the beginning of the composition string. Otherwise we should honour the
327 // with composition string. See: https://bugs.webkit.org/show_bug.cgi?id=40805
329 // IMM32 does not support non-zero-width selection in a composition. So
332 composition->selection = ui::Range(cursor);
334 composition->selection = ui::Range(0);
340 &composition->underlines);
344 if (!composition->underlines.size()) {
351 composition->underlines.push_back(underline);
357 composition->underlines.push_back(underline);
363 composition->underlines.push_back(underline);
395 CompositionText* composition) {
399 // Copy the composition string to the CompositionText object.
400 ret = GetString(imm_context, lparam, GCS_COMPSTR, &composition->text);
405 // beginning of composition text. This prevents WebKit from replacing this
409 // beginning of composition text with U+FF3F, a placeholder character used
413 composition->text[0] == 0x3000) {
414 composition->text[0] = 0xFF3F;
417 // Retrieve the composition underlines and selection range information.
418 GetCompositionInfo(imm_context, lparam, composition);
420 // Mark that there is an ongoing composition.
431 // when there is an ongoing composition, e.g. a user has clicked a
433 // For this case, we have to complete the ongoing composition and