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

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

Issue 267183002: Password manager: Implement password generation UI for Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More implementation Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698