Home
last modified time | relevance | path

Searched refs:selected_text (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/omnibox/
Domnibox_view_views.cc746 base::string16 selected_text; in OnAfterCutOrCopy() local
747 cb->ReadText(ui::CLIPBOARD_TYPE_COPY_PASTE, &selected_text); in OnAfterCutOrCopy()
751 &selected_text, &url, &write_url); in OnAfterCutOrCopy()
757 data.ReadFromTuple(url, selected_text); in OnAfterCutOrCopy()
762 scoped_clipboard_writer.WriteText(selected_text); in OnAfterCutOrCopy()
767 base::string16 selected_text = GetSelectedText(); in OnGetDragOperationsForTextfield() local
771 &selected_text, &url, &write_url); in OnGetDragOperationsForTextfield()
777 base::string16 selected_text = GetSelectedText(); in OnWriteDragData() local
782 &selected_text, &url, &write_url); in OnWriteDragData()
783 data->SetString(selected_text); in OnWriteDragData()
[all …]
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_mac_dictionary_helper.mm28 if (view_->selected_text().empty())
34 NSString* text = base::SysUTF8ToNSString(view_->selected_text());
Drender_widget_host_view_mac.h343 const std::string& selected_text() const { return selected_text_; } in selected_text() function
Drender_widget_host_view_mac.mm3996 BOOL hasText = !renderWidgetHostView_->selected_text().empty();
4096 const std::string& str = renderWidgetHostView_->selected_text();
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_browsertest.cc949 string16 selected_text = in DeleteItemTest() local
952 ASSERT_EQ(selected_text, edit_view->GetText()); in DeleteItemTest()
962 ASSERT_NE(selected_text, in DeleteItemTest()
964 selected_text = in DeleteItemTest()
967 ASSERT_EQ(selected_text, edit_view->GetText()); in DeleteItemTest()
981 selected_text = popup_model->result().match_at(default_line).fill_into_edit; in DeleteItemTest()
983 ASSERT_EQ(selected_text, edit_view->GetText()); in DeleteItemTest()
993 ASSERT_NE(selected_text, in DeleteItemTest()
995 selected_text = in DeleteItemTest()
998 ASSERT_EQ(selected_text, edit_view->GetText()); in DeleteItemTest()
Dautocomplete_edit_view_gtk.h333 void SavePrimarySelection(const std::string& selected_text);
Dautocomplete_edit_view_gtk.cc2082 const std::string& selected_text) { in SavePrimarySelection() argument
2092 clipboard, selected_text.data(), selected_text.size()); in SavePrimarySelection()
Dautocomplete_edit_view_win.cc776 const string16 selected_text(GetSelectedText()); in MoveSelectedText() local
792 ReplaceSel(selected_text.c_str(), TRUE); in MoveSelectedText()
/external/chromium_org/chrome/browser/tab_contents/
Drender_view_context_menu_unittest.cc43 static const char16 selected_text[] = { 's', 'e', 'l', 0 }; in CreateParams() local
45 rv.selection_text = selected_text; in CreateParams()
/external/chromium_org/chrome/browser/ui/omnibox/
Domnibox_view_browsertest.cc1114 base::string16 selected_text = in IN_PROC_BROWSER_TEST_F() local
1117 ASSERT_EQ(selected_text, omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
1127 ASSERT_NE(selected_text, in IN_PROC_BROWSER_TEST_F()
1129 selected_text = in IN_PROC_BROWSER_TEST_F()
1132 ASSERT_EQ(selected_text, omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
1146 selected_text = popup_model->result().match_at(default_line).fill_into_edit; in IN_PROC_BROWSER_TEST_F()
1148 ASSERT_EQ(selected_text, omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
1160 EXPECT_NE(selected_text, in IN_PROC_BROWSER_TEST_F()
1162 selected_text = in IN_PROC_BROWSER_TEST_F()
1165 ASSERT_EQ(selected_text, omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/gtk/
Dgtk_util.h264 GdkColor* selected_text);
Dgtk_util.cc884 GdkColor* selected_text) { in GetTextColors() argument
894 if (selected_text) in GetTextColors()
895 *selected_text = style->text[GTK_STATE_SELECTED]; in GetTextColors()
/external/chromium/chrome/browser/ui/gtk/
Dgtk_util.h313 GdkColor* selected_text);
Dgtk_util.cc976 GdkColor* selected_text) { in GetTextColors() argument
986 if (selected_text) in GetTextColors()
987 *selected_text = style->text[GTK_STATE_SELECTED]; in GetTextColors()
/external/chromium/chrome/browser/renderer_host/
Drender_widget_host_view_mac.h289 const std::string& selected_text() const { return selected_text_; } in selected_text() function
Drender_widget_host_view_mac.mm2469 BOOL hasText = !renderWidgetHostView_->selected_text().empty();
2495 const std::string& str = renderWidgetHostView_->selected_text();
/external/chromium_org/chrome/browser/ui/gtk/omnibox/
Domnibox_view_gtk.h264 void SavePrimarySelection(const std::string& selected_text);
Domnibox_view_gtk.cc1879 void OmniboxViewGtk::SavePrimarySelection(const std::string& selected_text) { in SavePrimarySelection() argument
1889 clipboard, selected_text.data(), selected_text.size()); in SavePrimarySelection()