Home
last modified time | relevance | path

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

12

/external/chromium/chrome/browser/chromeos/login/
Dhelper.cc184 void CorrectTextfieldFontSize(views::Textfield* textfield) { in CorrectTextfieldFontSize() argument
185 if (textfield) in CorrectTextfieldFontSize()
186 textfield->SetFont(textfield->font().DeriveFont(kFontSizeCorrectionDelta)); in CorrectTextfieldFontSize()
189 void SetAndCorrectTextfieldFont(views::Textfield* textfield, in SetAndCorrectTextfieldFont() argument
191 if (textfield) in SetAndCorrectTextfieldFont()
192 textfield->SetFont(font.DeriveFont(kFontSizeCorrectionDelta)); in SetAndCorrectTextfieldFont()
Dhelper.h95 void CorrectTextfieldFontSize(views::Textfield* textfield);
98 void SetAndCorrectTextfieldFont(views::Textfield* textfield,
/external/chromium_org/ui/views/accessibility/
Dnative_view_accessibility_win_unittest.cc29 Textfield* textfield = new Textfield; in TEST_F() local
30 textfield->SetAccessibleName(L"Name"); in TEST_F()
31 textfield->SetText(L"Value"); in TEST_F()
32 content->AddChildView(textfield); in TEST_F()
62 ASSERT_STREQ(L"New value", textfield->text().c_str()); in TEST_F()
/external/chromium_org/chrome/browser/ui/views/autofill/
Ddecorated_textfield_unittest.cc13 DecoratedTextfield textfield(ASCIIToUTF16("default"), in TEST() local
20 textfield.GetPreferredSize().height()); in TEST()
Dautofill_dialog_views.cc1450 views::Textfield* textfield = TextfieldForInput(input); in GetTextContentsOfInput() local
1451 if (textfield) in GetTextContentsOfInput()
1452 return textfield->text(); in GetTextContentsOfInput()
1465 views::Textfield* textfield = TextfieldForInput(input); in SetTextContentsOfInput() local
1466 if (textfield) { in SetTextContentsOfInput()
1467 textfield->SetText(contents); in SetTextContentsOfInput()
2267 views::Textfield* textfield, in TextfieldEditedOrActivated() argument
2269 DetailsGroup* group = GroupForView(textfield); in TextfieldEditedOrActivated()
2281 if (decorated == textfield) { in TextfieldEditedOrActivated()
2285 textfield->GetBoundsInScreen(), in TextfieldEditedOrActivated()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/browser/
Dpassword_generation_bubble_controller_unittest.mm95 PasswordGenerationTextField* textfield = controller().textField;
97 NSString* before = [textfield stringValue];
100 [textfield simulateIconClick];
105 NSString* after = [textfield stringValue];
Dpassword_generation_bubble_controller.mm32 // Visible size of the textfield.
36 // Frame padding necessary to make the textfield the correct visible size.
52 // Space between the title and the textfield.
55 // Space between the textfield and the button.
/external/chromium_org/ui/views/test/
Dchild_modal_window.cc76 Textfield* textfield = new Textfield; in ChildModalWindow() local
77 AddChildView(textfield); in ChildModalWindow()
78 textfield->SetBounds( in ChildModalWindow()
/external/chromium_org/chrome/browser/ui/views/
Dpassword_generation_bubble_view.cc53 TextfieldWrapper(views::Textfield* textfield,
67 TextfieldWrapper::TextfieldWrapper(views::Textfield* textfield, in TextfieldWrapper() argument
69 : textfield_(textfield), in TextfieldWrapper()
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_dialog_window_controller.mm95 AutofillTextField* textfield =
97 [textfield onEditorMouseDown:self];
105 AutofillTextField* textfield =
107 if ([[textfield inputDelegate] keyEvent:event
108 forInput:textfield] != kKeyEventHandled) {
140 AutofillTextField* textfield = base::mac::ObjCCast<AutofillTextField>(client);
141 if (!textfield)
Dautofill_section_container.mm414 AutofillTextField* textfield =
418 if (!textfield)
422 base::string16 fieldValue = base::SysNSStringToUTF16([textfield fieldValue]);
447 if ([textfield invalid] && edited) {
451 [textfield setValidityMessage:base::SysUTF16ToNSString(message)];
452 [validationDelegate_ updateMessageForField:textfield];
456 if (![textfield invalid])
664 AutofillTextField* textfield = base::mac::ObjCCastStrict<AutofillTextField>(
666 [[textfield cell] setIcon:iter->second.ToNSImage()];
/external/chromium_org/ui/views/
Dviews.gyp218 'controls/textfield/native_textfield_views.cc',
219 'controls/textfield/native_textfield_views.h',
220 'controls/textfield/native_textfield_wrapper.h',
221 'controls/textfield/textfield.cc',
222 'controls/textfield/textfield.h',
223 'controls/textfield/textfield_controller.cc',
224 'controls/textfield/textfield_controller.h',
225 'controls/textfield/textfield_views_model.cc',
226 'controls/textfield/textfield_views_model.h',
752 'controls/textfield/native_textfield_views_unittest.cc',
[all …]
Dview_unittest.cc1516 Textfield* textfield = new Textfield(); in TEST_F() local
1517 root_view->AddChildView(textfield); in TEST_F()
1520 textfield->SetText(kText); in TEST_F()
1521 EXPECT_EQ(kText, textfield->text()); in TEST_F()
1522 textfield->AppendText(kExtraText); in TEST_F()
1523 EXPECT_EQ(kText + kExtraText, textfield->text()); in TEST_F()
1524 textfield->SetText(string16()); in TEST_F()
1525 EXPECT_EQ(kEmptyString, textfield->text()); in TEST_F()
1528 textfield->SetText(kText); in TEST_F()
1529 EXPECT_EQ(kEmptyString, textfield->GetSelectedText()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/options/
Dvpn_config_view.h107 const std::string GetTextFromField(views::Textfield* textfield,
112 PassphraseTextfield* textfield) const;
Dvpn_config_view.cc1023 const std::string VPNConfigView::GetTextFromField(views::Textfield* textfield, in GetTextFromField() argument
1025 if (!textfield) in GetTextFromField()
1027 std::string untrimmed = UTF16ToUTF8(textfield->text()); in GetTextFromField()
1036 PassphraseTextfield* textfield) const { in GetPassphraseFromField()
1037 if (!textfield) in GetPassphraseFromField()
1039 return textfield->GetPassphrase(); in GetPassphraseFromField()
/external/chromium_org/ash/
Dextended_desktop_unittest.cc763 views::Textfield* textfield = new views::Textfield; in TEST_F() local
764 lock_widget->client_view()->AddChildView(textfield); in TEST_F()
771 textfield->RequestFocus(); in TEST_F()
784 EXPECT_EQ("a", UTF16ToASCII(textfield->text())); in TEST_F()
790 EXPECT_EQ("ab", UTF16ToASCII(textfield->text())); in TEST_F()
797 EXPECT_EQ("abc", UTF16ToASCII(textfield->text())); in TEST_F()
807 EXPECT_EQ("abcd", UTF16ToASCII(textfield->text())); in TEST_F()
813 EXPECT_EQ("abcde", UTF16ToASCII(textfield->text())); in TEST_F()
/external/chromium_org/ui/views/controls/button/
Dcustom_button_unittest.cc179 Textfield textfield(Textfield::STYLE_DEFAULT); in TEST_F() local
180 EXPECT_FALSE(CustomButton::AsCustomButton(&textfield)); in TEST_F()
/external/chromium/chrome/browser/ui/views/
Daccessibility_event_router_views.cc268 views::Textfield* textfield = static_cast<views::Textfield*>(view); in SendTextfieldNotification() local
269 bool password = textfield->IsPassword(); in SendTextfieldNotification()
/external/chromium/chrome/browser/chromeos/options/
Dvpn_config_view.h92 const std::string GetTextFromField(views::Textfield* textfield,
Dvpn_config_view.cc241 views::Textfield* textfield, bool trim_whitespace) const { in GetTextFromField() argument
242 std::string untrimmed = UTF16ToUTF8(textfield->text()); in GetTextFromField()
/external/chromium_org/ui/views/focus/
Dfocus_manager_unittest.cc179 TestTextfield* textfield = new TestTextfield(); in TEST_F() local
180 GetContentsView()->AddChildView(textfield); in TEST_F()
182 FocusNativeView(textfield->TestGetNativeControlView()); in TEST_F()
183 EXPECT_EQ(textfield, GetFocusManager()->GetFocusedView()); in TEST_F()
/external/chromium_org/ui/webui/resources/css/
Dwidgets.css110 -webkit-appearance: textfield;
118 input[type='search']::-webkit-textfield-decoration-container {
/external/chromium_org/chrome/browser/ui/cocoa/infobars/
Dconfirm_infobar_controller.mm96 // If we had either button, leave space before the edge of the textfield.
Dinfobar_controller.mm57 // No icon, remove it from the view and grow the textfield to include the
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSValueKeywords.in684 menulist-textfield
697 textfield

12