Home
last modified time | relevance | path

Searched refs:GetSelectedText (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/ui/views/touchui/
Dtouch_selection_controller_impl_unittest.cc283 EXPECT_EQ(UTF16ToUTF8(textfield_->GetSelectedText()), "tfie"); in TEST_F()
290 EXPECT_EQ(UTF16ToUTF8(textfield_->GetSelectedText()), "tfield "); in TEST_F()
296 EXPECT_EQ(UTF16ToUTF8(textfield_->GetSelectedText()), "textfield "); in TEST_F()
302 EXPECT_EQ(UTF16ToUTF8(textfield_->GetSelectedText()), "with "); in TEST_F()
308 EXPECT_EQ(UTF16ToUTF8(textfield_->GetSelectedText()), "selected "); in TEST_F()
322 EXPECT_EQ(WideToUTF16(L"c"), textfield_->GetSelectedText()); in TEST_F()
329 EXPECT_EQ(WideToUTF16(L"c\x05e1\x05e2"), textfield_->GetSelectedText()); in TEST_F()
335 EXPECT_EQ(WideToUTF16(L"bc\x05e1\x05e2"), textfield_->GetSelectedText()); in TEST_F()
340 EXPECT_EQ(WideToUTF16(L"c"), textfield_->GetSelectedText()); in TEST_F()
346 EXPECT_EQ(WideToUTF16(L"c\x05e1\x05e2"), textfield_->GetSelectedText()); in TEST_F()
[all …]
/external/chromium_org/ui/views/controls/textfield/
Dtextfield_views_model_unittest.cc247 EXPECT_EQ(string16(), model.GetSelectedText()); in TEST_F()
254 EXPECT_EQ(string16(), model.GetSelectedText()); in TEST_F()
265 EXPECT_STR_EQ("E", model.GetSelectedText()); in TEST_F()
267 EXPECT_STR_EQ("EL", model.GetSelectedText()); in TEST_F()
270 EXPECT_STR_EQ("H", model.GetSelectedText()); in TEST_F()
272 EXPECT_STR_EQ("ELLO", model.GetSelectedText()); in TEST_F()
274 EXPECT_EQ(string16(), model.GetSelectedText()); in TEST_F()
278 EXPECT_STR_EQ("HELLO", model.GetSelectedText()); in TEST_F()
283 EXPECT_STR_EQ("HELLO", model.GetSelectedText()); in TEST_F()
288 EXPECT_STR_EQ("EL", model.GetSelectedText()); in TEST_F()
[all …]
Dnative_textfield_views_unittest.cc371 EXPECT_EQ(string16(), textfield_->GetSelectedText()); in TEST_F()
373 EXPECT_STR_EQ("this is a test", textfield_->GetSelectedText()); in TEST_F()
478 EXPECT_STR_EQ("one", textfield_->GetSelectedText()); in TEST_F()
482 EXPECT_STR_EQ("one two", textfield_->GetSelectedText()); in TEST_F()
484 EXPECT_STR_EQ("one two three", textfield_->GetSelectedText()); in TEST_F()
486 EXPECT_STR_EQ("one two ", textfield_->GetSelectedText()); in TEST_F()
488 EXPECT_STR_EQ("one ", textfield_->GetSelectedText()); in TEST_F()
499 EXPECT_STR_EQ("two three", textfield_->GetSelectedText()); in TEST_F()
501 EXPECT_STR_EQ("ZERO ", textfield_->GetSelectedText()); in TEST_F()
826 EXPECT_TRUE(textfield_->GetSelectedText().empty()); in TEST_F()
[all …]
Dtextfield_views_model.cc426 string16 TextfieldViewsModel::GetSelectedText() const { in GetSelectedText() function in views::TextfieldViewsModel
515 ui::CLIPBOARD_TYPE_COPY_PASTE).WriteText(GetSelectedText()); in Cut()
533 ui::CLIPBOARD_TYPE_COPY_PASTE).WriteText(GetSelectedText()); in Copy()
739 GetSelectedText(), in ExecuteAndRecordReplace()
Dnative_textfield_wrapper.h56 virtual string16 GetSelectedText() const = 0;
Dtextfield_views_model.h139 string16 GetSelectedText() const;
Dtextfield.cc195 string16 Textfield::GetSelectedText() const { in GetSelectedText() function in views::Textfield
196 return native_wrapper_ ? native_wrapper_->GetSelectedText() : string16(); in GetSelectedText()
Dtextfield.h111 string16 GetSelectedText() const;
Dnative_textfield_views.cc460 data->SetString(GetSelectedText()); in WriteDragDataForView()
528 string16 NativeTextfieldViews::GetSelectedText() const { in GetSelectedText() function in views::NativeTextfieldViews
529 return model_->GetSelectedText(); in GetSelectedText()
/external/chromium_org/ppapi/cpp/dev/
Dselection_dev.cc18 PP_Var GetSelectedText(PP_Instance instance, PP_Bool html) { in GetSelectedText() function
24 GetSelectedText(PP_ToBool(html)).Detach(); in GetSelectedText()
28 &GetSelectedText
Dselection_dev.h44 virtual Var GetSelectedText(bool html) = 0;
/external/chromium_org/ppapi/c/dev/
Dppp_selection_dev.h36 struct PP_Var (*GetSelectedText)(PP_Instance instance, PP_Bool html); member
/external/chromium_org/ppapi/api/dev/
Dppp_selection_dev.idl20 PP_Var GetSelectedText([in] PP_Instance instance,
/external/chromium_org/chrome/browser/ui/views/omnibox/
Domnibox_view_views.cc509 return text() == GetSelectedText(); in IsSelectAll()
767 base::string16 selected_text = GetSelectedText(); in OnGetDragOperationsForTextfield()
777 base::string16 selected_text = GetSelectedText(); in OnWriteDragData()
967 base::string16 OmniboxViewViews::GetSelectedText() const { in GetSelectedText() function in OmniboxViewViews
969 return views::Textfield::GetSelectedText(); in GetSelectedText()
Domnibox_view_views.h156 base::string16 GetSelectedText() const;
/external/chromium_org/content/public/browser/
Drender_widget_host_view.h108 virtual base::string16 GetSelectedText() const = 0;
/external/chromium_org/content/renderer/pepper/
Dpepper_webplugin_impl.cc242 return instance_->GetSelectedText(false); in selectionAsText()
246 return instance_->GetSelectedText(true); in selectionAsMarkup()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_views.cc387 return textfield_->text() == textfield_->GetSelectedText(); in IsSelectAll()
631 string16 AutocompleteEditViewViews::GetSelectedText() const { in GetSelectedText() function in AutocompleteEditViewViews
633 return textfield_->GetSelectedText(); in GetSelectedText()
Dautocomplete_edit_view_views.h153 string16 GetSelectedText() const;
Dautocomplete_edit_view_gtk.h352 std::string GetSelectedText() const;
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_base.h59 virtual base::string16 GetSelectedText() const OVERRIDE;
/external/chromium_org/chrome_frame/test/
Dchrome_frame_ui_test_utils.h142 bool GetSelectedText(std::wstring* text);
/external/chromium_org/chrome/browser/ui/gtk/omnibox/
Domnibox_view_gtk.cc1300 std::string new_selected_text = GetSelectedText(); in HandleMarkSet()
1401 base::string16 text = UTF8ToUTF16(GetSelectedText()); in HandleDragBegin()
1572 base::string16 text(UTF8ToUTF16(GetSelectedText())); in HandleCopyOrCutClipboard()
2050 std::string OmniboxViewGtk::GetSelectedText() const { in GetSelectedText() function in OmniboxViewGtk
2064 base::string16 text = UTF8ToUTF16(GetSelectedText()); in UpdatePrimarySelectionIfValidURL()
Domnibox_view_gtk.h283 std::string GetSelectedText() const;
/external/chromium_org/ui/gfx/
Drender_text_unittest.cc53 base::string16 GetSelectedText(RenderText* render_text) { in GetSelectedText() function
1494 EXPECT_EQ(ASCIIToUTF16("com"), GetSelectedText(render_text.get())); in TEST_F()
1500 EXPECT_EQ(ASCIIToUTF16("/"), GetSelectedText(render_text.get())); in TEST_F()
1514 EXPECT_EQ(ASCIIToUTF16("google.com"), GetSelectedText(render_text.get())); in TEST_F()
1520 EXPECT_EQ(ASCIIToUTF16("google.com"), GetSelectedText(render_text.get())); in TEST_F()

12