| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 virtual bool AutocheckoutIsRunning() const OVERRIDE; | 110 virtual bool AutocheckoutIsRunning() const OVERRIDE; |
| 111 virtual bool HadAutocheckoutError() const OVERRIDE; | 111 virtual bool HadAutocheckoutError() const OVERRIDE; |
| 112 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 112 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
| 113 virtual const std::vector<ui::Range>& LegalDocumentLinks() OVERRIDE; | 113 virtual const std::vector<ui::Range>& LegalDocumentLinks() OVERRIDE; |
| 114 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; | 114 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; |
| 115 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) | 115 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) |
| 116 const OVERRIDE; | 116 const OVERRIDE; |
| 117 virtual ui::ComboboxModel* ComboboxModelForAutofillType( | 117 virtual ui::ComboboxModel* ComboboxModelForAutofillType( |
| 118 AutofillFieldType type) OVERRIDE; | 118 AutofillFieldType type) OVERRIDE; |
| 119 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; | 119 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; |
| 120 #if defined(OS_ANDROID) |
| 121 virtual ui::MenuModel* MenuModelForSectionHack(DialogSection section) |
| 122 OVERRIDE; |
| 123 #endif |
| 120 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; | 124 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; |
| 121 virtual SuggestionState SuggestionStateForSection( | 125 virtual SuggestionState SuggestionStateForSection( |
| 122 DialogSection section) OVERRIDE; | 126 DialogSection section) OVERRIDE; |
| 123 virtual void EditClickedForSection(DialogSection section) OVERRIDE; | 127 virtual void EditClickedForSection(DialogSection section) OVERRIDE; |
| 124 virtual void EditCancelledForSection(DialogSection section) OVERRIDE; | 128 virtual void EditCancelledForSection(DialogSection section) OVERRIDE; |
| 125 virtual gfx::Image IconForField(AutofillFieldType type, | 129 virtual gfx::Image IconForField(AutofillFieldType type, |
| 126 const string16& user_input) const OVERRIDE; | 130 const string16& user_input) const OVERRIDE; |
| 127 virtual bool InputIsValid(AutofillFieldType type, | 131 virtual bool InputIsValid(AutofillFieldType type, |
| 128 const string16& value) const OVERRIDE; | 132 const string16& value) const OVERRIDE; |
| 129 virtual std::vector<AutofillFieldType> InputsAreValid( | 133 virtual std::vector<AutofillFieldType> InputsAreValid( |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 | 550 |
| 547 // Whether the latency to display to the UI was logged to UMA yet. | 551 // Whether the latency to display to the UI was logged to UMA yet. |
| 548 bool was_ui_latency_logged_; | 552 bool was_ui_latency_logged_; |
| 549 | 553 |
| 550 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 554 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
| 551 }; | 555 }; |
| 552 | 556 |
| 553 } // namespace autofill | 557 } // namespace autofill |
| 554 | 558 |
| 555 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 559 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| OLD | NEW |