| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "ash/shelf/shelf_window_watcher_item_delegate.h" | 5 #include "ash/shelf/shelf_window_watcher_item_delegate.h" |
| 6 | 6 |
| 7 #include "ash/shelf/shelf_model.h" | 7 #include "ash/shelf/shelf_model.h" |
| 8 #include "ash/shelf/shelf_util.h" | 8 #include "ash/shelf/shelf_util.h" |
| 9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
| 11 #include "ash/wm/window_state.h" | 11 #include "ash/wm/window_state.h" |
| 12 #include "ui/aura/window.h" | 12 #include "ui/aura/window.h" |
| 13 #include "ui/views/corewm/window_animations.h" | |
| 14 #include "ui/views/widget/widget.h" | 13 #include "ui/views/widget/widget.h" |
| 14 #include "ui/wm/core/window_animations.h" |
| 15 | 15 |
| 16 namespace ash { | 16 namespace ash { |
| 17 namespace internal { | 17 namespace internal { |
| 18 | 18 |
| 19 ShelfWindowWatcherItemDelegate::ShelfWindowWatcherItemDelegate( | 19 ShelfWindowWatcherItemDelegate::ShelfWindowWatcherItemDelegate( |
| 20 aura::Window* window, ShelfModel* model) | 20 aura::Window* window, ShelfModel* model) |
| 21 : window_(window), | 21 : window_(window), |
| 22 model_(model) { | 22 model_(model) { |
| 23 } | 23 } |
| 24 | 24 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 bool ShelfWindowWatcherItemDelegate::IsDraggable() { | 65 bool ShelfWindowWatcherItemDelegate::IsDraggable() { |
| 66 return true; | 66 return true; |
| 67 } | 67 } |
| 68 | 68 |
| 69 bool ShelfWindowWatcherItemDelegate::ShouldShowTooltip() { | 69 bool ShelfWindowWatcherItemDelegate::ShouldShowTooltip() { |
| 70 return true; | 70 return true; |
| 71 } | 71 } |
| 72 | 72 |
| 73 } // namespace internal | 73 } // namespace internal |
| 74 } // namespace ash | 74 } // namespace ash |
| OLD | NEW |