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

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

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.cc
diff --git a/chrome/browser/ui/autofill/password_generation_popup_view.cc b/chrome/browser/ui/autofill/password_generation_popup_view.cc
index dd250ae9251636d30ce3af90e0f8f14ff5f7871c..e4f1256a4983786579ce065c8de5cc0cbf3b659a 100644
--- a/chrome/browser/ui/autofill/password_generation_popup_view.cc
+++ b/chrome/browser/ui/autofill/password_generation_popup_view.cc
@@ -1,21 +1,25 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
+#include "chrome/browser/ui/autofill/password_generation_popup_view.h"
-#include <cstddef>
+namespace autofill {
-#include "chrome/browser/ui/autofill/password_generation_popup_view.h"
+// static
+SkColor PasswordGenerationPopupView::GetExplanatoryTextBackgroundColor() {
+ return SkColorSetRGB(0xF5, 0xF5, 0xF5);
+}
-// Non-aura is not implemented yet.
-#if !defined(USE_AURA)
+// static
+SkColor PasswordGenerationPopupView::GetExplanatoryTextColor() {
+ return SkColorSetRGB(0x66, 0x66, 0x66);
+}
-namespace autofill {
+// static
+SkColor PasswordGenerationPopupView::GetDividerColor() {
+ return SkColorSetRGB(0xE9, 0xE9, 0xE9);
+}
-PasswordGenerationPopupView* PasswordGenerationPopupView::Create(
- PasswordGenerationPopupController* controller) {
- return NULL;
+// static
+SkColor PasswordGenerationPopupView::GetLinkColor() {
+ return SkColorSetRGB(0x55, 0x59, 0xFE);
}
} // namespace autofill
-
-#endif // #if !defined(USE_AURA)

Powered by Google App Engine
This is Rietveld 408576698