| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include <cstddef> | |
| 6 | |
| 7 #include "chrome/browser/ui/autofill/password_generation_popup_view.h" | 1 #include "chrome/browser/ui/autofill/password_generation_popup_view.h" |
| 8 | 2 |
| 9 // Non-aura is not implemented yet. | |
| 10 #if !defined(USE_AURA) | |
| 11 | |
| 12 namespace autofill { | 3 namespace autofill { |
| 13 | 4 |
| 14 PasswordGenerationPopupView* PasswordGenerationPopupView::Create( | 5 // static |
| 15 PasswordGenerationPopupController* controller) { | 6 SkColor PasswordGenerationPopupView::GetExplanatoryTextBackgroundColor() { |
| 16 return NULL; | 7 return SkColorSetRGB(0xF5, 0xF5, 0xF5); |
| 8 } |
| 9 |
| 10 // static |
| 11 SkColor PasswordGenerationPopupView::GetExplanatoryTextColor() { |
| 12 return SkColorSetRGB(0x66, 0x66, 0x66); |
| 13 } |
| 14 |
| 15 // static |
| 16 SkColor PasswordGenerationPopupView::GetDividerColor() { |
| 17 return SkColorSetRGB(0xE9, 0xE9, 0xE9); |
| 18 } |
| 19 |
| 20 // static |
| 21 SkColor PasswordGenerationPopupView::GetLinkColor() { |
| 22 return SkColorSetRGB(0x55, 0x59, 0xFE); |
| 17 } | 23 } |
| 18 | 24 |
| 19 } // namespace autofill | 25 } // namespace autofill |
| 20 | |
| 21 #endif // #if !defined(USE_AURA) | |
| OLD | NEW |