Home
last modified time | relevance | path

Searched refs:textfield (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/views/autofill/
Dautofill_dialog_view_tester_views.cc41 ExpandingTextfield* textfield = view_->TextfieldForType(type); in GetTextContentsOfInput() local
42 if (textfield) in GetTextContentsOfInput()
43 return textfield->GetText(); in GetTextContentsOfInput()
56 ExpandingTextfield* textfield = view_->TextfieldForType(type); in SetTextContentsOfInput() local
57 if (textfield) { in SetTextContentsOfInput()
58 textfield->SetText(contents); in SetTextContentsOfInput()
75 view_->GroupForSection(section)->suggested_info->textfield()->SetText(text); in SetTextContentsOfSuggestionInput()
Dautofill_dialog_views.cc198 views::View* textfield = child_at(2); in Layout() local
199 if (textfield->visible()) { in Layout()
200 const int preferred_width = textfield->GetPreferredSize().width(); in Layout()
201 textfield->SetBounds(bounds.width() - preferred_width, bounds.y(), in Layout()
203 end_x = textfield->bounds().x() - kAroundTextPadding; in Layout()
1398 textfield()->GetText(); in GetCvc()
2052 ExpandingTextfield* textfield = text_mapping->second; in UpdateSectionImpl() local
2053 if (textfield->GetText().empty()) in UpdateSectionImpl()
2054 textfield->SetText(input.initial_value); in UpdateSectionImpl()
2192 SetValidityForInput(group->suggested_info->textfield(), message.text); in MarkInputsInvalid()
[all …]
Dautofill_dialog_views.h398 ExpandingTextfield* textfield() { return textfield_; } in textfield() function
574 ServerFieldType TypeForTextfield(const views::View* textfield);
/external/chromium_org/tools/memory_inspector/memory_inspector/frontends/www_content/js/
Dsettings.js63 var textfield = $('<input type="text"/>');
64 textfield.data('target', target);
65 textfield.data('key', key);
66 textfield.val(setting.value);
68 row.append($('<td/>').append(textfield));
/external/chromium_org/ui/views/controls/textfield/
Dtextfield_test_api.cc9 TextfieldTestApi::TextfieldTestApi(Textfield* textfield) in TextfieldTestApi() argument
10 : textfield_(textfield) { in TextfieldTestApi()
11 DCHECK(textfield); in TextfieldTestApi()
Dtextfield_test_api.h15 explicit TextfieldTestApi(Textfield* textfield);
/external/chromium_org/chrome/browser/ui/views/
Dcookie_info_view.cc116 views::Textfield* textfield) { in AddLabelRow() argument
120 textfield, 2, 1, views::GridLayout::FILL, views::GridLayout::CENTER); in AddLabelRow()
123 textfield->SetReadOnly(true); in AddLabelRow()
124 textfield->SetBorder(views::Border::NullBorder()); in AddLabelRow()
126 textfield->SetBackgroundColor(GetNativeTheme()->GetSystemColor( in AddLabelRow()
128 textfield->SetTextColor(SkColorSetRGB(0x78, 0x78, 0x78)); in AddLabelRow()
Dcookie_info_view.h59 views::Textfield* textfield);
/external/chromium_org/chrome/browser/ui/ash/accessibility/
Dax_tree_source_ash_unittest.cc87 AXAuraObjWrapper* textfield = content_children[0]; in TEST_F() local
90 ASSERT_EQ(cached_textfield, textfield); in TEST_F()
92 ax_tree.GetChildren(textfield, &textfield_children); in TEST_F()
95 ASSERT_EQ(content, textfield->GetParent()); in TEST_F()
/external/chromium_org/ui/views/accessibility/
Dnative_view_accessibility_win_unittest.cc48 Textfield* textfield = new Textfield; in TEST_F() local
49 textfield->SetAccessibleName(L"Name"); in TEST_F()
50 textfield->SetText(L"Value"); in TEST_F()
51 content->AddChildView(textfield); in TEST_F()
81 ASSERT_STREQ(L"New value", textfield->text().c_str()); in TEST_F()
/external/chromium_org/ash/wm/overview/
Dwindow_selector.cc190 views::Textfield* textfield = new views::Textfield; in CreateTextFilter() local
191 textfield->set_controller(controller); in CreateTextFilter()
192 textfield->SetBackgroundColor(SK_ColorTRANSPARENT); in CreateTextFilter()
193 textfield->SetBorder(views::Border::NullBorder()); in CreateTextFilter()
194 textfield->SetTextColor(SK_ColorWHITE); in CreateTextFilter()
195 textfield->SetFontList(bundle.GetFontList(kTextFilterFontStyle)); in CreateTextFilter()
197 container->AddChildView(textfield); in CreateTextFilter()
206 textfield->RequestFocus(); in CreateTextFilter()
/external/chromium_org/mojo/examples/browser/
Dbrowser.cc183 views::Textfield* textfield = new views::Textfield; in CreateWidget() local
184 textfield->set_controller(this); in CreateWidget()
189 widget_delegate->GetContentsView()->AddChildView(textfield); in CreateWidget()
203 textfield->RequestFocus(); in CreateWidget()
/external/chromium_org/ash/test/
Dchild_modal_window.cc78 views::Textfield* textfield = new views::Textfield; in ChildModalWindow() local
79 AddChildView(textfield); in ChildModalWindow()
80 textfield->SetBounds( in ChildModalWindow()
/external/chromium_org/ui/views/
Dviews.gyp190 'controls/textfield/textfield.cc',
191 'controls/textfield/textfield.h',
192 'controls/textfield/textfield_controller.cc',
193 'controls/textfield/textfield_controller.h',
194 'controls/textfield/textfield_model.cc',
195 'controls/textfield/textfield_model.h',
448 'controls/textfield/textfield_test_api.cc',
449 'controls/textfield/textfield_test_api.h',
529 'controls/textfield/textfield_unittest.cc',
530 'controls/textfield/textfield_model_unittest.cc',
Dview_unittest.cc1147 Textfield* textfield = new Textfield(); in TEST_F() local
1148 root_view->AddChildView(textfield); in TEST_F()
1151 textfield->SetText(kText); in TEST_F()
1152 EXPECT_EQ(kText, textfield->text()); in TEST_F()
1153 textfield->AppendText(kExtraText); in TEST_F()
1154 EXPECT_EQ(kText + kExtraText, textfield->text()); in TEST_F()
1155 textfield->SetText(base::string16()); in TEST_F()
1156 EXPECT_TRUE(textfield->text().empty()); in TEST_F()
1159 textfield->SetText(kText); in TEST_F()
1160 EXPECT_TRUE(textfield->GetSelectedText().empty()); in TEST_F()
[all …]
/external/chromium_org/ui/views/cocoa/
Dbridged_native_widget_unittest.mm15 #include "ui/views/controls/textfield/textfield.h"
104 // Install a textfield in the view hierarchy and make it the text input
132 Textfield* textfield = new Textfield();
133 textfield->SetText(ASCIIToUTF16(text));
134 view_->AddChildView(textfield);
135 [ns_view_ setTextInputClient:textfield];
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_dialog_window_controller.mm92 AutofillTextField* textfield =
94 [textfield onEditorMouseDown:self];
102 AutofillTextField* textfield =
104 if ([[textfield inputDelegate] keyEvent:event
105 forInput:textfield] != kKeyEventHandled) {
137 AutofillTextField* textfield = base::mac::ObjCCast<AutofillTextField>(client);
138 if (!textfield)
Dautofill_section_container.mm76 // possibly reset the validity of the input (if it's a textfield).
429 AutofillTextField* textfield = base::mac::ObjCCast<AutofillTextField>(field);
430 if (!textfield)
438 if ([textfield invalid] && edited) {
442 [textfield setValidityMessage:base::SysUTF16ToNSString(message)];
446 if (![textfield invalid])
450 [validationDelegate_ updateMessageForField:textfield];
733 AutofillTextField* textfield = base::mac::ObjCCastStrict<AutofillTextField>(
735 [[textfield cell] setIcon:iter->second.ToNSImage()];
/external/chromium_org/chrome/browser/chromeos/options/
Dvpn_config_view.h113 const std::string GetTextFromField(views::Textfield* textfield,
118 PassphraseTextfield* textfield) const;
Dvpn_config_view.cc1035 const std::string VPNConfigView::GetTextFromField(views::Textfield* textfield, in GetTextFromField() argument
1037 if (!textfield) in GetTextFromField()
1039 std::string untrimmed = base::UTF16ToUTF8(textfield->text()); in GetTextFromField()
1048 PassphraseTextfield* textfield) const { in GetPassphraseFromField()
1049 if (!textfield) in GetPassphraseFromField()
1051 return textfield->GetPassphrase(); in GetPassphraseFromField()
/external/chromium_org/ui/views/controls/button/
Dcustom_button_unittest.cc167 Textfield textfield; in TEST_F() local
168 EXPECT_FALSE(CustomButton::AsCustomButton(&textfield)); in TEST_F()
/external/chromium_org/ui/views/widget/
Dwidget_interactive_uitest.cc780 Textfield* textfield = new Textfield; in TEST_F() local
781 textfield->SetBounds(0, 0, 200, 20); in TEST_F()
782 textfield->SetText(base::ASCIIToUTF16("some text")); in TEST_F()
783 widget.GetRootView()->AddChildView(textfield); in TEST_F()
786 textfield->RequestFocus(); in TEST_F()
787 textfield->SelectAll(true); in TEST_F()
788 TextfieldTestApi textfield_test_api(textfield); in TEST_F()
797 EXPECT_TRUE(textfield->HasFocus()); in TEST_F()
/external/chromium_org/ash/
Dextended_desktop_unittest.cc855 views::Textfield* textfield = new views::Textfield; in TEST_F() local
856 lock_widget->client_view()->AddChildView(textfield); in TEST_F()
862 textfield->RequestFocus(); in TEST_F()
875 EXPECT_EQ("a", base::UTF16ToASCII(textfield->text())); in TEST_F()
881 EXPECT_EQ("ab", base::UTF16ToASCII(textfield->text())); in TEST_F()
888 EXPECT_EQ("abc", base::UTF16ToASCII(textfield->text())); in TEST_F()
898 EXPECT_EQ("abcd", base::UTF16ToASCII(textfield->text())); in TEST_F()
904 EXPECT_EQ("abcde", base::UTF16ToASCII(textfield->text())); in TEST_F()
/external/chromium_org/ui/webui/resources/css/
Dwidgets.css115 -webkit-appearance: textfield;
123 input[type='search']::-webkit-textfield-decoration-container {
/external/chromium_org/extensions/renderer/resources/
Dextension.css209 -webkit-appearance: textfield;
217 input[type='search']::-webkit-textfield-decoration-container {

12