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/common/wm/window_state.h" |
7 #include "ash/shelf/shelf_util.h" | 8 #include "ash/shelf/shelf_util.h" |
8 #include "ash/shell.h" | 9 #include "ash/shell.h" |
9 #include "ash/wm/common/window_state.h" | |
10 #include "ash/wm/window_state_aura.h" | 10 #include "ash/wm/window_state_aura.h" |
11 #include "ui/aura/window.h" | 11 #include "ui/aura/window.h" |
12 #include "ui/views/widget/widget.h" | 12 #include "ui/views/widget/widget.h" |
13 #include "ui/wm/core/window_animations.h" | 13 #include "ui/wm/core/window_animations.h" |
14 | 14 |
15 namespace ash { | 15 namespace ash { |
16 | 16 |
17 ShelfWindowWatcherItemDelegate::ShelfWindowWatcherItemDelegate( | 17 ShelfWindowWatcherItemDelegate::ShelfWindowWatcherItemDelegate( |
18 aura::Window* window) | 18 aura::Window* window) |
19 : window_(window) {} | 19 : window_(window) {} |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 bool ShelfWindowWatcherItemDelegate::CanPin() const { | 57 bool ShelfWindowWatcherItemDelegate::CanPin() const { |
58 return true; | 58 return true; |
59 } | 59 } |
60 | 60 |
61 bool ShelfWindowWatcherItemDelegate::ShouldShowTooltip() { | 61 bool ShelfWindowWatcherItemDelegate::ShouldShowTooltip() { |
62 return true; | 62 return true; |
63 } | 63 } |
64 | 64 |
65 } // namespace ash | 65 } // namespace ash |
OLD | NEW |