Chromium Code Reviews| Index: chrome/browser/autofill/autofill_popup_view.h |
| diff --git a/chrome/browser/autofill/autofill_popup_view.h b/chrome/browser/autofill/autofill_popup_view.h |
| index 93793a03e89359f0085ff5be4c93782e98ce315c..4291bc7c5a5c5eeeaee6f184972d42a1ba328c58 100644 |
| --- a/chrome/browser/autofill/autofill_popup_view.h |
| +++ b/chrome/browser/autofill/autofill_popup_view.h |
| @@ -11,6 +11,7 @@ |
| #include "base/string16.h" |
| #include "content/public/browser/notification_registrar.h" |
| #include "content/public/browser/notification_observer.h" |
| +#include "ui/gfx/font.h" |
| #include "ui/gfx/rect.h" |
| namespace content { |
| @@ -70,6 +71,9 @@ class AutofillPopupView : public content::NotificationObserver { |
| return autofill_unique_ids_; |
| } |
| + const gfx::Font label_font() const { return label_font_; } |
|
tfarina
2012/09/25 16:00:58
return this by const-ref
csharp
2012/09/25 20:08:00
Done.
|
| + const gfx::Font value_font() const { return value_font_; } |
| + |
| int selected_line() const { return selected_line_; } |
| // Change which line is currently selected by the user. |
| @@ -123,6 +127,10 @@ class AutofillPopupView : public content::NotificationObserver { |
| std::vector<string16> autofill_icons_; |
| std::vector<int> autofill_unique_ids_; |
| + // The fonts for the popup text. |
| + gfx::Font value_font_; |
| + gfx::Font label_font_; |
| + |
| // The line that is currently selected by the user. |
| // |kNoSelection| indicates that no line is currently selected. |
| int selected_line_; |