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

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

Issue 21724002: rAc: try really hard not to ellipsize addresses (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android 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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 const SuggestionsMenuModel* SuggestionsMenuModelForSection( 393 const SuggestionsMenuModel* SuggestionsMenuModelForSection(
394 DialogSection section) const; 394 DialogSection section) const;
395 // And the reverse. 395 // And the reverse.
396 DialogSection SectionForSuggestionsMenuModel( 396 DialogSection SectionForSuggestionsMenuModel(
397 const SuggestionsMenuModel& model); 397 const SuggestionsMenuModel& model);
398 398
399 // Suggested text and icons for sections. Suggestion text is used to show an 399 // Suggested text and icons for sections. Suggestion text is used to show an
400 // abidged overview of the currently used suggestion. Extra text is used when 400 // abidged overview of the currently used suggestion. Extra text is used when
401 // part of a section is suggested but part must be manually input (e.g. during 401 // part of a section is suggested but part must be manually input (e.g. during
402 // a CVC challenge or when using Autofill's CC section [never stores CVC]). 402 // a CVC challenge or when using Autofill's CC section [never stores CVC]).
403 string16 SuggestionTextForSection(DialogSection section); 403 bool SuggestionTextForSection(DialogSection section,
404 gfx::Font::FontStyle SuggestionTextStyleForSection(DialogSection section) 404 base::string16* vertically_compact,
405 const; 405 base::string16* horizontally_compact);
406 string16 RequiredActionTextForSection(DialogSection section) const; 406 string16 RequiredActionTextForSection(DialogSection section) const;
407 gfx::Image SuggestionIconForSection(DialogSection section); 407 gfx::Image SuggestionIconForSection(DialogSection section);
408 string16 ExtraSuggestionTextForSection(DialogSection section) const; 408 string16 ExtraSuggestionTextForSection(DialogSection section) const;
409 gfx::Image ExtraSuggestionIconForSection(DialogSection section) const; 409 gfx::Image ExtraSuggestionIconForSection(DialogSection section) const;
410 410
411 // Loads profiles that can suggest data for |type|. |field_contents| is the 411 // Loads profiles that can suggest data for |type|. |field_contents| is the
412 // part the user has already typed. |inputs| is the rest of section. 412 // part the user has already typed. |inputs| is the rest of section.
413 // Identifying info is loaded into the last three outparams as well as 413 // Identifying info is loaded into the last three outparams as well as
414 // |popup_guids_|. 414 // |popup_guids_|.
415 void GetProfileSuggestions( 415 void GetProfileSuggestions(
(...skipping 300 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 716 // 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). 717 // saved. Never populated while incognito (as nothing's actually saved).
718 scoped_ptr<CreditCard> newly_saved_card_; 718 scoped_ptr<CreditCard> newly_saved_card_;
719 719
720 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 720 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
721 }; 721 };
722 722
723 } // namespace autofill 723 } // namespace autofill
724 724
725 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ 725 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698