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

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

Issue 1802643002: Adjust locationbar text vertical position under Material Design. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code cleanup. Created 4 years, 9 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/location_bar/autocomplete_text_field_cell.h
diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h
index f8c4320d06d3c023f7dabfa5c12b12613b014e01..ad08058f737004df3f81e74eb885e95c04f3879a 100644
--- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h
+++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h
@@ -33,9 +33,13 @@ class LocationBarDecoration;
// Retains the NSEvent that caused the controlView to become firstResponder.
base::scoped_nsobject<NSEvent> focusEvent_;
+
+ // The coordinate system line width that draws a single pixel line.
+ CGFloat singlePixelLineWidth_;
}
@property(assign, nonatomic) BOOL isPopupMode;
+@property(assign, nonatomic) CGFloat singlePixelLineWidth;
// Line height used for text in this cell.
- (CGFloat)lineHeight;

Powered by Google App Engine
This is Rietveld 408576698