Home
last modified time | relevance | path

Searched refs:utf8_text (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/ui/base/ime/
Dcomposition_text_util_pango.cc17 void ExtractCompositionTextFromGtkPreedit(const gchar* utf8_text, in ExtractCompositionTextFromGtkPreedit() argument
22 composition->text = UTF8ToUTF16(utf8_text); in ExtractCompositionTextFromGtkPreedit()
48 int utf8_length = strlen(utf8_text); in ExtractCompositionTextFromGtkPreedit()
62 start = g_utf8_pointer_to_offset(utf8_text, utf8_text + start); in ExtractCompositionTextFromGtkPreedit()
63 end = g_utf8_pointer_to_offset(utf8_text, utf8_text + end); in ExtractCompositionTextFromGtkPreedit()
Dcomposition_text_util_pango.h20 const gchar* utf8_text,
/external/chromium_org/ui/base/clipboard/
Dscoped_clipboard_writer.cc116 std::string utf8_text = UTF16ToUTF8(text); in WriteTextOrURL() local
119 parameters.push_back(Clipboard::ObjectMapParam(utf8_text.begin(), in WriteTextOrURL()
120 utf8_text.end())); in WriteTextOrURL()
124 url_text_ = utf8_text; in WriteTextOrURL()
/external/chromium/chrome/browser/ui/gtk/
Dtab_contents_drag_source.cc175 std::string utf8_text = UTF16ToUTF8(drop_data_->plain_text); in OnDragDataGet() local
176 gtk_selection_data_set_text(selection_data, utf8_text.c_str(), in OnDragDataGet()
177 utf8_text.length()); in OnDragDataGet()
184 std::string utf8_text = UTF16ToUTF8(drop_data_->text_html); in OnDragDataGet() local
188 reinterpret_cast<const guchar*>(utf8_text.c_str()), in OnDragDataGet()
189 utf8_text.length()); in OnDragDataGet()
/external/chromium_org/content/browser/web_contents/
Dweb_drag_source_gtk.cc182 std::string utf8_text = UTF16ToUTF8(drop_data_->text.string()); in OnDragDataGet() local
183 gtk_selection_data_set_text(selection_data, utf8_text.c_str(), in OnDragDataGet()
184 utf8_text.length()); in OnDragDataGet()
191 std::string utf8_text = UTF16ToUTF8(drop_data_->html.string()); in OnDragDataGet() local
195 reinterpret_cast<const guchar*>(utf8_text.c_str()), in OnDragDataGet()
196 utf8_text.length()); in OnDragDataGet()
/external/chromium_org/chrome/browser/chromeos/input_method/
Dcandidate_window_controller_impl.cc124 const std::string& utf8_text, in UpdateAuxiliaryText() argument
131 candidate_window_view_->UpdateAuxiliaryText(utf8_text); in UpdateAuxiliaryText()
263 const std::string& utf8_text, unsigned int cursor, bool visible) { in UpdatePreeditText() argument
265 if (!visible || utf8_text.empty()) { in UpdatePreeditText()
269 candidate_window_view_->UpdatePreeditText(utf8_text); in UpdatePreeditText()
Dcandidate_window_controller_impl.h84 virtual void UpdateAuxiliaryText(const std::string& utf8_text,
88 virtual void UpdatePreeditText(const std::string& utf8_text,
Dcandidate_window_view.h88 void UpdateAuxiliaryText(const std::string& utf8_text);
91 void UpdatePreeditText(const std::string& utf8_text);
Dcandidate_window_view.cc320 void SetText(const std::string& utf8_text) { in SetText() argument
321 label_->SetText(UTF8ToUTF16(utf8_text)); in SetText()
653 void CandidateWindowView::UpdateAuxiliaryText(const std::string& utf8_text) { in UpdateAuxiliaryText() argument
654 header_area_->SetText(utf8_text); in UpdateAuxiliaryText()
655 footer_area_->SetText(utf8_text); in UpdateAuxiliaryText()
669 void CandidateWindowView::UpdatePreeditText(const std::string& utf8_text) { in UpdatePreeditText() argument
670 preedit_area_->SetText(utf8_text); in UpdatePreeditText()
/external/chromium_org/ui/base/dragdrop/
Dgtk_dnd_util.cc193 std::string utf8_text = url.spec() + "\n" + UTF16ToUTF8(title); in WriteURLWithName() local
197 reinterpret_cast<const guchar*>(utf8_text.c_str()), in WriteURLWithName()
198 utf8_text.length()); in WriteURLWithName()
/external/chromium_org/components/translate/language_detection/
Dlanguage_detection_util.cc113 std::string utf8_text(UTF16ToUTF8(text)); in DetermineTextLanguage() local
117 utf8_text.c_str(), (int)utf8_text.size(), true, language3, percent3, in DetermineTextLanguage()
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_utils_gtk.cc337 std::string utf8_text = nodes[0]->GetURL().spec() + "\n" + in WriteBookmarksToSelection() local
342 reinterpret_cast<const guchar*>(utf8_text.c_str()), in WriteBookmarksToSelection()
343 utf8_text.length()); in WriteBookmarksToSelection()
/external/chromium/chrome/browser/chromeos/input_method/
Dcandidate_window.cc360 void UpdateAuxiliaryText(const std::string& utf8_text);
595 const std::string& utf8_text,
872 void CandidateWindowView::UpdateAuxiliaryText(const std::string& utf8_text) { in UpdateAuxiliaryText() argument
876 target_label->SetText(UTF8ToWide(utf8_text)); in UpdateAuxiliaryText()
1359 const std::string& utf8_text, in OnUpdateAuxiliaryText() argument
1368 controller->candidate_window_->UpdateAuxiliaryText(utf8_text); in OnUpdateAuxiliaryText()
/external/chromium_org/chrome/browser/ui/gtk/bookmarks/
Dbookmark_utils_gtk.cc354 std::string utf8_text = nodes[0]->url().spec() + "\n" + in WriteBookmarksToSelection() local
359 reinterpret_cast<const guchar*>(utf8_text.c_str()), in WriteBookmarksToSelection()
360 utf8_text.length()); in WriteBookmarksToSelection()
/external/chromium_org/chrome/browser/autocomplete/
Dcontact_provider_chromeos_unittest.cc66 void StartQuery(const std::string& utf8_text) { in StartQuery() argument
68 AutocompleteInput(UTF8ToUTF16(utf8_text), in StartQuery()
/external/chromium_org/chrome/browser/ui/gtk/omnibox/
Domnibox_view_gtk.cc1476 std::string utf8_text = UTF16ToUTF8(filtered_text); in HandleInsertText() local
1477 klass->insert_text(buffer, location, utf8_text.data(), in HandleInsertText()
1478 static_cast<gint>(utf8_text.length())); in HandleInsertText()