platformKeys: Add per-extension sign permissions.
[chromium-blink-merge.git] / ui / app_list / cocoa / apps_pagination_model_observer.h
bloba2f463f9dabde6cc9f4a330d8831a8b43f380247
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_APP_LIST_COCOA_APPS_PAGINATION_MODEL_OBSERVER_H_
6 #define UI_APP_LIST_COCOA_APPS_PAGINATION_MODEL_OBSERVER_H_
8 // Observer protocol for page changes. Compare with
9 // app_list::PaginationModelObserver.
10 @protocol AppsPaginationModelObserver
12 // Invoked when the total number of pages has changed.
13 - (void)totalPagesChanged;
15 // Invoked when the selected page index is changed.
16 - (void)selectedPageChanged:(int)newSelected;
18 // Invoked when the portion of pages that are visible have changed.
19 - (void)pageVisibilityChanged;
21 // Return a pager segment at |locationInWindow| or -1 if there is none.
22 - (NSInteger)pagerSegmentAtLocation:(NSPoint)locationInWindow;
24 @end
26 #endif // UI_APP_LIST_COCOA_APPS_PAGINATION_MODEL_OBSERVER_H_