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

Side by Side Diff: chrome/browser/ui/views/passwords/credentials_item_view.h

Issue 2532313003: Show an info icon with a tooltip for PSL-matches in the account chooser on Views. (Closed)
Patch Set: delete the icon Created 4 years 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 unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/passwords/manage_passwords_view_utils.h ('k') | chrome/browser/ui/views/passwords/credentials_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698