Home
last modified time | relevance | path

Searched refs:field_ (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dautocomplete_text_field_unittest.mm84 // Width of the field so that we don't have to ask |field_| for it all
96 field_ = field.get();
97 [field_ setStringValue:@"Test test"];
98 [[test_window() contentView] addSubview:field_];
100 AutocompleteTextFieldCell* cell = [field_ cell];
127 // Helper to return the field-editor frame being used w/in |field_|.
129 EXPECT_TRUE([field_ currentEditor]);
130 EXPECT_EQ([[field_ subviews] count], 1U);
131 if ([[field_ subviews] count] > 0) {
132 return [[[field_ subviews] objectAtIndex:0] frame];
[all …]
Dautocomplete_text_field_editor_unittest.mm40 field_ = field.get();
41 [field_ setStringValue:@"Testing"];
42 [[test_window() contentView] addSubview:field_];
44 // Arrange for |field_| to get the right field editor.
50 [test_window() makePretendKeyWindowAndSetFirstResponder:field_];
51 editor_ = static_cast<AutocompleteTextFieldEditor*>([field_ currentEditor]);
58 AutocompleteTextField* field_;
67 TEST_VIEW(AutocompleteTextFieldEditorTest, field_);
74 [field_ setStringValue:test_string];
78 EXPECT_NSEQ(@"t", [field_ stringValue]);
[all …]
Dlocation_bar_view_mac.mm120 field_(field), function
151 [[field_ cell] setIsPopupMode:
165 [[field_ cell] clearDecorations];
222 [field_ updateMouseTracking];
223 [field_ setNeedsDisplay:YES];
323 [field_ setEditable:editable ? YES : NO];
331 return [field_ isEditable] ? true : false;
359 [field_ isEditable] &&
367 return [field_ bubblePointForDecoration:star_decoration_.get()];
371 return [field_ bubblePointForDecoration:translate_decoration_.get()];
[all …]
Dlocation_bar_view_mac.h169 AutocompleteTextField* GetAutocompleteTextField() { return field_; } in GetAutocompleteTextField()
223 AutocompleteTextField* field_; // owned by tab controller variable
/external/chromium_org/components/autofill/core/browser/
Daddress_field_unittest.cc25 scoped_ptr<AddressField> field_; member in autofill::AddressFieldTest
39 field_.reset(Parse(&scanner)); in TEST_F()
40 ASSERT_EQ(static_cast<AddressField*>(NULL), field_.get()); in TEST_F()
46 field_.reset(Parse(&scanner)); in TEST_F()
47 ASSERT_EQ(static_cast<AddressField*>(NULL), field_.get()); in TEST_F()
59 field_.reset(Parse(&scanner)); in TEST_F()
60 ASSERT_NE(static_cast<AddressField*>(NULL), field_.get()); in TEST_F()
61 ASSERT_TRUE(field_->ClassifyField(&field_type_map_)); in TEST_F()
80 field_.reset(Parse(&scanner)); in TEST_F()
81 ASSERT_NE(static_cast<AddressField*>(NULL), field_.get()); in TEST_F()
[all …]
Dphone_field_unittest.cc24 scoped_ptr<PhoneField> field_; member in autofill::PhoneFieldTest
38 field_.reset(Parse(&scanner)); in TEST_F()
39 ASSERT_EQ(static_cast<PhoneField*>(NULL), field_.get()); in TEST_F()
45 field_.reset(Parse(&scanner)); in TEST_F()
46 ASSERT_EQ(static_cast<PhoneField*>(NULL), field_.get()); in TEST_F()
58 field_.reset(Parse(&scanner)); in TEST_F()
59 ASSERT_NE(static_cast<PhoneField*>(NULL), field_.get()); in TEST_F()
60 ASSERT_TRUE(field_->ClassifyField(&field_type_map_)); in TEST_F()
79 field_.reset(Parse(&scanner)); in TEST_F()
80 ASSERT_NE(static_cast<PhoneField*>(NULL), field_.get()); in TEST_F()
[all …]
Dname_field_unittest.cc24 scoped_ptr<NameField> field_; member in autofill::NameFieldTest
53 field_.reset(Parse(&scanner)); in TEST_F()
54 ASSERT_NE(static_cast<NameField*>(NULL), field_.get()); in TEST_F()
55 ASSERT_TRUE(field_->ClassifyField(&field_type_map_)); in TEST_F()
84 field_.reset(Parse(&scanner)); in TEST_F()
85 ASSERT_NE(static_cast<NameField*>(NULL), field_.get()); in TEST_F()
86 ASSERT_TRUE(field_->ClassifyField(&field_type_map_)); in TEST_F()
111 field_.reset(Parse(&scanner)); in TEST_F()
112 ASSERT_NE(static_cast<NameField*>(NULL), field_.get()); in TEST_F()
113 ASSERT_TRUE(field_->ClassifyField(&field_type_map_)); in TEST_F()
[all …]
Dcredit_card_field_unittest.cc25 scoped_ptr<const CreditCardField> field_; member in autofill::CreditCardFieldTest
32 field_.reset( in Parse()
39 return field_->ClassifyField(&field_type_map_); in ClassifyField()
48 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); in TEST_F()
54 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); in TEST_F()
70 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); in TEST_F()
82 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); in TEST_F()
102 ASSERT_NE(static_cast<CreditCardField*>(NULL), field_.get()); in TEST_F()
145 ASSERT_NE(static_cast<CreditCardField*>(NULL), field_.get()); in TEST_F()
190 ASSERT_NE(static_cast<CreditCardField*>(NULL), field_.get()); in TEST_F()
[all …]
Demail_field.cc25 EmailField::EmailField(const AutofillField* field) : field_(field) { in EmailField()
29 return AddClassification(field_, EMAIL_ADDRESS, map); in ClassifyField()
Dname_field.cc33 AutofillField* field_; member in autofill::__anona451dd090111::FullNameField
98 return AddClassification(field_, NAME_FULL, map); in ClassifyField()
101 FullNameField::FullNameField(AutofillField* field) : field_(field) { in FullNameField()
Demail_field.h25 const AutofillField* field_; variable
/external/chromium_org/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_text_field_unittest.mm16 // Width of the field so that we don't have to ask |field_| for it all
28 field_ = field.get();
30 [field_ setStringValue:@"Test test"];
31 [[test_window() contentView] addSubview:field_];
34 FindBarTextField* field_;
38 TEST_VIEW(FindBarTextFieldTest, field_);
42 EXPECT_TRUE([[field_ cell] isKindOfClass:[FindBarTextFieldCell class]]);
48 FindBarTextFieldCell* cell = [field_ findBarTextFieldCell];
49 EXPECT_EQ(cell, [field_ cell]);
55 EXPECT_EQ(nil, [field_ currentEditor]);
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/
Dstyled_text_field_unittest.mm16 // Width of the field so that we don't have to ask |field_| for it all
35 field_ = field.get();
36 [field_ setCell:cell_];
38 [[test_window() contentView] addSubview:field_];
41 // Helper to return the field-editor frame being used w/in |field_|.
43 EXPECT_TRUE([field_ currentEditor]);
44 EXPECT_EQ([[field_ subviews] count], 1U);
45 if ([[field_ subviews] count] > 0) {
46 return [[[field_ subviews] objectAtIndex:0] frame];
54 StyledTextField* field_;
[all …]
/external/chromium_org/third_party/libaddressinput/src/cpp/src/
Dformat_element.cc25 FormatElement::FormatElement(AddressField field) : field_(field), literal_() {} in FormatElement()
28 : field_(static_cast<AddressField>(-1)), literal_(literal) { in FormatElement()
33 : field_(static_cast<AddressField>(-1)), literal_("\n") {} in FormatElement()
36 return field_ == other.field_ && literal_ == other.literal_; in operator ==()
Dformat_element.h47 AddressField GetField() const { return field_; } in GetField()
55 AddressField field_;
/external/chromium_org/net/cert/
Dx509_util_mac.h72 CSSM_DATA_PTR field() const { return field_; } in field()
80 if (!field_ || field_->Length < sizeof(T)) in GetAs()
82 return reinterpret_cast<const T*>(field_->Data); in GetAs()
92 CSSM_DATA_PTR field_; variable
Dx509_util_mac.cc154 field_(NULL) { in CSSMFieldValue()
161 field_(field) { in CSSMFieldValue()
171 if (cl_handle_ && oid_ && field_) in Reset()
172 CSSM_CL_FreeFieldValue(cl_handle_, oid_, field_); in Reset()
175 field_ = field; in Reset()
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/
Domnibox_view_mac.mm39 // Focus-handling between |field_| and model() is a bit subtle.
52 // should only be reachable when |field_| is being edited. If these
146 field_(field), function
155 [field_ setObserver:this];
158 [field_ setAllowsEditingTextAttributes:YES];
171 // Disconnect from |field_|, it outlives this object.
172 [field_ setObserver:NULL];
178 const bool hasFocus = [field_ currentEditor] ? true : false;
206 [[field_ window] makeFirstResponder:field_];
207 [[field_ currentEditor] setSelectedRange:state->selection];
[all …]
Domnibox_popup_view_mac.mm54 field_(field), function
100 const CGFloat matrix_width = NSWidth([field_ bounds]);
231 [BrowserWindowController browserWindowControllerForView:field_];
275 [field_ convertPoint:[field_ bounds].origin toView:nil];
318 [[field_ window] addChildWindow:popup_ ordered:NSWindowAbove];
Domnibox_view_mac.h116 AutocompleteTextField* field() const { return field_; } in field()
174 AutocompleteTextField* field_; // owned by tab controller variable
Domnibox_popup_view_mac.h78 NSTextField* field_; // owned by tab controller variable
/external/chromium_org/chrome/browser/resources/print_preview/data/ticket_items/
Dticket_item.js41 this.field_ = field || null;
144 this.appState_.persistField(this.field_, value);
/external/chromium_org/tools/clang/blink_gc_plugin/
DRecordInfo.h53 : field_(field), edge_(edge) {} in FieldPoint()
57 clang::FieldDecl* field() { return field_; } in field()
61 clang::FieldDecl* field_;
/external/protobuf/src/google/protobuf/
Drepeated_field.h1138 : field_(mutable_field) { in RepeatedFieldBackInsertIterator()
1141 field_->Add(value);
1155 RepeatedField<T>* const field_;
1164 : field_(mutable_field) { in RepeatedPtrFieldBackInsertIterator()
1167 *field_->Add() = value;
1172 *field_->Add() = *ptr_to_value;
1186 RepeatedPtrField<T>* const field_;
1196 : field_(mutable_field) { in AllocatedRepeatedPtrFieldBackInsertIterator()
1200 field_->AddAllocated(ptr_to_value);
1215 RepeatedPtrField<T>* const field_;
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Drepeated_field.h1403 : field_(mutable_field) {
1406 field_->Add(value);
1420 RepeatedField<T>* field_;
1429 : field_(mutable_field) {
1432 *field_->Add() = value;
1437 *field_->Add() = *ptr_to_value;
1451 RepeatedPtrField<T>* field_;
1461 : field_(mutable_field) {
1465 field_->AddAllocated(ptr_to_value);
1480 RepeatedPtrField<T>* field_;

12