| 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_VIEWS_PASSWORDS_CREDENTIALS_ITEM_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_ITEM_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_ITEM_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_ITEM_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "chrome/browser/ui/passwords/account_avatar_fetcher.h" | 10 #include "chrome/browser/ui/passwords/account_avatar_fetcher.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 gfx::Size GetPreferredSize() const override; | 55 gfx::Size GetPreferredSize() const override; |
| 56 int GetHeightForWidth(int w) const override; | 56 int GetHeightForWidth(int w) const override; |
| 57 void Layout() override; | 57 void Layout() override; |
| 58 void OnPaint(gfx::Canvas* canvas) override; | 58 void OnPaint(gfx::Canvas* canvas) override; |
| 59 | 59 |
| 60 const autofill::PasswordForm* form_; | 60 const autofill::PasswordForm* form_; |
| 61 | 61 |
| 62 views::ImageView* image_view_; | 62 views::ImageView* image_view_; |
| 63 views::Label* upper_label_; | 63 views::Label* upper_label_; |
| 64 views::Label* lower_label_; | 64 views::Label* lower_label_; |
| 65 views::ImageView* info_icon_; |
| 65 | 66 |
| 66 SkColor hover_color_; | 67 SkColor hover_color_; |
| 67 | 68 |
| 68 base::WeakPtrFactory<CredentialsItemView> weak_ptr_factory_; | 69 base::WeakPtrFactory<CredentialsItemView> weak_ptr_factory_; |
| 69 | 70 |
| 70 DISALLOW_COPY_AND_ASSIGN(CredentialsItemView); | 71 DISALLOW_COPY_AND_ASSIGN(CredentialsItemView); |
| 71 }; | 72 }; |
| 72 | 73 |
| 73 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_ITEM_VIEW_H_ | 74 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_ITEM_VIEW_H_ |
| OLD | NEW |