| OLD | NEW |
| 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 UI_APP_LIST_PAGINATION_MODEL_H_ | 5 #ifndef UI_APP_LIST_PAGINATION_MODEL_H_ |
| 6 #define UI_APP_LIST_PAGINATION_MODEL_H_ | 6 #define UI_APP_LIST_PAGINATION_MODEL_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 // last target page is remembered here. | 135 // last target page is remembered here. |
| 136 int pending_selected_page_; | 136 int pending_selected_page_; |
| 137 | 137 |
| 138 scoped_ptr<gfx::SlideAnimation> transition_animation_; | 138 scoped_ptr<gfx::SlideAnimation> transition_animation_; |
| 139 int transition_duration_ms_; // Transition duration in millisecond. | 139 int transition_duration_ms_; // Transition duration in millisecond. |
| 140 int overscroll_transition_duration_ms_; | 140 int overscroll_transition_duration_ms_; |
| 141 | 141 |
| 142 int last_overscroll_target_page_; | 142 int last_overscroll_target_page_; |
| 143 base::TimeTicks last_overscroll_animation_start_time_; | 143 base::TimeTicks last_overscroll_animation_start_time_; |
| 144 | 144 |
| 145 ObserverList<PaginationModelObserver> observers_; | 145 base::ObserverList<PaginationModelObserver> observers_; |
| 146 | 146 |
| 147 DISALLOW_COPY_AND_ASSIGN(PaginationModel); | 147 DISALLOW_COPY_AND_ASSIGN(PaginationModel); |
| 148 }; | 148 }; |
| 149 | 149 |
| 150 } // namespace app_list | 150 } // namespace app_list |
| 151 | 151 |
| 152 #endif // UI_APP_LIST_PAGINATION_MODEL_H_ | 152 #endif // UI_APP_LIST_PAGINATION_MODEL_H_ |
| OLD | NEW |