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

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

Issue 2839893003: cocoa: allow omnibox decorations to become key (Closed)
Patch Set: fix nits 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_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 f79f8dc09ac1f9461d650afc2fc8b377156025cc..f0df6785dcefc09b511c94cbc03aaa8112065370 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h
@@ -148,8 +148,10 @@ class LocationBarDecoration {
void OnAccessibilityViewAction();
// Called when the omnibox decoration changes state to update the
- // accessibility view's attributes to match.
- void UpdateAccessibilityView();
+ // accessibility view's attributes to match. The |apparent_frame| rectangle is
+ // the frame the accessibility view should appear at visually (which may be
+ // different from its frame in the Cocoa sense).
+ void UpdateAccessibilityView(NSRect apparent_frame);
DecorationMouseState state() const { return state_; }

Powered by Google App Engine
This is Rietveld 408576698