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

Side by Side Diff: ui/app_list/pagination_model_observer.h

Issue 10388032: Move app list from ash to ui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: fix nits in #3 Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_APP_LIST_PAGINATION_MODEL_OBSERVER_H_ 5 #ifndef UI_APP_LIST_PAGINATION_MODEL_OBSERVER_H_
6 #define ASH_APP_LIST_PAGINATION_MODEL_OBSERVER_H_ 6 #define UI_APP_LIST_PAGINATION_MODEL_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/ash_export.h" 9 #include "ui/app_list/app_list_export.h"
10 10
11 namespace ash { 11 namespace app_list {
12 12
13 class ASH_EXPORT PaginationModelObserver { 13 class APP_LIST_EXPORT PaginationModelObserver {
14 public: 14 public:
15 // Invoked when the total number of page is changed. 15 // Invoked when the total number of page is changed.
16 virtual void TotalPagesChanged() = 0; 16 virtual void TotalPagesChanged() = 0;
17 17
18 // Invoked when the selected page index is changed. 18 // Invoked when the selected page index is changed.
19 virtual void SelectedPageChanged(int old_selected, int new_selected) = 0; 19 virtual void SelectedPageChanged(int old_selected, int new_selected) = 0;
20 20
21 protected: 21 protected:
22 virtual ~PaginationModelObserver() {} 22 virtual ~PaginationModelObserver() {}
23 }; 23 };
24 24
25 } // namespace ash 25 } // namespace app_list
26 26
27 #endif // ASH_APP_LIST_PAGINATION_MODEL_OBSERVER_H_ 27 #endif // UI_APP_LIST_PAGINATION_MODEL_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698