| OLD | NEW |
| (Empty) | |
| 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. |
| 4 |
| 5 #ifndef UI_APP_LIST_COCOA_APP_LIST_APPS_PAGINATION_MODEL_OBSERVER_H_ |
| 6 #define UI_APP_LIST_COCOA_APP_LIST_APPS_PAGINATION_MODEL_OBSERVER_H_ |
| 7 |
| 8 // Observer protocol for page changes. Compare with |
| 9 // app_list::PaginationModelObserver. |
| 10 @protocol AppsPaginationModelObserver |
| 11 |
| 12 // Invoked when the total number of pages has changed. |
| 13 - (void)totalPagesChanged; |
| 14 |
| 15 // Invoked when the selected page index is changed. |
| 16 - (void)selectedPageChanged:(int)oldSelected |
| 17 newSelected:(int)newSelected; |
| 18 |
| 19 @end |
| 20 |
| 21 #endif // UI_APP_LIST_COCOA_APP_LIST_APPS_PAGINATION_MODEL_OBSERVER_H_ |
| OLD | NEW |