Home
last modified time | relevance | path

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

/external/chromium_org/ui/views/controls/textfield/
Dnative_textfield_views_unittest.cc124 textfield_(NULL), in NativeTextfieldViewsTest()
171 ASSERT_FALSE(textfield_); in InitTextfields()
172 textfield_ = new TestTextfield(style); in InitTextfields()
173 textfield_->SetController(this); in InitTextfields()
180 container->AddChildView(textfield_); in InitTextfields()
183 textfield_->GetNativeWrapperForTesting()); in InitTextfields()
186 textfield_->set_id(1); in InitTextfields()
202 textfield_->RequestFocus(); in InitTextfields()
334 TestTextfield* textfield_; member in views::NativeTextfieldViewsTest
360 textfield_->SetText(ASCIIToUTF16("this is")); in TEST_F()
[all …]
Dnative_textfield_views.cc72 : textfield_(parent), in NativeTextfieldViews()
82 GetRenderText()->SetFontList(textfield_->font_list()); in NativeTextfieldViews()
99 TextfieldController* controller = textfield_->GetController(); in OnMousePressed()
100 if (!(controller && controller->HandleMouseEvent(textfield_, event)) && in OnMousePressed()
101 !textfield_->OnMousePressed(event)) { in OnMousePressed()
126 if (!textfield_->OnMouseDragged(event)) { in OnMouseDragged()
151 textfield_->OnMouseReleased(event); in OnMouseReleased()
160 textfield_->OnGestureEvent(event); in OnGestureEvent()
167 textfield_->RequestFocus(); in OnGestureEvent()
258 if (!textfield_->enabled() || textfield_->read_only()) in GetDropFormats()
[all …]
Dnative_textfield_views.h295 Textfield* textfield_; variable
/external/chromium_org/ui/views/touchui/
Dtouch_selection_controller_impl_unittest.cc49 textfield_(NULL), in TouchSelectionControllerImplTest()
68 textfield_ = new Textfield(); in CreateTextfield()
75 container->AddChildView(textfield_); in CreateTextfield()
78 textfield_->GetNativeWrapperForTesting()); in CreateTextfield()
79 textfield_->SetBoundsRect(params.bounds); in CreateTextfield()
81 textfield_->set_id(1); in CreateTextfield()
85 textfield_->RequestFocus(); in CreateTextfield()
147 Textfield* textfield_; member in views::TouchSelectionControllerImplTest
162 if (textfield_->HasSelection()) { \
196 textfield_->SetText(ASCIIToUTF16("some text")); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_textfield_unittest.mm16 textfield_.reset([[AutofillTextField alloc] initWithFrame:frame]);
17 [textfield_ setStringValue:@"Abcdefg"];
18 [textfield_ sizeToFit];
19 [[test_window() contentView] addSubview:textfield_];
23 base::scoped_nsobject<AutofillTextField> textfield_;
28 TEST_VIEW(AutofillTextFieldTest, textfield_)
32 [[textfield_ cell] setInvalid:YES];
33 [textfield_ display];
34 [[textfield_ cell] setInvalid:NO];
35 [textfield_ display];
[all …]
/external/chromium_org/chrome/browser/ui/views/
Dpassword_generation_bubble_view.cc63 views::Textfield* textfield_; member in __anon01c5e1760111::TextfieldWrapper
69 : textfield_(textfield), in TextfieldWrapper()
71 textfield_->RemoveBorder(); in TextfieldWrapper()
75 AddChildView(textfield_); in TextfieldWrapper()
83 textfield_->SetPosition(gfx::Point(kTextfieldHorizontalPadding, in Layout()
85 textfield_->SizeToPreferredSize(); in Layout()
90 int button_x = (textfield_->GetPreferredSize().width() + in Layout()
103 int width = (textfield_->GetPreferredSize().width() + in GetPreferredSize()
106 int height = (textfield_->GetPreferredSize().height() + in GetPreferredSize()
115 int size = (textfield_->GetPreferredSize().height() + in GetImageSize()
[all …]
Dpassword_generation_bubble_view.h78 views::Textfield* textfield_; variable
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_views.cc149 textfield_ = new AutocompleteTextfield(this); in Init()
150 textfield_->SetController(this); in Init()
153 textfield_->SetFont(ui::ResourceBundle::GetSharedInstance().GetFont( in Init()
158 textfield_->SetReadOnly(true); in Init()
262 textfield_->SetBounds(insets.left(), insets.top(), in Layout()
289 textfield_->GetSelectedRange(&selection); in SaveStateToTab()
317 textfield_->SelectRange(state->view_state.selection_range); in Update()
341 return textfield_->text(); in GetText()
387 return textfield_->text() == textfield_->GetSelectedText(); in IsSelectAll()
398 textfield_->GetSelectedRange(&range); in GetSelectionBounds()
[all …]
Dautocomplete_edit_view_views.h161 views::Textfield* textfield_; variable
/external/chromium_org/ppapi/examples/ime/
Dime.cc456 textfield_.push_back(MyTextField(this, status_handler_, in Init()
458 textfield_.back().SetText("Hello"); in Init()
459 textfield_.push_back(MyTextField(this, status_handler_, in Init()
461 textfield_.back().SetText("World"); in Init()
537 for (std::vector<MyTextField>::iterator it = textfield_.begin(); in OnCompositionUpdate()
538 it != textfield_.end(); in OnCompositionUpdate()
559 for (std::vector<MyTextField>::iterator it = textfield_.begin(); in OnCompositionEnd()
560 it != textfield_.end(); in OnCompositionEnd()
577 for (std::vector<MyTextField>::iterator it = textfield_.begin(); in OnMouseDown()
578 it != textfield_.end(); in OnMouseDown()
[all …]
/external/chromium_org/ui/views/examples/
Dmultiline_example.cc91 textfield_(NULL), in MultilineExample()
115 textfield_ = new Textfield(); in CreateExampleView()
116 textfield_->SetController(this); in CreateExampleView()
117 textfield_->SetText(ASCIIToUTF16(kTestString)); in CreateExampleView()
138 layout->AddView(textfield_); in CreateExampleView()
157 label_->SetText(label_checkbox_->checked() ? textfield_->text() : string16()); in ButtonPressed()
Dmultiline_example.h45 Textfield* textfield_; variable
/external/chromium_org/ui/views/color_chooser/
Dcolor_chooser_view.cc395 textfield_ = new Textfield(); in ColorChooserView()
396 textfield_->SetController(this); in ColorChooserView()
397 textfield_->set_default_width_in_chars(kTextfieldLengthInChars); in ColorChooserView()
398 layout->AddView(textfield_); in ColorChooserView()
415 textfield_->SetText(GetColorText(color)); in OnColorChanged()
425 textfield_->SetText(GetColorText(color)); in OnHueChosen()
436 textfield_->SetText(GetColorText(color)); in OnSaturationValueChosen()
440 return textfield_; in GetInitiallyFocusedView()
Dcolor_chooser_view.h78 Textfield* textfield_; variable
/external/chromium_org/ui/views/test/
Dchild_modal_window.cc113 textfield_(new Textfield), in ChildModalParent()
126 AddChildView(textfield_); in ChildModalParent()
184 textfield_->SetBounds(x(), running_y, width(), kTextfieldHeight); in Layout()
Dchild_modal_window.h57 Textfield* textfield_; variable