| Index: ui/app_list/cocoa/apps_pagination_model_observer.h
|
| diff --git a/ui/app_list/cocoa/apps_pagination_model_observer.h b/ui/app_list/cocoa/apps_pagination_model_observer.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e90fb6028052212db0a1e28e5d8e29957b8b8433
|
| --- /dev/null
|
| +++ b/ui/app_list/cocoa/apps_pagination_model_observer.h
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_APP_LIST_COCOA_APP_LIST_APPS_PAGINATION_MODEL_OBSERVER_H_
|
| +#define UI_APP_LIST_COCOA_APP_LIST_APPS_PAGINATION_MODEL_OBSERVER_H_
|
| +
|
| +// Observer protocol for page changes. Compare with
|
| +// app_list::PaginationModelObserver.
|
| +@protocol AppsPaginationModelObserver
|
| +
|
| +// Invoked when the total number of pages has changed.
|
| +- (void)totalPagesChanged;
|
| +
|
| +// Invoked when the selected page index is changed.
|
| +- (void)selectedPageChanged:(int)oldSelected
|
| + newSelected:(int)newSelected;
|
| +
|
| +@end
|
| +
|
| +#endif // UI_APP_LIST_COCOA_APP_LIST_APPS_PAGINATION_MODEL_OBSERVER_H_
|
|
|