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

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

Issue 12052059: requestAutocomplete - more elaborate suggestion labels (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: isherman review Created 7 years, 11 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 <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual string16 SignInText() const OVERRIDE; 63 virtual string16 SignInText() const OVERRIDE;
64 virtual string16 SaveLocallyText() const OVERRIDE; 64 virtual string16 SaveLocallyText() const OVERRIDE;
65 virtual string16 CancelSignInText() const OVERRIDE; 65 virtual string16 CancelSignInText() const OVERRIDE;
66 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section) 66 virtual const DetailInputs& RequestedFieldsForSection(DialogSection section)
67 const OVERRIDE; 67 const OVERRIDE;
68 virtual ui::ComboboxModel* ComboboxModelForAutofillType( 68 virtual ui::ComboboxModel* ComboboxModelForAutofillType(
69 AutofillFieldType type) OVERRIDE; 69 AutofillFieldType type) OVERRIDE;
70 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE; 70 virtual ui::MenuModel* MenuModelForSection(DialogSection section) OVERRIDE;
71 virtual string16 LabelForSection(DialogSection section) const OVERRIDE; 71 virtual string16 LabelForSection(DialogSection section) const OVERRIDE;
72 virtual string16 SuggestionTextForSection(DialogSection section) OVERRIDE; 72 virtual string16 SuggestionTextForSection(DialogSection section) OVERRIDE;
73 virtual gfx::Image SuggestionIconForSection(DialogSection section) OVERRIDE;
73 virtual void EditClickedForSection(DialogSection section) OVERRIDE; 74 virtual void EditClickedForSection(DialogSection section) OVERRIDE;
74 virtual bool InputIsValid(const DetailInput* input, const string16& value) 75 virtual bool InputIsValid(const DetailInput* input, const string16& value)
75 OVERRIDE; 76 OVERRIDE;
76 virtual void UserEditedOrActivatedInput(const DetailInput* input, 77 virtual void UserEditedOrActivatedInput(const DetailInput* input,
77 DialogSection section, 78 DialogSection section,
78 gfx::NativeView parent_view, 79 gfx::NativeView parent_view,
79 const gfx::Rect& content_bounds, 80 const gfx::Rect& content_bounds,
80 const string16& field_contents, 81 const string16& field_contents,
81 bool was_edit) OVERRIDE; 82 bool was_edit) OVERRIDE;
82 virtual bool HandleKeyPressEventInInput( 83 virtual bool HandleKeyPressEventInInput(
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 226
226 // A NotificationRegistrar for tracking the completion of sign-in. 227 // A NotificationRegistrar for tracking the completion of sign-in.
227 content::NotificationRegistrar registrar_; 228 content::NotificationRegistrar registrar_;
228 229
229 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 230 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
230 }; 231 };
231 232
232 } // namespace autofill 233 } // namespace autofill
233 234
234 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 235 #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