| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 virtual gfx::Size GetPreferredSize() OVERRIDE; | 175 virtual gfx::Size GetPreferredSize() OVERRIDE; |
| 176 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; | 176 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; |
| 177 virtual FocusTraversable* GetPaneFocusTraversable() OVERRIDE; | 177 virtual FocusTraversable* GetPaneFocusTraversable() OVERRIDE; |
| 178 | 178 |
| 179 // Overridden from LauncherModelObserver: | 179 // Overridden from LauncherModelObserver: |
| 180 virtual void LauncherItemAdded(int model_index) OVERRIDE; | 180 virtual void LauncherItemAdded(int model_index) OVERRIDE; |
| 181 virtual void LauncherItemRemoved(int model_index, LauncherID id) OVERRIDE; | 181 virtual void LauncherItemRemoved(int model_index, LauncherID id) OVERRIDE; |
| 182 virtual void LauncherItemChanged(int model_index, | 182 virtual void LauncherItemChanged(int model_index, |
| 183 const ash::LauncherItem& old_item) OVERRIDE; | 183 const ash::LauncherItem& old_item) OVERRIDE; |
| 184 virtual void LauncherItemMoved(int start_index, int target_index) OVERRIDE; | 184 virtual void LauncherItemMoved(int start_index, int target_index) OVERRIDE; |
| 185 virtual void LauncherStatusChanged() OVERRIDE; |
| 185 | 186 |
| 186 // Overridden from LauncherButtonHost: | 187 // Overridden from LauncherButtonHost: |
| 187 virtual void PointerPressedOnButton( | 188 virtual void PointerPressedOnButton( |
| 188 views::View* view, | 189 views::View* view, |
| 189 Pointer pointer, | 190 Pointer pointer, |
| 190 const ui::LocatedEvent& event) OVERRIDE; | 191 const ui::LocatedEvent& event) OVERRIDE; |
| 191 virtual void PointerDraggedOnButton( | 192 virtual void PointerDraggedOnButton( |
| 192 views::View* view, | 193 views::View* view, |
| 193 Pointer pointer, | 194 Pointer pointer, |
| 194 const ui::LocatedEvent& event) OVERRIDE; | 195 const ui::LocatedEvent& event) OVERRIDE; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 // alignment). | 273 // alignment). |
| 273 int leading_inset_; | 274 int leading_inset_; |
| 274 | 275 |
| 275 DISALLOW_COPY_AND_ASSIGN(LauncherView); | 276 DISALLOW_COPY_AND_ASSIGN(LauncherView); |
| 276 }; | 277 }; |
| 277 | 278 |
| 278 } // namespace internal | 279 } // namespace internal |
| 279 } // namespace ash | 280 } // namespace ash |
| 280 | 281 |
| 281 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ | 282 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ |
| OLD | NEW |