Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h

Issue 21205007: [rAc Android] Remove the old dialog implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 virtual int GetDialogButtons() const OVERRIDE; 130 virtual int GetDialogButtons() const OVERRIDE;
131 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; 131 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
132 virtual DialogOverlayState GetDialogOverlay() const OVERRIDE; 132 virtual DialogOverlayState GetDialogOverlay() const OVERRIDE;
133 virtual const std::vector<ui::Range>& LegalDocumentLinks() OVERRIDE; 133 virtual const std::vector<ui::Range>& LegalDocumentLinks() OVERRIDE;
134 virtual bool SectionIsActive(DialogSection section) const OVERRIDE; 134 virtual bool SectionIsActive(DialogSection section) const OVERRIDE;
135 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) 135 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section)
136 const OVERRIDE; 136 const OVERRIDE;
137 virtual ui::ComboboxModel* ComboboxModelForAutofillType( 137 virtual ui::ComboboxModel* ComboboxModelForAutofillType(
138 AutofillFieldType type) OVERRIDE; 138 AutofillFieldType type) OVERRIDE;
139 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; 139 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE;
140 #if defined(OS_ANDROID)
141 virtual ui::MenuModel* MenuModelForSectionHack(DialogSection section)
142 OVERRIDE;
143 #endif
144 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; 140 virtual string16 LabelForSection(DialogSection section) const OVERRIDE;
145 virtual SuggestionState SuggestionStateForSection( 141 virtual SuggestionState SuggestionStateForSection(
146 DialogSection section) OVERRIDE; 142 DialogSection section) OVERRIDE;
147 virtual void EditClickedForSection(DialogSection section) OVERRIDE; 143 virtual void EditClickedForSection(DialogSection section) OVERRIDE;
148 virtual void EditCancelledForSection(DialogSection section) OVERRIDE; 144 virtual void EditCancelledForSection(DialogSection section) OVERRIDE;
149 virtual gfx::Image IconForField(AutofillFieldType type, 145 virtual gfx::Image IconForField(AutofillFieldType type,
150 const string16& user_input) const OVERRIDE; 146 const string16& user_input) const OVERRIDE;
151 virtual string16 InputValidityMessage(DialogSection section, 147 virtual string16 InputValidityMessage(DialogSection section,
152 AutofillFieldType type, 148 AutofillFieldType type,
153 const string16& value) OVERRIDE; 149 const string16& value) OVERRIDE;
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 // show a bubble as the dialog closes to confirm a user's new card info was 712 // show a bubble as the dialog closes to confirm a user's new card info was
717 // saved. Never populated while incognito (as nothing's actually saved). 713 // saved. Never populated while incognito (as nothing's actually saved).
718 scoped_ptr<CreditCard> newly_saved_card_; 714 scoped_ptr<CreditCard> newly_saved_card_;
719 715
720 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 716 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
721 }; 717 };
722 718
723 } // namespace autofill 719 } // namespace autofill
724 720
725 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 721 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller.h ('k') | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698