/external/chromium_org/chrome/browser/ui/cocoa/find_bar/ |
find_bar_text_field_unittest.mm | 16 // 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/location_bar/ |
autocomplete_text_field_unittest.mm | 68 // Width of the field so that we don't have to ask |field_| for it all 80 field_ = field.get(); 81 [field_ setStringValue:@"Test test"]; 82 [[test_window() contentView] addSubview:field_]; 84 AutocompleteTextFieldCell* cell = [field_ cell]; 111 // Helper to return the field-editor frame being used w/in |field_|. 113 EXPECT_TRUE([field_ currentEditor]); 114 EXPECT_EQ([[field_ subviews] count], 1U); 115 if ([[field_ subviews] count] > 0) { 116 return [[[field_ subviews] objectAtIndex:0] frame] [all...] |
autocomplete_text_field_editor_unittest.mm | 40 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...] |
location_bar_view_mac.mm | 117 field_(field), 158 [[field_ cell] setIsPopupMode: 164 [[field_ cell] clearDecorations]; 309 [field_ setEditable:editable ? YES : NO]; 317 return [field_ isEditable] ? true : false; 335 AutocompleteTextFieldCell* cell = [field_ cell]; 337 inFrame:[field_ bounds]]; 339 return [field_ convertPoint:point toView:nil]; 343 AutocompleteTextFieldCell* cell = [field_ cell]; 346 inFrame:[field_ bounds]] [all...] |
/external/chromium/chrome/browser/ui/cocoa/find_bar/ |
find_bar_text_field_unittest.mm | 27 // Width of the field so that we don't have to ask |field_| for it all 39 field_ = field.get(); 41 [field_ setStringValue:@"Test test"]; 42 [[test_window() contentView] addSubview:field_]; 45 FindBarTextField* field_; 49 TEST_VIEW(FindBarTextFieldTest, field_); 53 EXPECT_TRUE([[field_ cell] isKindOfClass:[FindBarTextFieldCell class]]); 59 FindBarTextFieldCell* cell = [field_ findBarTextFieldCell]; 60 EXPECT_EQ(cell, [field_ cell]); 66 EXPECT_EQ(nil, [field_ currentEditor]) [all...] |
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
autocomplete_text_field_unittest.mm | 68 // Width of the field so that we don't have to ask |field_| for it all 80 field_ = field.get(); 81 [field_ setStringValue:@"Test test"]; 82 [[test_window() contentView] addSubview:field_]; 84 AutocompleteTextFieldCell* cell = [field_ cell]; 111 // Helper to return the field-editor frame being used w/in |field_|. 113 EXPECT_TRUE([field_ currentEditor]); 114 EXPECT_EQ([[field_ subviews] count], 1U); 115 if ([[field_ subviews] count] > 0) { 116 return [[[field_ subviews] objectAtIndex:0] frame] [all...] |
autocomplete_text_field_editor_unittest.mm | 38 field_ = field.get(); 39 [field_ setStringValue:@"Testing"]; 40 [[test_window() contentView] addSubview:field_]; 42 // Arrange for |field_| to get the right field editor. 48 [test_window() makePretendKeyWindowAndSetFirstResponder:field_]; 49 editor_ = static_cast<AutocompleteTextFieldEditor*>([field_ currentEditor]); 56 AutocompleteTextField* field_; 64 TEST_VIEW(AutocompleteTextFieldEditorTest, field_); 71 [field_ setStringValue:test_string]; 75 EXPECT_NSEQ(@"t", [field_ stringValue]) [all...] |
location_bar_view_mac.mm | 78 field_(field), 112 [[field_ cell] clearDecorations]; 125 if (!field_ || ![field_ window]) 137 [FirstRunBubbleController showForView:field_ offset:kOffset profile:profile_]; 173 [field_ updateCursorAndToolTipRects]; 174 [field_ setNeedsDisplay:YES]; 370 AutocompleteTextFieldCell* cell = [field_ cell]; 371 NSRect frame = [cell frameForDecoration:decoration inFrame:[field_ bounds]]; 377 return [field_ convertPoint:bubble_point toView:nil] [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
styled_text_field_unittest.mm | 18 // Width of the field so that we don't have to ask |field_| for it all 37 field_ = field.get(); 38 [field_ setCell:cell_]; 40 [[test_window() contentView] addSubview:field_]; 43 // Helper to return the field-editor frame being used w/in |field_|. 45 EXPECT_TRUE([field_ currentEditor]); 46 EXPECT_EQ([[field_ subviews] count], 1U); 47 if ([[field_ subviews] count] > 0) { 48 return [[[field_ subviews] objectAtIndex:0] frame]; 56 StyledTextField* field_; [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/ |
styled_text_field_unittest.mm | 16 // 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/chrome/browser/autofill/ |
address_field_unittest.cc | 21 scoped_ptr<AddressField> field_; member in class:__anon1563::AddressFieldTest 32 field_.reset(AddressField::Parse(&iter_, false)); 33 ASSERT_EQ(static_cast<AddressField*>(NULL), field_.get()); 40 field_.reset(AddressField::Parse(&iter_, false)); 41 ASSERT_EQ(static_cast<AddressField*>(NULL), field_.get()); 55 field_.reset(AddressField::Parse(&iter_, false)); 56 ASSERT_NE(static_cast<AddressField*>(NULL), field_.get()); 57 EXPECT_EQ(kGenericAddress, field_->FindType()); 58 EXPECT_TRUE(field_->IsFullAddress()); 59 ASSERT_TRUE(field_->GetFieldInfo(&field_type_map_)) [all...] |
name_field_unittest.cc | 21 scoped_ptr<NameField> field_; member in class:__anon1590::NameFieldTest 56 field_.reset(NameField::Parse(&iter_, false)); 57 ASSERT_NE(static_cast<NameField*>(NULL), field_.get()); 58 ASSERT_TRUE(field_->GetFieldInfo(&field_type_map_)); 97 field_.reset(NameField::Parse(&iter_, false)); 98 ASSERT_NE(static_cast<NameField*>(NULL), field_.get()); 99 ASSERT_TRUE(field_->GetFieldInfo(&field_type_map_)); 130 field_.reset(NameField::Parse(&iter_, false)); 131 ASSERT_NE(static_cast<NameField*>(NULL), field_.get()); 132 ASSERT_TRUE(field_->GetFieldInfo(&field_type_map_)) [all...] |
phone_field_unittest.cc | 21 scoped_ptr<PhoneField> field_; member in class:__anon1592::PhoneFieldTest 32 field_.reset(PhoneField::Parse(&iter_, false)); 33 ASSERT_EQ(static_cast<PhoneField*>(NULL), field_.get()); 40 field_.reset(PhoneField::Parse(&iter_, false)); 41 ASSERT_EQ(static_cast<PhoneField*>(NULL), field_.get()); 55 field_.reset(PhoneField::Parse(&iter_, false)); 56 ASSERT_NE(static_cast<PhoneField*>(NULL), field_.get()); 57 ASSERT_TRUE(field_->GetFieldInfo(&field_type_map_)); 74 field_.reset(PhoneField::Parse(&iter_, true)); 75 ASSERT_NE(static_cast<PhoneField*>(NULL), field_.get()) [all...] |
credit_card_field_unittest.cc | 21 scoped_ptr<CreditCardField> field_; member in class:__anon1584::CreditCardFieldTest 32 field_.reset(CreditCardField::Parse(&iter_, false)); 33 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); 40 field_.reset(CreditCardField::Parse(&iter_, false)); 41 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); 63 field_.reset(CreditCardField::Parse(&iter_, false)); 64 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); 78 field_.reset(CreditCardField::Parse(&iter_, false)); 79 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); 109 field_.reset(CreditCardField::Parse(&iter_, false)) [all...] |
/external/chromium_org/components/autofill/core/browser/ |
address_field_unittest.cc | 23 scoped_ptr<AddressField> field_; member in class:autofill::AddressFieldTest 37 field_.reset(Parse(&scanner)); 38 ASSERT_EQ(static_cast<AddressField*>(NULL), field_.get()); 44 field_.reset(Parse(&scanner)); 45 ASSERT_EQ(static_cast<AddressField*>(NULL), field_.get()); 57 field_.reset(Parse(&scanner)); 58 ASSERT_NE(static_cast<AddressField*>(NULL), field_.get()); 59 ASSERT_TRUE(field_->ClassifyField(&field_type_map_)); 78 field_.reset(Parse(&scanner)); 79 ASSERT_NE(static_cast<AddressField*>(NULL), field_.get()) [all...] |
phone_field_unittest.cc | 22 scoped_ptr<PhoneField> field_; member in class:autofill::PhoneFieldTest 36 field_.reset(Parse(&scanner)); 37 ASSERT_EQ(static_cast<PhoneField*>(NULL), field_.get()); 43 field_.reset(Parse(&scanner)); 44 ASSERT_EQ(static_cast<PhoneField*>(NULL), field_.get()); 56 field_.reset(Parse(&scanner)); 57 ASSERT_NE(static_cast<PhoneField*>(NULL), field_.get()); 58 ASSERT_TRUE(field_->ClassifyField(&field_type_map_)); 77 field_.reset(Parse(&scanner)); 78 ASSERT_NE(static_cast<PhoneField*>(NULL), field_.get()) [all...] |
name_field_unittest.cc | 22 scoped_ptr<NameField> field_; member in class:autofill::NameFieldTest 51 field_.reset(Parse(&scanner)); 52 ASSERT_NE(static_cast<NameField*>(NULL), field_.get()); 53 ASSERT_TRUE(field_->ClassifyField(&field_type_map_)); 82 field_.reset(Parse(&scanner)); 83 ASSERT_NE(static_cast<NameField*>(NULL), field_.get()); 84 ASSERT_TRUE(field_->ClassifyField(&field_type_map_)); 109 field_.reset(Parse(&scanner)); 110 ASSERT_NE(static_cast<NameField*>(NULL), field_.get()); 111 ASSERT_TRUE(field_->ClassifyField(&field_type_map_)) [all...] |
email_field.cc | 25 EmailField::EmailField(const AutofillField* field) : field_(field) { 29 return AddClassification(field_, EMAIL_ADDRESS, map);
|
credit_card_field_unittest.cc | 23 scoped_ptr<const CreditCardField> field_; member in class:autofill::CreditCardFieldTest 27 // |field_|. 30 field_.reset( 37 return field_->ClassifyField(&field_type_map_); 46 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); 52 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); 68 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); 80 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); 100 ASSERT_NE(static_cast<CreditCardField*>(NULL), field_.get()); 143 ASSERT_NE(static_cast<CreditCardField*>(NULL), field_.get()) [all...] |
email_field.h | 25 const AutofillField* field_; member in class:autofill::EmailField
|
/external/chromium_org/chrome/browser/resources/print_preview/data/ |
cloud_parsers.js | 16 CloudDestinationParser.Field_ = { 64 if (!json.hasOwnProperty(CloudDestinationParser.Field_.ID) || 65 !json.hasOwnProperty(CloudDestinationParser.Field_.TYPE) || 66 !json.hasOwnProperty(CloudDestinationParser.Field_.DISPLAY_NAME)) { 69 var id = json[CloudDestinationParser.Field_.ID]; 70 var tags = json[CloudDestinationParser.Field_.TAGS] || []; 72 json[CloudDestinationParser.Field_.CONNECTION_STATUS] || 78 json[CloudDestinationParser.Field_.LAST_ACCESS], 10) || Date.now(), 80 json[CloudDestinationParser.Field_.IS_TOS_ACCEPTED] : null, 86 json[CloudDestinationParser.Field_.TYPE]) [all...] |
/external/chromium_org/media/cast/rtcp/ |
rtcp_utility.cc | 32 return field_; 295 big_endian_reader.ReadU32(&field_.receiver_report.sender_ssrc); 296 field_.receiver_report.number_of_report_blocks = number_of_blocks_; 314 big_endian_reader.ReadU32(&field_.sender_report.sender_ssrc); 315 big_endian_reader.ReadU32(&field_.sender_report.ntp_most_significant); 316 big_endian_reader.ReadU32(&field_.sender_report.ntp_least_significant); 317 big_endian_reader.ReadU32(&field_.sender_report.rtp_timestamp); 318 big_endian_reader.ReadU32(&field_.sender_report.sender_packet_count); 319 big_endian_reader.ReadU32(&field_.sender_report.sender_octet_count); 320 field_.sender_report.number_of_report_blocks = number_of_blocks_ [all...] |
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_edit_view_mac.mm | 30 // Focus-handling between |field_| and |model_| is a bit subtle. 43 // should only be reachable when |field_| is being edited. If these 181 field_(field), 191 [field_ setObserver:this]; 194 [field_ setAllowsEditingTextAttributes:YES]; 211 // Disconnect from |field_|, it outlives this object. 212 [field_ setObserver:NULL]; 226 const bool hasFocus = [field_ currentEditor] ? true : false; 270 [[field_ window] makeFirstResponder:field_]; [all...] |
autocomplete_edit_view_mac.h | 110 // Helper for LocationBarViewMac. Optionally selects all in |field_|. 126 // Called when the user hits backspace in |field_|. Checks whether 140 // Returns true if |field_| is first-responder in the window. Used 161 // Returns the non-suggest portion of |field_|'s string value. 164 // Returns the suggest portion of |field_|'s string value. 167 // Pass the current content of |field_| to SetText(), maintaining 197 AutocompleteTextField* field_; // owned by tab controller member in class:AutocompleteEditViewMac
|
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/ |
omnibox_view_mac.mm | 35 // Focus-handling between |field_| and model() is a bit subtle. 48 // should only be reachable when |field_| is being edited. If these 142 field_(field), 148 [field_ setObserver:this]; 151 [field_ setAllowsEditingTextAttributes:YES]; 164 // Disconnect from |field_|, it outlives this object. 165 [field_ setObserver:NULL]; 171 const bool hasFocus = [field_ currentEditor] ? true : false; 199 [[field_ window] makeFirstResponder:field_]; [all...] |