| 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 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 namespace internal { | 41 namespace internal { |
| 42 | 42 |
| 43 class DragImageView; | 43 class DragImageView; |
| 44 class LauncherButton; | 44 class LauncherButton; |
| 45 class OverflowBubble; | 45 class OverflowBubble; |
| 46 class OverflowButton; | 46 class OverflowButton; |
| 47 class ShelfLayoutManager; | 47 class ShelfLayoutManager; |
| 48 class ShelfTooltipManager; | 48 class ShelfTooltipManager; |
| 49 | 49 |
| 50 extern const int SHELF_ALIGNMENT_UMA_ENUM_VALUE_BOTTOM; |
| 51 extern const int SHELF_ALIGNMENT_UMA_ENUM_VALUE_LEFT; |
| 52 extern const int SHELF_ALIGNMENT_UMA_ENUM_VALUE_RIGHT; |
| 53 extern const int SHELF_ALIGNMENT_UMA_ENUM_VALUE_COUNT; |
| 54 |
| 50 class ASH_EXPORT ShelfView : public views::View, | 55 class ASH_EXPORT ShelfView : public views::View, |
| 51 public LauncherModelObserver, | 56 public LauncherModelObserver, |
| 52 public views::ButtonListener, | 57 public views::ButtonListener, |
| 53 public LauncherButtonHost, | 58 public LauncherButtonHost, |
| 54 public views::ContextMenuController, | 59 public views::ContextMenuController, |
| 55 public views::FocusTraversable, | 60 public views::FocusTraversable, |
| 56 public views::BoundsAnimatorObserver, | 61 public views::BoundsAnimatorObserver, |
| 57 public app_list::ApplicationDragAndDropHost { | 62 public app_list::ApplicationDragAndDropHost { |
| 58 public: | 63 public: |
| 59 ShelfView(LauncherModel* model, | 64 ShelfView(LauncherModel* model, |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 // Holds ShelfLayoutManager. | 422 // Holds ShelfLayoutManager. |
| 418 ShelfLayoutManager* layout_manager_; | 423 ShelfLayoutManager* layout_manager_; |
| 419 | 424 |
| 420 DISALLOW_COPY_AND_ASSIGN(ShelfView); | 425 DISALLOW_COPY_AND_ASSIGN(ShelfView); |
| 421 }; | 426 }; |
| 422 | 427 |
| 423 } // namespace internal | 428 } // namespace internal |
| 424 } // namespace ash | 429 } // namespace ash |
| 425 | 430 |
| 426 #endif // ASH_SHELF_SHELF_VIEW_H_ | 431 #endif // ASH_SHELF_SHELF_VIEW_H_ |
| OLD | NEW |