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/shell/window_watcher_shelf_item_delegate.h" | 5 #include "ash/shell/window_watcher_shelf_item_delegate.h" |
6 | 6 |
7 #include "ash/shell/window_watcher.h" | 7 #include "ash/shell/window_watcher.h" |
8 #include "ash/wm/window_util.h" | 8 #include "ash/wm/window_util.h" |
9 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 } | 45 } |
46 | 46 |
47 bool WindowWatcherShelfItemDelegate::CanPin() const { | 47 bool WindowWatcherShelfItemDelegate::CanPin() const { |
48 return true; | 48 return true; |
49 } | 49 } |
50 | 50 |
51 bool WindowWatcherShelfItemDelegate::ShouldShowTooltip() { | 51 bool WindowWatcherShelfItemDelegate::ShouldShowTooltip() { |
52 return true; | 52 return true; |
53 } | 53 } |
54 | 54 |
| 55 bool WindowWatcherShelfItemDelegate::IsOpen() const { |
| 56 return true; |
| 57 } |
| 58 |
55 void WindowWatcherShelfItemDelegate::Close() {} | 59 void WindowWatcherShelfItemDelegate::Close() {} |
56 | 60 |
57 } // namespace shell | 61 } // namespace shell |
58 } // namespace ash | 62 } // namespace ash |
OLD | NEW |