Chromium Code Reviews| 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..edc9d27d1c934e5229a8cb13a46cef13c594eaad 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)getSegmentAndHighlight:(NSPoint)locationInWindow; |
|
sail
2013/05/17 19:16:13
Maybe name this: findAndHighlightSegmentAtLocation
tapted
2013/05/17 23:25:29
Done.
|
| + |
| @end |
| #endif // UI_APP_LIST_COCOA_APP_LIST_PAGER_VIEW_H_ |