Lines Matching defs:section

191   virtual void UpdateSection(DialogSection section) OVERRIDE {
192 section_updates_[section]++;
200 virtual void FillSection(DialogSection section,
202 virtual void GetUserInput(DialogSection section, FieldValueMap* output)
204 *output = outputs_[section];
224 void SetUserInput(DialogSection section, const FieldValueMap& map) {
225 outputs_[section] = map;
508 // Activates the 'Add new foo' option from the |section|'s suggestions
509 // dropdown and fills the |section|'s inputs with the data from the
510 // |data_model|. If |section| is SECTION_CC, also fills in '123' for the CVC.
511 void FillInputs(DialogSection section, const AutofillDataModel& data_model) {
513 ui::MenuModel* model = GetMenuModelForSection(section);
520 controller()->RequestedFieldsForSection(section);
530 controller()->GetView()->SetUserInput(section, outputs);
562 base::string16 ValidateCCNumber(DialogSection section,
569 controller()->InputsAreValid(section, outputs);
584 // Returns true if the given |section| contains a field of the given |type|.
585 bool SectionContainsField(DialogSection section, ServerFieldType type) {
587 controller()->RequestedFieldsForSection(section);
596 SuggestionsMenuModel* GetMenuModelForSection(DialogSection section) {
597 ui::MenuModel* model = controller()->MenuModelForSection(section);
733 DialogSection section = static_cast<DialogSection>(i);
735 controller()->RequestedFieldsForSection(section);
738 controller()->InputValidityMessage(section, iter->type, base::string16());
753 DialogSection section = i == 0 ? SECTION_SHIPPING : SECTION_BILLING;
757 controller()->RequestedFieldsForSection(section);
768 ValidityMessages messages = controller()->InputsAreValid(section, outputs);
773 messages = controller()->InputsAreValid(section, outputs);
778 messages = controller()->InputsAreValid(section, outputs);
783 messages = controller()->InputsAreValid(section, outputs);
788 messages = controller()->InputsAreValid(section, outputs);
793 messages = controller()->InputsAreValid(section, outputs);
798 messages = controller()->InputsAreValid(section, outputs);
803 messages = controller()->InputsAreValid(section, outputs);
808 messages = controller()->InputsAreValid(section, outputs);
813 messages = controller()->InputsAreValid(section, outputs);
1067 // Makes sure that the choice of which Autofill profile to use for each section
1117 // For the shipping section, this follows the "use billing" suggestion.
1144 // For the shipping section, this follows the "use billing" suggestion.
1370 // The profile that will be chosen for the shipping section.
1372 // The profile that will be chosen for the billing section.
1425 // The profile that will be chosen for the shipping section.
1427 // The profile that will be chosen for the billing section.
2422 // Assert that dialog's SECTION_CC_BILLING section is in edit mode.
2424 // Shipping section should be in edit mode because of