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

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

Issue 14571003: Don't display drop down arrows in rAc dialog unless there is a suggestion (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 7 years, 7 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 <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
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