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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.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_bar_view_mac.h
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
index 5c385498c50913962f50a030512e71ec280c60a2..5bfd53c7cbb806eb91635bc631c0deb1046d94a9 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
@@ -238,8 +238,9 @@ class LocationBarViewMac : public LocationBar,
std::vector<LocationBarDecoration*> GetDecorations();
// Updates |decoration|'s accessibility view's position to match the computed
- // position the decoration will be drawn at.
- void UpdateAccessibilityViewPosition(LocationBarDecoration* decoration);
+ // position the decoration will be drawn at, and update its enabled state
+ // based on whether |decoration| is accepting presses currently.
+ void UpdateAccessibilityView(LocationBarDecoration* decoration);
std::unique_ptr<OmniboxViewMac> omnibox_view_;

Powered by Google App Engine
This is Rietveld 408576698