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 ASH_LAUNCHER_LAUNCHER_VIEW_H_ | 5 #ifndef ASH_LAUNCHER_LAUNCHER_VIEW_H_ |
6 #define ASH_LAUNCHER_LAUNCHER_VIEW_H_ | 6 #define ASH_LAUNCHER_LAUNCHER_VIEW_H_ |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
237 | 237 |
238 // Index of first visible launcher item. When it it greater than 0, | 238 // Index of first visible launcher item. When it it greater than 0, |
239 // LauncherView is hosted in an overflow bubble. In this mode, it does not | 239 // LauncherView is hosted in an overflow bubble. In this mode, it does not |
240 // show browser, app list and overflow button. | 240 // show browser, app list and overflow button. |
241 int first_visible_index_; | 241 int first_visible_index_; |
242 | 242 |
243 // Last index of a launcher button that is visible | 243 // Last index of a launcher button that is visible |
244 // (does not go into overflow). | 244 // (does not go into overflow). |
245 int last_visible_index_; | 245 int last_visible_index_; |
246 | 246 |
247 // Index of the first end-aligned launcher button. | |
248 int end_align_index_; | |
sky
2012/11/28 05:13:25
Why do we need to have this as a member?
flackr
2012/11/28 18:07:52
I was doing this to get the index corresponding to
| |
249 | |
247 scoped_ptr<views::BoundsAnimator> bounds_animator_; | 250 scoped_ptr<views::BoundsAnimator> bounds_animator_; |
248 | 251 |
249 OverflowButton* overflow_button_; | 252 OverflowButton* overflow_button_; |
250 | 253 |
251 scoped_ptr<OverflowBubble> overflow_bubble_; | 254 scoped_ptr<OverflowBubble> overflow_bubble_; |
252 | 255 |
253 scoped_ptr<LauncherTooltipManager> tooltip_; | 256 scoped_ptr<LauncherTooltipManager> tooltip_; |
254 | 257 |
255 // Pointer device that initiated the current drag operation. If there is no | 258 // Pointer device that initiated the current drag operation. If there is no |
256 // current dragging operation, this is NONE. | 259 // current dragging operation, this is NONE. |
(...skipping 28 matching lines...) Expand all Loading... | |
285 | 288 |
286 ShelfGestureHandler gesture_handler_; | 289 ShelfGestureHandler gesture_handler_; |
287 | 290 |
288 DISALLOW_COPY_AND_ASSIGN(LauncherView); | 291 DISALLOW_COPY_AND_ASSIGN(LauncherView); |
289 }; | 292 }; |
290 | 293 |
291 } // namespace internal | 294 } // namespace internal |
292 } // namespace ash | 295 } // namespace ash |
293 | 296 |
294 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ | 297 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ |
OLD | NEW |