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

Unified Diff: ui/app_list/cocoa/app_list_pager_view.h

Issue 14999013: Allow pages on the OSX app launcher to be turned while dragging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: respond to comments Created 7 years, 7 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
« no previous file with comments | « no previous file | ui/app_list/cocoa/app_list_pager_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « no previous file | ui/app_list/cocoa/app_list_pager_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698