Index: chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h |
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h b/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h |
index f0df6785dcefc09b511c94cbc03aaa8112065370..beaae57e1c326106c35f91478cc3519c149b830e 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h |
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h |
@@ -153,6 +153,11 @@ class LocationBarDecoration { |
// different from its frame in the Cocoa sense). |
void UpdateAccessibilityView(NSRect apparent_frame); |
+ // Computes the real bounds the focus ring should be drawn around for this |
+ // decoration. Some decorations include visual spacing or separators in their |
+ // bounds, but these should not be encompassed by the focus ring. |
+ virtual NSRect GetRealFocusRingBounds(NSRect bounds) const; |
+ |
DecorationMouseState state() const { return state_; } |
bool active() const { return active_; } |