| 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..7a572546157c1a47aff27076b6e9fd04dd533cef 100644
|
| --- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
|
| +++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
|
| @@ -41,7 +41,8 @@ class AutofillPopupControllerImpl : public AutofillPopupController {
|
| void Show(const std::vector<base::string16>& names,
|
| const std::vector<base::string16>& subtexts,
|
| const std::vector<base::string16>& icons,
|
| - const std::vector<int>& identifiers);
|
| + const std::vector<int>& identifiers,
|
| + const base::string16& title);
|
|
|
| // Updates the data list values currently shown with the popup.
|
| void UpdateDataListValues(const std::vector<base::string16>& values,
|
| @@ -129,7 +130,8 @@ class AutofillPopupControllerImpl : public AutofillPopupController {
|
| void SetValues(const std::vector<base::string16>& names,
|
| const std::vector<base::string16>& subtexts,
|
| const std::vector<base::string16>& icons,
|
| - const std::vector<int>& identifier);
|
| + const std::vector<int>& identifier,
|
| + const base::string16& title);
|
|
|
| AutofillPopupView* view() { return view_; }
|
|
|
| @@ -168,6 +170,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 +198,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.
|
|
|