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

Unified Diff: chrome/browser/ui/cocoa/passwords/credential_item_button.h

Issue 2703253007: Use (i) icon and the same tooltip for the credit cards dialog and account chooser on Mac. (Closed)
Patch Set: rebase Created 3 years, 10 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/cocoa/passwords/credential_item_button.h
diff --git a/chrome/browser/ui/cocoa/passwords/credential_item_button.h b/chrome/browser/ui/cocoa/passwords/credential_item_button.h
index 648e77aee4afc5cc613a750455f9619ccd6af3c0..79554dd0558a86dce004afbb86fac50f4d78e3ba 100644
--- a/chrome/browser/ui/cocoa/passwords/credential_item_button.h
+++ b/chrome/browser/ui/cocoa/passwords/credential_item_button.h
@@ -22,6 +22,11 @@ struct PasswordForm;
- (id)initWithFrame:(NSRect)frameRect
backgroundColor:(NSColor*)backgroundColor
hoverColor:(NSColor*)hoverColor;
+
+// Adds (i) icon with a tooltip to the view.
+- (NSView*)addInfoIcon:(NSString*)tooltip;
+
+// Returns an image to be used as a default avatar.
+ (NSImage*)defaultAvatar;
@end

Powered by Google App Engine
This is Rietveld 408576698