textfield_ 1048 chrome/browser/ui/views/autofill/autofill_dialog_views.cc textfield_->SetVisible(false); textfield_ 1049 chrome/browser/ui/views/autofill/autofill_dialog_views.cc textfield_->SetDefaultWidthInCharacters(15); textfield_ 1050 chrome/browser/ui/views/autofill/autofill_dialog_views.cc label_container->AddChildView(textfield_); textfield_ 1150 chrome/browser/ui/views/autofill/autofill_dialog_views.cc textfield_->SetPlaceholderText(placeholder_text); textfield_ 1151 chrome/browser/ui/views/autofill/autofill_dialog_views.cc textfield_->SetIcon(icon); textfield_ 1152 chrome/browser/ui/views/autofill/autofill_dialog_views.cc textfield_->SetVisible(!placeholder_text.empty()); textfield_ 392 chrome/browser/ui/views/autofill/autofill_dialog_views.h ExpandingTextfield* textfield() { return textfield_; } textfield_ 431 chrome/browser/ui/views/autofill/autofill_dialog_views.h ExpandingTextfield* textfield_; textfield_ 63 chrome/browser/ui/views/password_generation_bubble_view.cc views::Textfield* textfield_; textfield_ 69 chrome/browser/ui/views/password_generation_bubble_view.cc : textfield_(textfield), textfield_ 73 chrome/browser/ui/views/password_generation_bubble_view.cc AddChildView(textfield_); textfield_ 81 chrome/browser/ui/views/password_generation_bubble_view.cc textfield_->SetPosition(gfx::Point(kTextfieldHorizontalPadding, textfield_ 83 chrome/browser/ui/views/password_generation_bubble_view.cc textfield_->SizeToPreferredSize(); textfield_ 88 chrome/browser/ui/views/password_generation_bubble_view.cc int button_x = (textfield_->GetPreferredSize().width() + textfield_ 101 chrome/browser/ui/views/password_generation_bubble_view.cc int width = (textfield_->GetPreferredSize().width() + textfield_ 104 chrome/browser/ui/views/password_generation_bubble_view.cc int height = (textfield_->GetPreferredSize().height() + textfield_ 113 chrome/browser/ui/views/password_generation_bubble_view.cc int size = (textfield_->GetPreferredSize().height() + textfield_ 131 chrome/browser/ui/views/password_generation_bubble_view.cc textfield_(NULL), textfield_ 167 chrome/browser/ui/views/password_generation_bubble_view.cc textfield_ = new views::Textfield(); textfield_ 168 chrome/browser/ui/views/password_generation_bubble_view.cc textfield_->set_default_width_in_chars(kDefaultTextFieldChars); textfield_ 169 chrome/browser/ui/views/password_generation_bubble_view.cc textfield_->SetText(base::ASCIIToUTF16(password_generator_->Generate())); textfield_ 170 chrome/browser/ui/views/password_generation_bubble_view.cc textfield_->set_controller(this); textfield_ 172 chrome/browser/ui/views/password_generation_bubble_view.cc textfield_wrapper_ = new TextfieldWrapper(textfield_, textfield_ 220 chrome/browser/ui/views/password_generation_bubble_view.cc render_view_host_->GetRoutingID(), textfield_->text())); textfield_ 226 chrome/browser/ui/views/password_generation_bubble_view.cc textfield_->SetText( textfield_ 245 chrome/browser/ui/views/password_generation_bubble_view.cc return textfield_; textfield_ 78 chrome/browser/ui/views/password_generation_bubble_view.h views::Textfield* textfield_; textfield_ 456 ppapi/examples/ime/ime.cc textfield_.push_back(MyTextField(this, status_handler_, textfield_ 458 ppapi/examples/ime/ime.cc textfield_.back().SetText("Hello"); textfield_ 459 ppapi/examples/ime/ime.cc textfield_.push_back(MyTextField(this, status_handler_, textfield_ 461 ppapi/examples/ime/ime.cc textfield_.back().SetText("World"); textfield_ 537 ppapi/examples/ime/ime.cc for (std::vector<MyTextField>::iterator it = textfield_.begin(); textfield_ 538 ppapi/examples/ime/ime.cc it != textfield_.end(); textfield_ 559 ppapi/examples/ime/ime.cc for (std::vector<MyTextField>::iterator it = textfield_.begin(); textfield_ 560 ppapi/examples/ime/ime.cc it != textfield_.end(); textfield_ 577 ppapi/examples/ime/ime.cc for (std::vector<MyTextField>::iterator it = textfield_.begin(); textfield_ 578 ppapi/examples/ime/ime.cc it != textfield_.end(); textfield_ 598 ppapi/examples/ime/ime.cc for (std::vector<MyTextField>::iterator it = textfield_.begin(); textfield_ 599 ppapi/examples/ime/ime.cc it != textfield_.end(); textfield_ 617 ppapi/examples/ime/ime.cc for (std::vector<MyTextField>::iterator it = textfield_.begin(); textfield_ 618 ppapi/examples/ime/ime.cc it != textfield_.end(); textfield_ 626 ppapi/examples/ime/ime.cc for (std::vector<MyTextField>::iterator it = textfield_.begin(); textfield_ 627 ppapi/examples/ime/ime.cc it != textfield_.end(); textfield_ 652 ppapi/examples/ime/ime.cc for (std::vector<MyTextField>::iterator it = textfield_.begin(); textfield_ 653 ppapi/examples/ime/ime.cc it != textfield_.end(); textfield_ 666 ppapi/examples/ime/ime.cc for (std::vector<MyTextField>::iterator it = textfield_.begin(); textfield_ 667 ppapi/examples/ime/ime.cc it != textfield_.end(); textfield_ 687 ppapi/examples/ime/ime.cc for (std::vector<MyTextField>::iterator it = textfield_.begin(); textfield_ 688 ppapi/examples/ime/ime.cc it != textfield_.end(); textfield_ 715 ppapi/examples/ime/ime.cc std::vector<MyTextField> textfield_; textfield_ 396 ui/views/color_chooser/color_chooser_view.cc textfield_ = new Textfield(); textfield_ 397 ui/views/color_chooser/color_chooser_view.cc textfield_->set_controller(this); textfield_ 398 ui/views/color_chooser/color_chooser_view.cc textfield_->set_default_width_in_chars(kTextfieldLengthInChars); textfield_ 399 ui/views/color_chooser/color_chooser_view.cc layout->AddView(textfield_); textfield_ 416 ui/views/color_chooser/color_chooser_view.cc textfield_->SetText(GetColorText(color)); textfield_ 426 ui/views/color_chooser/color_chooser_view.cc textfield_->SetText(GetColorText(color)); textfield_ 437 ui/views/color_chooser/color_chooser_view.cc textfield_->SetText(GetColorText(color)); textfield_ 441 ui/views/color_chooser/color_chooser_view.cc return textfield_; textfield_ 78 ui/views/color_chooser/color_chooser_view.h Textfield* textfield_; textfield_ 131 ui/views/controls/textfield/textfield_unittest.cc textfield_(NULL), textfield_ 177 ui/views/controls/textfield/textfield_unittest.cc ASSERT_FALSE(textfield_); textfield_ 178 ui/views/controls/textfield/textfield_unittest.cc textfield_ = new TestTextfield(); textfield_ 179 ui/views/controls/textfield/textfield_unittest.cc textfield_->set_controller(this); textfield_ 186 ui/views/controls/textfield/textfield_unittest.cc container->AddChildView(textfield_); textfield_ 187 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetBoundsRect(params.bounds); textfield_ 188 ui/views/controls/textfield/textfield_unittest.cc textfield_->set_id(1); textfield_ 196 ui/views/controls/textfield/textfield_unittest.cc model_ = textfield_->model_.get(); textfield_ 204 ui/views/controls/textfield/textfield_unittest.cc textfield_->RequestFocus(); textfield_ 208 ui/views/controls/textfield/textfield_unittest.cc textfield_->UpdateContextMenu(); textfield_ 209 ui/views/controls/textfield/textfield_unittest.cc return textfield_->context_menu_contents_.get(); textfield_ 213 ui/views/controls/textfield/textfield_unittest.cc return textfield_->touch_selection_controller_.get(); textfield_ 256 ui/views/controls/textfield/textfield_unittest.cc return textfield_->GetRenderText()->GetCursorBounds( textfield_ 262 ui/views/controls/textfield/textfield_unittest.cc return textfield_->GetRenderText()->GetUpdatedCursorBounds(); textfield_ 267 ui/views/controls/textfield/textfield_unittest.cc return textfield_->GetRenderText()->GetCursorBounds(sel, true); textfield_ 271 ui/views/controls/textfield/textfield_unittest.cc return textfield_->GetRenderText()->display_rect(); textfield_ 280 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(click); textfield_ 283 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release); textfield_ 291 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(click); textfield_ 295 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release); textfield_ 315 ui/views/controls/textfield/textfield_unittest.cc TestTextfield* textfield_; textfield_ 340 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("this is")); textfield_ 343 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("this is", textfield_->text()); textfield_ 346 ui/views/controls/textfield/textfield_unittest.cc textfield_->AppendText(ASCIIToUTF16(" a test")); textfield_ 348 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("this is a test", textfield_->text()); textfield_ 351 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(base::string16(), textfield_->GetSelectedText()); textfield_ 352 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 353 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("this is a test", textfield_->GetSelectedText()); textfield_ 368 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("TexT!1!1", textfield_->text()); textfield_ 374 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("one two three")); textfield_ 380 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one", textfield_->GetSelectedText()); textfield_ 384 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one two", textfield_->GetSelectedText()); textfield_ 386 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one two three", textfield_->GetSelectedText()); textfield_ 388 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one two ", textfield_->GetSelectedText()); textfield_ 390 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one ", textfield_->GetSelectedText()); textfield_ 398 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ZERO two three", textfield_->text()); textfield_ 401 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("two three", textfield_->GetSelectedText()); textfield_ 403 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ZERO ", textfield_->GetSelectedText()); textfield_ 411 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abcdefghij", textfield_->text()); textfield_ 414 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(5)); textfield_ 417 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abfghij", textfield_->text()); textfield_ 420 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abij", textfield_->text()); textfield_ 423 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 425 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("k", textfield_->text()); textfield_ 428 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("one two three four")); textfield_ 431 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one two three ", textfield_->text()); textfield_ 437 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("three ", textfield_->text()); textfield_ 439 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one three ", textfield_->text()); textfield_ 443 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("one two three four")); textfield_ 446 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" two three four", textfield_->text()); textfield_ 452 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" two", textfield_->text()); textfield_ 454 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" two four", textfield_->text()); textfield_ 460 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetTextInputType(ui::TEXT_INPUT_TYPE_PASSWORD); textfield_ 461 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::TEXT_INPUT_TYPE_PASSWORD, textfield_->GetTextInputType()); textfield_ 462 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->enabled()); textfield_ 463 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->IsFocusable()); textfield_ 466 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("password")); textfield_ 468 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("password", textfield_->text()); textfield_ 474 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->IsCommandIdEnabled(IDS_APP_CUT)); textfield_ 475 ui/views/controls/textfield/textfield_unittest.cc textfield_->ExecuteCommand(IDS_APP_CUT, 0); textfield_ 477 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->IsCommandIdEnabled(IDS_APP_COPY)); textfield_ 478 ui/views/controls/textfield/textfield_unittest.cc textfield_->ExecuteCommand(IDS_APP_COPY, 0); textfield_ 482 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("password", textfield_->text()); textfield_ 484 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 488 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->IsCommandIdEnabled(IDS_APP_PASTE)); textfield_ 489 ui/views/controls/textfield/textfield_unittest.cc textfield_->ExecuteCommand(IDS_APP_PASTE, 0); textfield_ 493 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("foofoofoo", textfield_->text()); textfield_ 500 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::TEXT_INPUT_TYPE_TEXT, textfield_->GetTextInputType()); textfield_ 503 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetTextInputType(ui::TEXT_INPUT_TYPE_URL); textfield_ 504 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::TEXT_INPUT_TYPE_URL, textfield_->GetTextInputType()); textfield_ 505 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetTextInputType(ui::TEXT_INPUT_TYPE_PASSWORD); textfield_ 506 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::TEXT_INPUT_TYPE_PASSWORD, textfield_->GetTextInputType()); textfield_ 509 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetReadOnly(true); textfield_ 510 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::TEXT_INPUT_TYPE_NONE, textfield_->GetTextInputType()); textfield_ 512 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetReadOnly(false); textfield_ 513 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::TEXT_INPUT_TYPE_PASSWORD, textfield_->GetTextInputType()); textfield_ 516 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetEnabled(false); textfield_ 517 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::TEXT_INPUT_TYPE_NONE, textfield_->GetTextInputType()); textfield_ 519 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetEnabled(true); textfield_ 520 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::TEXT_INPUT_TYPE_PASSWORD, textfield_->GetTextInputType()); textfield_ 528 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_received()); textfield_ 529 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->key_handled()); textfield_ 530 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 534 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_received()); textfield_ 535 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_handled()); textfield_ 536 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 539 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_received()); textfield_ 540 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_handled()); textfield_ 541 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 544 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_received()); textfield_ 545 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_handled()); textfield_ 546 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 549 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_received()); textfield_ 550 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_handled()); textfield_ 551 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 555 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_received()); textfield_ 556 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->key_handled()); textfield_ 557 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 560 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_received()); textfield_ 561 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->key_handled()); textfield_ 562 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 565 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_received()); textfield_ 566 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->key_handled()); textfield_ 567 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 574 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("one two hre ")); textfield_ 582 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one two thre ", textfield_->text()); textfield_ 588 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one two three ", textfield_->text()); textfield_ 594 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one two three", textfield_->text()); textfield_ 598 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16(" ne two")); textfield_ 608 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" one two", textfield_->text()); textfield_ 616 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one two", textfield_->text()); textfield_ 622 ui/views/controls/textfield/textfield_unittest.cc textfield_->RequestFocus(); textfield_ 644 ui/views/controls/textfield/textfield_unittest.cc textfield_->RequestFocus(); textfield_ 652 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(click); textfield_ 658 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->context_menu_controller()); textfield_ 659 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("hello world")); textfield_ 661 ui/views/controls/textfield/textfield_unittest.cc textfield_->ClearEditHistory(); textfield_ 665 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 671 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 681 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("hello world")); textfield_ 692 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(click); textfield_ 693 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release); textfield_ 694 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->GetSelectedText().empty()); textfield_ 695 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(double_click); textfield_ 696 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release); textfield_ 697 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello", textfield_->GetSelectedText()); textfield_ 700 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(click); textfield_ 701 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release); textfield_ 702 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello world", textfield_->GetSelectedText()); textfield_ 705 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(click); textfield_ 706 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release); textfield_ 707 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello", textfield_->GetSelectedText()); textfield_ 712 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("hello world")); textfield_ 727 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(click_a); textfield_ 728 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->GetSelectedText().empty()); textfield_ 730 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseDragged(drag_left); textfield_ 731 ui/views/controls/textfield/textfield_unittest.cc base::string16 text_left = textfield_->GetSelectedText(); textfield_ 734 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseDragged(drag_right); textfield_ 735 ui/views/controls/textfield/textfield_unittest.cc base::string16 text_right = textfield_->GetSelectedText(); textfield_ 738 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release); textfield_ 739 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(text_right, textfield_->GetSelectedText()); textfield_ 741 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(click_b); textfield_ 742 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseDragged(drag_left); textfield_ 743 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release); textfield_ 744 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(textfield_->text(), textfield_->GetSelectedText()); textfield_ 750 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("hello world")); textfield_ 759 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetEnabled(false); textfield_ 760 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->GetDropFormats(&formats, &custom_formats)); textfield_ 763 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->CanDrop(data)); textfield_ 764 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetEnabled(true); textfield_ 767 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetReadOnly(true); textfield_ 768 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->GetDropFormats(&formats, &custom_formats)); textfield_ 771 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->CanDrop(data)); textfield_ 772 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetReadOnly(false); textfield_ 775 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->GetDropFormats(&formats, &custom_formats)); textfield_ 778 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->CanDrop(data)); textfield_ 783 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnDragUpdated(drop)); textfield_ 784 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::DragDropTypes::DRAG_COPY, textfield_->OnPerformDrop(drop)); textfield_ 785 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello string world", textfield_->text()); textfield_ 796 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->CanDrop(bad_data)); textfield_ 802 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("hello string world")); textfield_ 808 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(kStringRange); textfield_ 810 ui/views/controls/textfield/textfield_unittest.cc textfield_->WriteDragDataForView(NULL, kStringPoint, &data); textfield_ 812 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(textfield_->GetSelectedText(), string); textfield_ 815 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetEnabled(false); textfield_ 817 ui/views/controls/textfield/textfield_unittest.cc textfield_->GetDragOperationsForView(NULL, kStringPoint)); textfield_ 818 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetEnabled(true); textfield_ 820 ui/views/controls/textfield/textfield_unittest.cc textfield_->ClearSelection(); textfield_ 822 ui/views/controls/textfield/textfield_unittest.cc textfield_->GetDragOperationsForView(NULL, kStringPoint)); textfield_ 823 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(kStringRange); textfield_ 825 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetTextInputType(ui::TEXT_INPUT_TYPE_PASSWORD); textfield_ 827 ui/views/controls/textfield/textfield_unittest.cc textfield_->GetDragOperationsForView(NULL, kStringPoint)); textfield_ 828 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetTextInputType(ui::TEXT_INPUT_TYPE_TEXT); textfield_ 833 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(press_event); textfield_ 835 ui/views/controls/textfield/textfield_unittest.cc textfield_->GetDragOperationsForView(NULL, gfx::Point())); textfield_ 836 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->CanStartDragForView(NULL, gfx::Point(), textfield_ 839 ui/views/controls/textfield/textfield_unittest.cc textfield_->GetDragOperationsForView(NULL, kStringPoint)); textfield_ 840 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->CanStartDragForView(NULL, kStringPoint, textfield_ 844 ui/views/controls/textfield/textfield_unittest.cc textfield_->GetDragOperationsForView(textfield_, kStringPoint)); textfield_ 849 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("hello world")); textfield_ 858 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(1, 5)); textfield_ 862 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(click_a); textfield_ 863 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->CanStartDragForView(textfield_, click_a.location(), textfield_ 865 ui/views/controls/textfield/textfield_unittest.cc operations = textfield_->GetDragOperationsForView(textfield_, textfield_ 869 ui/views/controls/textfield/textfield_unittest.cc textfield_->WriteDragDataForView(NULL, click_a.location(), &data); textfield_ 871 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(textfield_->GetSelectedText(), string); textfield_ 872 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->GetDropFormats(&formats, &custom_formats)); textfield_ 878 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->CanDrop(data)); textfield_ 880 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::DragDropTypes::DRAG_MOVE, textfield_->OnDragUpdated(drop_a)); textfield_ 881 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::DragDropTypes::DRAG_MOVE, textfield_->OnPerformDrop(drop_a)); textfield_ 882 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("h welloorld", textfield_->text()); textfield_ 883 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnDragDone(); textfield_ 887 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello world", textfield_->text()); textfield_ 889 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); textfield_ 891 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); textfield_ 893 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello world", textfield_->text()); textfield_ 895 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("h welloorld", textfield_->text()); textfield_ 897 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("h welloorld", textfield_->text()); textfield_ 902 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("hello world")); textfield_ 911 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(5, 10)); textfield_ 915 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(click_a); textfield_ 916 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->CanStartDragForView(textfield_, click_a.location(), textfield_ 918 ui/views/controls/textfield/textfield_unittest.cc operations = textfield_->GetDragOperationsForView(textfield_, textfield_ 922 ui/views/controls/textfield/textfield_unittest.cc textfield_->WriteDragDataForView(NULL, click_a.location(), &data); textfield_ 924 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(textfield_->GetSelectedText(), string); textfield_ 925 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->GetDropFormats(&formats, &custom_formats)); textfield_ 930 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->CanDrop(data)); textfield_ 933 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::DragDropTypes::DRAG_MOVE, textfield_->OnDragUpdated(drop_a)); textfield_ 934 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::DragDropTypes::DRAG_MOVE, textfield_->OnPerformDrop(drop_a)); textfield_ 935 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("h worlellod", textfield_->text()); textfield_ 936 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnDragDone(); textfield_ 940 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello world", textfield_->text()); textfield_ 942 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); textfield_ 944 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); textfield_ 946 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello world", textfield_->text()); textfield_ 948 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("h worlellod", textfield_->text()); textfield_ 950 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("h worlellod", textfield_->text()); textfield_ 955 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("hello world")); textfield_ 958 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(6, 10)); textfield_ 962 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(click); textfield_ 964 ui/views/controls/textfield/textfield_unittest.cc textfield_->WriteDragDataForView(NULL, click.location(), &data); textfield_ 965 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->CanDrop(data)); textfield_ 970 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ui::DragDropTypes::DRAG_MOVE, textfield_->OnDragUpdated(drop)); textfield_ 977 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseDragged(drag); textfield_ 978 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release); textfield_ 979 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnDragDone(); textfield_ 980 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ASCIIToUTF16("hello world"), textfield_->text()); textfield_ 985 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("read only")); textfield_ 986 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetReadOnly(true); textfield_ 987 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->enabled()); textfield_ 988 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->IsFocusable()); textfield_ 991 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(0U, textfield_->GetCursorPosition()); textfield_ 993 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(9U, textfield_->GetCursorPosition()); textfield_ 996 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(8U, textfield_->GetCursorPosition()); textfield_ 998 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(5U, textfield_->GetCursorPosition()); textfield_ 1000 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(0U, textfield_->GetCursorPosition()); textfield_ 1001 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("read ", textfield_->GetSelectedText()); textfield_ 1002 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 1003 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("read only", textfield_->GetSelectedText()); textfield_ 1007 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->IsCommandIdEnabled(IDS_APP_CUT)); textfield_ 1008 ui/views/controls/textfield/textfield_unittest.cc textfield_->ExecuteCommand(IDS_APP_CUT, 0); textfield_ 1012 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("read only", textfield_->text()); textfield_ 1015 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->IsCommandIdEnabled(IDS_APP_PASTE)); textfield_ 1016 ui/views/controls/textfield/textfield_unittest.cc textfield_->ExecuteCommand(IDS_APP_PASTE, 0); textfield_ 1019 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("read only", textfield_->text()); textfield_ 1023 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->IsCommandIdEnabled(IDS_APP_COPY)); textfield_ 1024 ui/views/controls/textfield/textfield_unittest.cc textfield_->ExecuteCommand(IDS_APP_COPY, 0); textfield_ 1034 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16(" four five six ")); textfield_ 1035 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" four five six ", textfield_->text()); textfield_ 1037 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 1038 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" four five six ", textfield_->GetSelectedText()); textfield_ 1042 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" four five six ", textfield_->GetSelectedText()); textfield_ 1044 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" four five six ", textfield_->GetSelectedText()); textfield_ 1046 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" four five six ", textfield_->GetSelectedText()); textfield_ 1051 ui/views/controls/textfield/textfield_unittest.cc ui::TextInputClient* client = textfield_->GetTextInputClient(); textfield_ 1055 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("0123456789")); textfield_ 1076 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0456789", textfield_->text()); textfield_ 1083 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 1087 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_received()); textfield_ 1088 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->key_handled()); textfield_ 1091 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0321456789", textfield_->text()); textfield_ 1098 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 1100 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_received()); textfield_ 1101 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->key_handled()); textfield_ 1104 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0123456789", textfield_->text()); textfield_ 1110 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 1113 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0123321456789", textfield_->text()); textfield_ 1116 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 1120 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_received()); textfield_ 1121 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->key_handled()); textfield_ 1122 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0123321456789", textfield_->text()); textfield_ 1123 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(8U, textfield_->GetCursorPosition()); textfield_ 1127 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 1128 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("0123456789")); textfield_ 1131 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0789", textfield_->text()); textfield_ 1136 ui/views/controls/textfield/textfield_unittest.cc textfield_->clear(); textfield_ 1137 ui/views/controls/textfield/textfield_unittest.cc textfield_->ClearSelection(); textfield_ 1138 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 1143 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetReadOnly(true); textfield_ 1145 ui/views/controls/textfield/textfield_unittest.cc EXPECT_FALSE(textfield_->GetTextInputClient()); textfield_ 1147 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetReadOnly(false); textfield_ 1149 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetTextInputType(ui::TEXT_INPUT_TYPE_PASSWORD); textfield_ 1151 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->GetTextInputClient()); textfield_ 1157 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); textfield_ 1159 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); textfield_ 1161 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); textfield_ 1163 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); textfield_ 1165 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); textfield_ 1168 ui/views/controls/textfield/textfield_unittest.cc textfield_->AppendText(ASCIIToUTF16("b")); textfield_ 1170 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); textfield_ 1172 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); textfield_ 1174 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); textfield_ 1180 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); textfield_ 1181 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("abc")); textfield_ 1182 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); textfield_ 1184 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); textfield_ 1186 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); textfield_ 1188 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); textfield_ 1189 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("123")); textfield_ 1190 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("123")); textfield_ 1191 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("123", textfield_->text()); textfield_ 1194 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("1234", textfield_->text()); textfield_ 1197 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("123", textfield_->text()); textfield_ 1201 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); textfield_ 1203 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); textfield_ 1205 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); textfield_ 1207 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("123", textfield_->text()); textfield_ 1209 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("1234", textfield_->text()); textfield_ 1214 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); textfield_ 1217 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); textfield_ 1219 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("1234", textfield_->text()); textfield_ 1221 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); textfield_ 1225 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); textfield_ 1228 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("b", textfield_->text()); textfield_ 1231 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); textfield_ 1233 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("b", textfield_->text()); textfield_ 1235 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); textfield_ 1237 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); textfield_ 1239 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); textfield_ 1241 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("b", textfield_->text()); textfield_ 1243 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); textfield_ 1245 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); textfield_ 1252 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("123")); textfield_ 1253 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 1254 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->IsCommandIdEnabled(IDS_APP_CUT)); textfield_ 1255 ui/views/controls/textfield/textfield_unittest.cc textfield_->ExecuteCommand(IDS_APP_CUT, 0); textfield_ 1257 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); textfield_ 1260 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("456")); textfield_ 1261 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 1264 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("456", textfield_->text()); textfield_ 1267 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); textfield_ 1270 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("123")); textfield_ 1271 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 1274 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); textfield_ 1277 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("789")); textfield_ 1278 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 1279 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->IsCommandIdEnabled(IDS_APP_COPY)); textfield_ 1280 ui/views/controls/textfield/textfield_unittest.cc textfield_->ExecuteCommand(IDS_APP_COPY, 0); textfield_ 1284 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("012")); textfield_ 1285 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 1292 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("345")); textfield_ 1293 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 1296 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("345", textfield_->text()); textfield_ 1301 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(base::string16()); textfield_ 1302 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->IsCommandIdEnabled(IDS_APP_PASTE)); textfield_ 1303 ui/views/controls/textfield/textfield_unittest.cc textfield_->ExecuteCommand(IDS_APP_PASTE, 0); textfield_ 1304 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); textfield_ 1306 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abcabc", textfield_->text()); textfield_ 1308 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abcabcabc", textfield_->text()); textfield_ 1310 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abcabcabc", textfield_->text()); textfield_ 1313 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectAll(false); textfield_ 1316 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abcabcabc", textfield_->text()); textfield_ 1322 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("2")); textfield_ 1326 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("12", textfield_->text()); textfield_ 1333 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); textfield_ 1338 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); textfield_ 1344 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"ab\x05E1"), textfield_->text()); textfield_ 1349 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"ab\x05E1\x5E2"), textfield_->text()); textfield_ 1359 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1"), textfield_->text()); textfield_ 1365 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1\x05E2"), textfield_->text()); textfield_ 1370 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1\x5E2" L"a"), textfield_->text()); textfield_ 1376 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1\x5E2" L"ab"), textfield_->text()); textfield_ 1388 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); textfield_ 1394 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); textfield_ 1399 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"ab\x05E1"), textfield_->text()); textfield_ 1405 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"ab\x05E1\x5E2"), textfield_->text()); textfield_ 1414 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1"), textfield_->text()); textfield_ 1419 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1\x05E2"), textfield_->text()); textfield_ 1425 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1\x5E2" L"a"), textfield_->text()); textfield_ 1431 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1\x5E2" L"ab"), textfield_->text()); textfield_ 1441 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(WideToUTF16(L"ab\x05E1\x5E2")); textfield_ 1481 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(cursor_pos_expected[index++], textfield_->GetCursorPosition()); textfield_ 1488 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(cursor_pos_expected[index++], textfield_->GetCursorPosition()); textfield_ 1498 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(WideToUTF16(L"ab\x05E1\x5E2")); textfield_ 1513 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(WideToUTF16(L"\x05E1\x5E2" L"ab")); textfield_ 1533 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(WideToUTF16(L"\x05E1\x5E2" L"ab")); textfield_ 1547 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(WideToUTF16(L"ab\x05E1\x5E2")); textfield_ 1573 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(500U, textfield_->GetCursorPosition()); textfield_ 1585 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(501U, textfield_->GetCursorPosition()); textfield_ 1601 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(501U, textfield_->GetCursorPosition()); textfield_ 1613 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(500U, textfield_->GetCursorPosition()); textfield_ 1626 ui/views/controls/textfield/textfield_unittest.cc ui::TextInputClient* client = textfield_->GetTextInputClient(); textfield_ 1642 ui/views/controls/textfield/textfield_unittest.cc views::View::ConvertPointToScreen(textfield_, &top_left); textfield_ 1643 ui/views/controls/textfield/textfield_unittest.cc views::View::ConvertPointToScreen(textfield_, &bottom_right); textfield_ 1682 ui/views/controls/textfield/textfield_unittest.cc ui::TextInputClient* client = textfield_->GetTextInputClient(); textfield_ 1703 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("abc def ghi")); textfield_ 1705 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(5, 5)); textfield_ 1707 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(0, 0)); textfield_ 1717 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(press_event); textfield_ 1718 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(4, 7), textfield_->GetSelectedRange()); textfield_ 1723 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseDragged(drag_event); textfield_ 1724 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(7, 0), textfield_->GetSelectedRange()); textfield_ 1730 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("0123")); textfield_ 1739 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(press); textfield_ 1742 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseDragged(drag); textfield_ 1745 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release); textfield_ 1746 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(1, 3), textfield_->GetSelectedRange()); textfield_ 1751 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(0, 4), textfield_->GetSelectedRange()); textfield_ 1759 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(press_2); textfield_ 1762 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release_2); textfield_ 1763 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(0, 2), textfield_->GetSelectedRange()); textfield_ 1776 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(0, 0), textfield_->GetSelectedRange()); textfield_ 1782 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(middle); textfield_ 1783 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("01230123", textfield_->text()); textfield_ 1784 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(0, 0), textfield_->GetSelectedRange()); textfield_ 1788 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(5, 5)); textfield_ 1789 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(middle); textfield_ 1790 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("012301230123", textfield_->text()); textfield_ 1791 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(9, 9), textfield_->GetSelectedRange()); textfield_ 1794 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(7, 9)); textfield_ 1795 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(middle); textfield_ 1796 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0123012301230123", textfield_->text()); textfield_ 1797 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(11, 13), textfield_->GetSelectedRange()); textfield_ 1800 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(2, 6)); textfield_ 1801 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(middle); textfield_ 1802 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0123012301230123", textfield_->text()); textfield_ 1803 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(6, 6), textfield_->GetSelectedRange()); textfield_ 1807 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("ab cd ef")); textfield_ 1811 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(press_word); textfield_ 1815 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release_word); textfield_ 1819 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(double_click); textfield_ 1820 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release_word); textfield_ 1821 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(3, 5), textfield_->GetSelectedRange()); textfield_ 1823 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMousePressed(press_word); textfield_ 1824 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnMouseReleased(release_word); textfield_ 1825 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(gfx::Range(0, 8), textfield_->GetSelectedRange()); textfield_ 1834 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("hello world")); textfield_ 1843 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&tap); textfield_ 1847 ui/views/controls/textfield/textfield_unittest.cc textfield_->GetFocusManager()->ClearFocus(); textfield_ 1852 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&tap_down); textfield_ 1853 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&long_press); textfield_ 1854 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello", textfield_->GetSelectedText()); textfield_ 1860 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&tap_down); textfield_ 1861 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&long_press); textfield_ 1862 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello", textfield_->GetSelectedText()); textfield_ 1870 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&tap_down); textfield_ 1871 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&long_press); textfield_ 1872 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello", textfield_->GetSelectedText()); textfield_ 1879 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("hello world")); textfield_ 1890 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&tap_down); textfield_ 1894 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&tap_cancel); textfield_ 1898 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&scroll_begin); textfield_ 1902 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&scroll_update); textfield_ 1906 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&scroll_end); textfield_ 1909 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&end); textfield_ 1913 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ello ", textfield_->GetSelectedText()); textfield_ 1921 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(ASCIIToUTF16("Hello string world")); textfield_ 1924 ui/views/controls/textfield/textfield_unittest.cc textfield_->SelectRange(gfx::Range(6, 12)); textfield_ 1934 ui/views/controls/textfield/textfield_unittest.cc textfield_->OnGestureEvent(&long_press); textfield_ 1935 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(textfield_->CanStartDragForView(NULL, kStringPoint, textfield_ 1941 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(UTF8ToUTF16("abc")); textfield_ 1942 ui/views/controls/textfield/textfield_unittest.cc const int old_baseline = textfield_->GetBaseline(); textfield_ 1946 ui/views/controls/textfield/textfield_unittest.cc textfield_->SetText(UTF8ToUTF16("\xE0\xB9\x91")); textfield_ 1947 ui/views/controls/textfield/textfield_unittest.cc const int new_baseline = textfield_->GetBaseline(); textfield_ 94 ui/views/examples/multiline_example.cc textfield_(NULL), textfield_ 118 ui/views/examples/multiline_example.cc textfield_ = new Textfield(); textfield_ 119 ui/views/examples/multiline_example.cc textfield_->set_controller(this); textfield_ 120 ui/views/examples/multiline_example.cc textfield_->SetText(ASCIIToUTF16(kTestString)); textfield_ 141 ui/views/examples/multiline_example.cc layout->AddView(textfield_); textfield_ 160 ui/views/examples/multiline_example.cc label_->SetText(label_checkbox_->checked() ? textfield_->text() : textfield_ 45 ui/views/examples/multiline_example.h Textfield* textfield_; textfield_ 114 ui/views/test/child_modal_window.cc textfield_(new Textfield), textfield_ 127 ui/views/test/child_modal_window.cc AddChildView(textfield_); textfield_ 185 ui/views/test/child_modal_window.cc textfield_->SetBounds(x(), running_y, width(), kTextfieldHeight); textfield_ 57 ui/views/test/child_modal_window.h Textfield* textfield_; textfield_ 50 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_(NULL), textfield_ 68 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_ = new Textfield(); textfield_ 75 ui/views/touchui/touch_selection_controller_impl_unittest.cc container->AddChildView(textfield_); textfield_ 77 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SetBoundsRect(params.bounds); textfield_ 78 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->set_id(1); textfield_ 81 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->RequestFocus(); textfield_ 86 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::RenderText* render_text = textfield_->GetRenderText(); textfield_ 93 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->touch_selection_controller_.get()); textfield_ 138 ui/views/touchui/touch_selection_controller_impl_unittest.cc return textfield_->GetRenderText(); textfield_ 143 ui/views/touchui/touch_selection_controller_impl_unittest.cc Textfield* textfield_; textfield_ 156 ui/views/touchui/touch_selection_controller_impl_unittest.cc gfx::SelectionModel sel = textfield_->GetSelectionModel(); \ textfield_ 157 ui/views/touchui/touch_selection_controller_impl_unittest.cc if (textfield_->HasSelection()) { \ textfield_ 191 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SetText(ASCIIToUTF16("some text")); textfield_ 195 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->OnGestureEvent(&tap); textfield_ 198 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 7)); textfield_ 202 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectAll(false); textfield_ 206 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->ClearSelection(); textfield_ 214 ui/views/touchui/touch_selection_controller_impl_unittest.cc widget_->GetFocusManager()->SetFocusedView(textfield_); textfield_ 216 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->OnGestureEvent(&tap); textfield_ 223 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SetText(WideToUTF16(L"abc\x05d0\x05d1\x05d2")); textfield_ 227 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->OnGestureEvent(&tap); textfield_ 230 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectSelectionModel( textfield_ 235 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(2, 3)); textfield_ 238 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 2)); textfield_ 241 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 4)); textfield_ 244 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(4, 3)); textfield_ 247 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 6)); textfield_ 250 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(6, 3)); textfield_ 254 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(0, 6)); textfield_ 257 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(6, 0)); textfield_ 260 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(1, 4)); textfield_ 263 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(4, 1)); textfield_ 271 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SetText(ASCIIToUTF16("textfield with selected text")); textfield_ 275 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->OnGestureEvent(&tap); textfield_ 276 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 7)); textfield_ 278 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(UTF16ToUTF8(textfield_->GetSelectedText()), "tfie"); textfield_ 282 ui/views/touchui/touch_selection_controller_impl_unittest.cc const gfx::FontList& font_list = textfield_->GetFontList(); textfield_ 285 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(UTF16ToUTF8(textfield_->GetSelectedText()), "tfield "); textfield_ 291 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(UTF16ToUTF8(textfield_->GetSelectedText()), "textfield "); textfield_ 297 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(UTF16ToUTF8(textfield_->GetSelectedText()), "with "); textfield_ 303 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(UTF16ToUTF8(textfield_->GetSelectedText()), "selected "); textfield_ 309 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SetText(WideToUTF16(L"abc\x05e1\x05e2\x05e3" L"def")); textfield_ 313 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->OnGestureEvent(&tap); textfield_ 316 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(2, 3)); textfield_ 317 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"c"), textfield_->GetSelectedText()); textfield_ 321 ui/views/touchui/touch_selection_controller_impl_unittest.cc const gfx::FontList& font_list = textfield_->GetFontList(); textfield_ 324 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"c\x05e1\x05e2"), textfield_->GetSelectedText()); textfield_ 330 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"bc\x05e1\x05e2"), textfield_->GetSelectedText()); textfield_ 334 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 2)); textfield_ 335 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"c"), textfield_->GetSelectedText()); textfield_ 341 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"c\x05e1\x05e2"), textfield_->GetSelectedText()); textfield_ 347 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"bc\x05e1\x05e2"), textfield_->GetSelectedText()); textfield_ 351 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(3, 4)); textfield_ 352 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05e1"), textfield_->GetSelectedText()); textfield_ 373 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05e2\x05e3" L"d"), textfield_->GetSelectedText()); textfield_ 377 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(4, 3)); textfield_ 378 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05e1"), textfield_->GetSelectedText()); textfield_ 392 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05e2\x05e3" L"d"), textfield_->GetSelectedText()); textfield_ 396 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(5, 6)); textfield_ 397 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05e3"), textfield_->GetSelectedText()); textfield_ 403 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"c\x05e1\x05e2"), textfield_->GetSelectedText()); textfield_ 409 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"c\x05e1"), textfield_->GetSelectedText()); textfield_ 413 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(6, 5)); textfield_ 414 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05e3"), textfield_->GetSelectedText()); textfield_ 420 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"c\x05e1\x05e2"), textfield_->GetSelectedText()); textfield_ 426 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ(WideToUTF16(L"c\x05e1"), textfield_->GetSelectedText()); textfield_ 437 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SetText(ASCIIToUTF16(textfield_text)); textfield_ 442 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->OnGestureEvent(&tap); textfield_ 445 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SelectRange(gfx::Range(10, textfield_text.length())); textfield_ 451 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->GetSelectedRange()); textfield_ 455 ui/views/touchui/touch_selection_controller_impl_unittest.cc size_t visible_handle_position = textfield_->GetSelectedRange().end(); textfield_ 459 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_NE(visible_handle_position, textfield_->GetSelectedRange().end()); textfield_ 460 ui/views/touchui/touch_selection_controller_impl_unittest.cc visible_handle_position = textfield_->GetSelectedRange().end(); textfield_ 461 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_EQ((size_t) 10, textfield_->GetSelectedRange().start()); textfield_ 468 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->SetText(ASCIIToUTF16("some text")); textfield_ 470 ui/views/touchui/touch_selection_controller_impl_unittest.cc textfield_->GetWidget()->GetNativeView()->GetRootWindow()); textfield_ 476 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_FALSE(textfield_->HasSelection()); textfield_ 486 ui/views/touchui/touch_selection_controller_impl_unittest.cc EXPECT_TRUE(textfield_->HasSelection());