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

Unified Diff: chrome/browser/cocoa/autocomplete_text_field_cell.h

Issue 199072: Add SSL icons on Mac OS X (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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/cocoa/autocomplete_text_field_cell.h
===================================================================
--- chrome/browser/cocoa/autocomplete_text_field_cell.h (revision 25790)
+++ chrome/browser/cocoa/autocomplete_text_field_cell.h (working copy)
@@ -37,6 +37,9 @@
// YES if the info cell has been changed in a way which would result
// in the cell needing to be laid out again.
BOOL fieldEditorNeedsReset_;
+
+ // Icon that represents the state of the SSL connection
+ scoped_nsobject<NSImage> hintIcon_;
}
@property BOOL fieldEditorNeedsReset;
@@ -56,6 +59,8 @@
- (void)setSearchHintString:(NSString*)aString;
- (void)clearKeywordAndHint;
+- (void)setHintIcon:(NSImage*)icon;
+
// Return the portion of the cell to show the text cursor over.
- (NSRect)textCursorFrameForFrame:(NSRect)cellFrame;
@@ -69,5 +74,6 @@
@property(readonly) NSAttributedString* keywordString;
@property(readonly) NSAttributedString* hintString;
+@property(readonly) NSImage* hintIcon;
@end

Powered by Google App Engine
This is Rietveld 408576698