Index: ui/app_list/cocoa/app_list_pager_view.h |
diff --git a/ui/app_list/cocoa/app_list_pager_view.h b/ui/app_list/cocoa/app_list_pager_view.h |
index b8968316e687a61000080864aae2f189a02f17f2..0dcc44d9712703bba0c4654f4e80925ce080e46a 100644 |
--- a/ui/app_list/cocoa/app_list_pager_view.h |
+++ b/ui/app_list/cocoa/app_list_pager_view.h |
@@ -34,6 +34,10 @@ |
NSInteger hoveredSegment_; |
} |
+// Returns -1 if |locationInWindow| is not over a segment. Otherwise returns the |
+// segment index and highlights it. |
+- (NSInteger)findAndHighlightSegmentAtLocation:(NSPoint)locationInWindow; |
+ |
@end |
#endif // UI_APP_LIST_COCOA_APP_LIST_PAGER_VIEW_H_ |