| 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_SHELF_SHELF_VIEW_H_ | 5 #ifndef ASH_SHELF_SHELF_VIEW_H_ |
| 6 #define ASH_SHELF_SHELF_VIEW_H_ | 6 #define ASH_SHELF_SHELF_VIEW_H_ |
| 7 | 7 |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 } | 27 } |
| 28 | 28 |
| 29 namespace ash { | 29 namespace ash { |
| 30 | 30 |
| 31 namespace test { | 31 namespace test { |
| 32 class ShelfViewTestAPI; | 32 class ShelfViewTestAPI; |
| 33 } | 33 } |
| 34 | 34 |
| 35 class LauncherDelegate; | 35 class LauncherDelegate; |
| 36 struct LauncherItem; | 36 struct LauncherItem; |
| 37 class LauncherItemDelegateManager; | |
| 38 class ShelfIconObserver; | 37 class ShelfIconObserver; |
| 38 class ShelfItemDelegateManager; |
| 39 class ShelfModel; | 39 class ShelfModel; |
| 40 | 40 |
| 41 namespace internal { | 41 namespace internal { |
| 42 | 42 |
| 43 class DragImageView; | 43 class DragImageView; |
| 44 class OverflowBubble; | 44 class OverflowBubble; |
| 45 class OverflowButton; | 45 class OverflowButton; |
| 46 class ShelfButton; | 46 class ShelfButton; |
| 47 class ShelfLayoutManager; | 47 class ShelfLayoutManager; |
| 48 class ShelfTooltipManager; | 48 class ShelfTooltipManager; |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 | 424 |
| 425 // The view which gets replaced by our drag icon proxy. | 425 // The view which gets replaced by our drag icon proxy. |
| 426 views::View* drag_replaced_view_; | 426 views::View* drag_replaced_view_; |
| 427 | 427 |
| 428 // True when the icon was dragged off the shelf. | 428 // True when the icon was dragged off the shelf. |
| 429 bool dragged_off_shelf_; | 429 bool dragged_off_shelf_; |
| 430 | 430 |
| 431 // The rip off view when a snap back operation is underway. | 431 // The rip off view when a snap back operation is underway. |
| 432 views::View* snap_back_from_rip_off_view_; | 432 views::View* snap_back_from_rip_off_view_; |
| 433 | 433 |
| 434 // Holds LauncherItemDelegateManager. | 434 // Holds ShelfItemDelegateManager. |
| 435 LauncherItemDelegateManager* item_manager_; | 435 ShelfItemDelegateManager* item_manager_; |
| 436 | 436 |
| 437 // Holds ShelfLayoutManager. | 437 // Holds ShelfLayoutManager. |
| 438 ShelfLayoutManager* layout_manager_; | 438 ShelfLayoutManager* layout_manager_; |
| 439 | 439 |
| 440 // True when this ShelfView is used for Overflow Bubble. | 440 // True when this ShelfView is used for Overflow Bubble. |
| 441 bool overflow_mode_; | 441 bool overflow_mode_; |
| 442 | 442 |
| 443 DISALLOW_COPY_AND_ASSIGN(ShelfView); | 443 DISALLOW_COPY_AND_ASSIGN(ShelfView); |
| 444 }; | 444 }; |
| 445 | 445 |
| 446 } // namespace internal | 446 } // namespace internal |
| 447 } // namespace ash | 447 } // namespace ash |
| 448 | 448 |
| 449 #endif // ASH_SHELF_SHELF_VIEW_H_ | 449 #endif // ASH_SHELF_SHELF_VIEW_H_ |
| OLD | NEW |