| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "ash/launcher/launcher_button_host.h" | 11 #include "ash/launcher/launcher_button_host.h" |
| 12 #include "ash/launcher/launcher_model_observer.h" | 12 #include "ash/launcher/launcher_model_observer.h" |
| 13 #include "ui/views/controls/button/button.h" | 13 #include "ui/views/controls/button/button.h" |
| 14 #include "ui/views/widget/widget_delegate.h" | 14 #include "ui/views/widget/widget_delegate.h" |
| 15 | 15 |
| 16 namespace views { | 16 namespace views { |
| 17 class BoundsAnimator; | 17 class BoundsAnimator; |
| 18 class ImageButton; | 18 class ImageButton; |
| 19 class MenuRunner; | 19 class MenuRunner; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace aura_shell { | 22 namespace ash { |
| 23 | 23 |
| 24 struct LauncherItem; | 24 struct LauncherItem; |
| 25 class LauncherModel; | 25 class LauncherModel; |
| 26 class ViewModel; | 26 class ViewModel; |
| 27 | 27 |
| 28 namespace internal { | 28 namespace internal { |
| 29 | 29 |
| 30 class LauncherView : public views::WidgetDelegateView, | 30 class LauncherView : public views::WidgetDelegateView, |
| 31 public LauncherModelObserver, | 31 public LauncherModelObserver, |
| 32 public views::ButtonListener, | 32 public views::ButtonListener, |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 138 |
| 139 // Index |drag_view_| was initially at. | 139 // Index |drag_view_| was initially at. |
| 140 int start_drag_index_; | 140 int start_drag_index_; |
| 141 | 141 |
| 142 scoped_ptr<views::MenuRunner> overflow_menu_runner_; | 142 scoped_ptr<views::MenuRunner> overflow_menu_runner_; |
| 143 | 143 |
| 144 DISALLOW_COPY_AND_ASSIGN(LauncherView); | 144 DISALLOW_COPY_AND_ASSIGN(LauncherView); |
| 145 }; | 145 }; |
| 146 | 146 |
| 147 } // namespace internal | 147 } // namespace internal |
| 148 } // namespace aura_shell | 148 } // namespace ash |
| 149 | 149 |
| 150 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ | 150 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ |
| OLD | NEW |