Chromium Code Reviews| Index: chrome/browser/ui/autofill/password_generation_popup_view.h |
| diff --git a/chrome/browser/ui/autofill/password_generation_popup_view.h b/chrome/browser/ui/autofill/password_generation_popup_view.h |
| index eb4ee00efc905e76835f266008d28f863630c671..798ec584b24e48426dee5976fd510e0ea84bd9b3 100644 |
| --- a/chrome/browser/ui/autofill/password_generation_popup_view.h |
| +++ b/chrome/browser/ui/autofill/password_generation_popup_view.h |
| @@ -5,6 +5,8 @@ |
| #ifndef CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_H_ |
| #define CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_H_ |
| +#include "third_party/skia/include/core/SkColor.h" |
| + |
| namespace autofill { |
| class PasswordGenerationPopupController; |
| @@ -32,6 +34,11 @@ class PasswordGenerationPopupView { |
| // when Hide() is called. |
| static PasswordGenerationPopupView* Create( |
| PasswordGenerationPopupController* controller); |
| + |
| + static SkColor GetExplanatoryTextBackgroundColor(); |
| + static SkColor GetExplanatoryTextColor(); |
| + static SkColor GetDividerColor(); |
|
Evan Stade
2014/05/08 17:50:29
why are these functions instead of just constants?
Patrick Dubroy
2014/05/08 20:37:30
Because they require static initializers, and AFAI
Evan Stade
2014/05/08 20:52:41
SkColor is POD, so static initializers are OK.
Patrick Dubroy
2014/05/09 12:44:27
Done.
|
| + static SkColor GetLinkColor(); |
| }; |
| } // namespace autofill |