Lines Matching refs:composition_
111 composition_ = composition; in SetCompositionText()
122 static_cast<uint32_t>(composition_.text.length()); in ConfirmCompositionText()
123 delegate_->Commit(composition_.text); in ConfirmCompositionText()
128 if (composition_.text.empty()) in ClearCompositionText()
130 composition_ = ui::CompositionText(); in ClearCompositionText()
131 delegate_->SetCompositionText(composition_); in ClearCompositionText()
177 return !composition_.text.empty(); in HasCompositionText()
189 if (composition_.text.empty()) { in GetTextRange()
193 composition_.text.size()); in GetTextRange()
199 if (!cursor_pos_ || composition_.text.empty()) in GetCompositionTextRange()
203 range->set_end(cursor_pos_->start() + composition_.text.size()); in GetCompositionTextRange()
246 if (composition_.text.empty() || range.GetMax() <= cursor_pos_->GetMin()) { in GetTextFromRange()
250 size_t composition_end = cursor_pos_->GetMin() + composition_.text.size(); in GetTextFromRange()
253 range.GetMin() - composition_.text.size() + cursor_pos_->length(); in GetTextFromRange()
266 text->append(composition_.text, start_in_composition, in GetTextFromRange()
269 text->append(composition_.text, start_in_composition, in GetTextFromRange()
270 composition_.text.size() - start_in_composition); in GetTextFromRange()