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

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: tests! 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
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_
« no previous file with comments | « no previous file | ui/app_list/cocoa/app_list_pager_view.mm » ('j') | ui/app_list/cocoa/app_list_view_controller.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698