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

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

Issue 2841963002: cocoa: fix a11y labeling & state on search icon (Closed)
Patch Set: Created 3 years, 8 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/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 cc4a62f92767e8bde6361bedfe3182050cda5d1f..e97d0751b57bbade2510bbd4a4bf12d61dc43de3 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/location_icon_decoration.h
@@ -31,6 +31,7 @@ class LocationIconDecoration : public ImageDecoration {
bool AcceptsMousePress() override;
bool HasHoverAndPressEffect() override;
NSString* GetToolTip() override;
+ NSString* GetAccessibilityLabel() override;
NSPoint GetBubblePointInFrame(NSRect frame) override;
NSRect GetBackgroundFrame(NSRect frame) override;

Powered by Google App Engine
This is Rietveld 408576698