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

Unified Diff: chrome/browser/ui/cocoa/view_id_util.h

Issue 240093006: CoreAnimation: Fix text anti-aliasing in download shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_omnibox_aa
Patch Set: Created 6 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/view_id_util.h
diff --git a/chrome/browser/ui/cocoa/view_id_util.h b/chrome/browser/ui/cocoa/view_id_util.h
index 2b1662488591fffe329bcab63bdf15d20baec9af..8b7d0d17cd7698a3893da0a522b36ff91c791df8 100644
--- a/chrome/browser/ui/cocoa/view_id_util.h
+++ b/chrome/browser/ui/cocoa/view_id_util.h
@@ -46,6 +46,10 @@ NSView* GetView(NSWindow* window, ViewID viewID);
// override this method to return its fixed ViewID.
- (ViewID)viewID;
+// Returns the ancestory view with a specific ViewID, or nil if no ancestor
+// view has that ViewID.
+- (NSView*)ancestorWithViewID:(ViewID)viewID;
+
@end
#endif // CHROME_BROWSER_UI_COCOA_VIEW_ID_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698