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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller_impl.h

Issue 492043003: Fill on account select in the password manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unit tests Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/autofill/autofill_popup_controller_impl.h
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_impl.h b/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
index a3fb759753b5f0d9c274f29c57fb37e4b34023e7..9d118a482245f03e8fecf7098cd9e1685e075c8e 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
@@ -168,6 +168,10 @@ class AutofillPopupControllerImpl : public AutofillPopupController {
void UpdatePopupBounds();
#endif
+ // Returns the line number of the first selectable line, accounting for a
+ // title.
+ int GetFirstSelectableLine();
+
AutofillPopupView* view_; // Weak reference.
base::WeakPtr<AutofillPopupDelegate> delegate_;
@@ -192,6 +196,7 @@ class AutofillPopupControllerImpl : public AutofillPopupController {
gfx::FontList name_font_list_;
gfx::FontList subtext_font_list_;
gfx::FontList warning_font_list_;
+ gfx::FontList title_font_list_;
#endif
// The line that is currently selected by the user.
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/ui/autofill/autofill_popup_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698