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

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

Issue 2972593002: Mac: Fix up location bar decoration bubble anchoring. (Closed)
Patch Set: Created 3 years, 5 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 dc0758ea121202ceb72d38c24ed26417fd174f17..5529d37110ec4c54061efd2aacd1d7335ef90b0b 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
@@ -75,12 +75,9 @@ class LocationBarDecoration;
- (NSRect)frameForDecoration:(const LocationBarDecoration*)aDecoration
inFrame:(NSRect)cellFrame;
-// Returns the frame representing the background of |decoration|. Also sets
-// |isLeftDecoration| according to whether the decoration appears on the left or
-// the right side of the text field.
-- (NSRect)backgroundFrameForDecoration:(LocationBarDecoration*)decoration
- inFrame:(NSRect)cellFrame
- isLeftDecoration:(BOOL*)isLeftDecoration;
+// Returns whether |decoration| appears on the left or the right side of the
+// text field.
+- (BOOL)isLeftDecoration:(LocationBarDecoration*)decoration;
// Returns true if it's okay to drop dragged data into the view at the
// given location.

Powered by Google App Engine
This is Rietveld 408576698