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

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: sync'd 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
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 const SuggestionsMenuModel* SuggestionsMenuModelForSection( 392 const SuggestionsMenuModel* SuggestionsMenuModelForSection(
393 DialogSection section) const; 393 DialogSection section) const;
394 // And the reverse. 394 // And the reverse.
395 DialogSection SectionForSuggestionsMenuModel( 395 DialogSection SectionForSuggestionsMenuModel(
396 const SuggestionsMenuModel& model); 396 const SuggestionsMenuModel& model);
397 397
398 // Suggested text and icons for sections. Suggestion text is used to show an 398 // Suggested text and icons for sections. Suggestion text is used to show an
399 // abidged overview of the currently used suggestion. Extra text is used when 399 // abidged overview of the currently used suggestion. Extra text is used when
400 // part of a section is suggested but part must be manually input (e.g. during 400 // part of a section is suggested but part must be manually input (e.g. during
401 // a CVC challenge or when using Autofill's CC section [never stores CVC]). 401 // a CVC challenge or when using Autofill's CC section [never stores CVC]).
402 string16 SuggestionTextForSection(DialogSection section); 402 bool SuggestionTextForSection(DialogSection section,
403 gfx::Font::FontStyle SuggestionTextStyleForSection(DialogSection section) 403 base::string16* vertically_compact,
404 const; 404 base::string16* horizontally_compact);
405 string16 RequiredActionTextForSection(DialogSection section) const; 405 string16 RequiredActionTextForSection(DialogSection section) const;
406 gfx::Image SuggestionIconForSection(DialogSection section); 406 gfx::Image SuggestionIconForSection(DialogSection section);
407 string16 ExtraSuggestionTextForSection(DialogSection section) const; 407 string16 ExtraSuggestionTextForSection(DialogSection section) const;
408 gfx::Image ExtraSuggestionIconForSection(DialogSection section) const; 408 gfx::Image ExtraSuggestionIconForSection(DialogSection section) const;
409 409
410 // Loads profiles that can suggest data for |type|. |field_contents| is the 410 // Loads profiles that can suggest data for |type|. |field_contents| is the
411 // part the user has already typed. |inputs| is the rest of section. 411 // part the user has already typed. |inputs| is the rest of section.
412 // Identifying info is loaded into the last three outparams as well as 412 // Identifying info is loaded into the last three outparams as well as
413 // |popup_guids_|. 413 // |popup_guids_|.
414 void GetProfileSuggestions( 414 void GetProfileSuggestions(
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 // 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
713 // saved. Never populated while incognito (as nothing's actually saved). 713 // saved. Never populated while incognito (as nothing's actually saved).
714 scoped_ptr<CreditCard> newly_saved_card_; 714 scoped_ptr<CreditCard> newly_saved_card_;
715 715
716 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); 716 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl);
717 }; 717 };
718 718
719 } // namespace autofill 719 } // namespace autofill
720 720
721 #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 | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698