| 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 <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "ash/shelf/shelf_button_host.h" | 12 #include "ash/shelf/shelf_button_host.h" |
| 13 #include "ash/shelf/shelf_button_pressed_metric_tracker.h" | 13 #include "ash/shelf/shelf_button_pressed_metric_tracker.h" |
| 14 #include "ash/shelf/shelf_item_delegate.h" | 14 #include "ash/shelf/shelf_item_delegate.h" |
| 15 #include "ash/shelf/shelf_model_observer.h" | 15 #include "ash/shelf/shelf_model_observer.h" |
| 16 #include "ash/wm/gestures/shelf_gesture_handler.h" | 16 #include "ash/wm/gestures/shelf_gesture_handler.h" |
| 17 #include "base/macros.h" |
| 17 #include "base/observer_list.h" | 18 #include "base/observer_list.h" |
| 18 #include "ui/app_list/views/app_list_drag_and_drop_host.h" | 19 #include "ui/app_list/views/app_list_drag_and_drop_host.h" |
| 19 #include "ui/views/animation/bounds_animator_observer.h" | 20 #include "ui/views/animation/bounds_animator_observer.h" |
| 20 #include "ui/views/context_menu_controller.h" | 21 #include "ui/views/context_menu_controller.h" |
| 21 #include "ui/views/controls/button/button.h" | 22 #include "ui/views/controls/button/button.h" |
| 22 #include "ui/views/focus/focus_manager.h" | 23 #include "ui/views/focus/focus_manager.h" |
| 23 #include "ui/views/view.h" | 24 #include "ui/views/view.h" |
| 24 #include "ui/views/view_model.h" | 25 #include "ui/views/view_model.h" |
| 25 | 26 |
| 26 namespace ui { | 27 namespace ui { |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 | 451 |
| 451 // Tracks UMA metrics based on shelf button press actions. | 452 // Tracks UMA metrics based on shelf button press actions. |
| 452 ShelfButtonPressedMetricTracker shelf_button_pressed_metric_tracker_; | 453 ShelfButtonPressedMetricTracker shelf_button_pressed_metric_tracker_; |
| 453 | 454 |
| 454 DISALLOW_COPY_AND_ASSIGN(ShelfView); | 455 DISALLOW_COPY_AND_ASSIGN(ShelfView); |
| 455 }; | 456 }; |
| 456 | 457 |
| 457 } // namespace ash | 458 } // namespace ash |
| 458 | 459 |
| 459 #endif // ASH_SHELF_SHELF_VIEW_H_ | 460 #endif // ASH_SHELF_SHELF_VIEW_H_ |
| OLD | NEW |