| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_H_ |
| 7 | 7 |
| 8 #include "third_party/skia/include/core/SkColor.h" | 8 #include "third_party/skia/include/core/SkColor.h" |
| 9 | 9 |
| 10 namespace gfx { | 10 namespace gfx { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 // Called when the password selection state has changed. | 37 // Called when the password selection state has changed. |
| 38 virtual void PasswordSelectionUpdated() = 0; | 38 virtual void PasswordSelectionUpdated() = 0; |
| 39 | 39 |
| 40 virtual bool IsPointInPasswordBounds(const gfx::Point& point) = 0; | 40 virtual bool IsPointInPasswordBounds(const gfx::Point& point) = 0; |
| 41 | 41 |
| 42 // Note that PasswordGenerationPopupView owns itself, and will only be deleted | 42 // Note that PasswordGenerationPopupView owns itself, and will only be deleted |
| 43 // when Hide() is called. | 43 // when Hide() is called. |
| 44 static PasswordGenerationPopupView* Create( | 44 static PasswordGenerationPopupView* Create( |
| 45 PasswordGenerationPopupController* controller); | 45 PasswordGenerationPopupController* controller); |
| 46 | 46 |
| 47 static const SkColor kPasswordTextColor; |
| 47 static const SkColor kExplanatoryTextBackgroundColor; | 48 static const SkColor kExplanatoryTextBackgroundColor; |
| 48 static const SkColor kExplanatoryTextColor; | 49 static const SkColor kExplanatoryTextColor; |
| 49 static const SkColor kDividerColor; | 50 static const SkColor kDividerColor; |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 } // namespace autofill | 53 } // namespace autofill |
| 53 | 54 |
| 54 #endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_H_ | 55 #endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_H_ |
| OLD | NEW |