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

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

Issue 2478673002: [Mac] Hover/Pressed background for the Omnibox decorations (Closed)
Patch Set: nit Created 4 years, 1 month 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/location_icon_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h b/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h
index 7630f2caffbb97fcf1d5c46fb9b0624671ea23a2..cc4a62f92767e8bde6361bedfe3182050cda5d1f 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h
@@ -29,8 +29,10 @@ class LocationIconDecoration : public ImageDecoration {
// Show the page info panel on click.
bool OnMousePressed(NSRect frame, NSPoint location) override;
bool AcceptsMousePress() override;
+ bool HasHoverAndPressEffect() override;
NSString* GetToolTip() override;
NSPoint GetBubblePointInFrame(NSRect frame) override;
+ NSRect GetBackgroundFrame(NSRect frame) override;
private:
NSRect drag_frame_;

Powered by Google App Engine
This is Rietveld 408576698