OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/mus/bridge/wm_shelf_mus.h" | 5 #include "ash/mus/bridge/wm_shelf_mus.h" |
6 | 6 |
7 #include "ash/mus/bridge/wm_window_mus.h" | 7 #include "ash/mus/bridge/wm_window_mus.h" |
8 #include "ash/mus/shelf_layout_manager.h" | 8 #include "ash/mus/shelf_layout_manager.h" |
9 #include "components/mus/public/cpp/window.h" | 9 #include "components/mus/public/cpp/window.h" |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 ShelfAutoHideBehavior WmShelfMus::GetAutoHideBehavior() const { | 44 ShelfAutoHideBehavior WmShelfMus::GetAutoHideBehavior() const { |
45 NOTIMPLEMENTED(); | 45 NOTIMPLEMENTED(); |
46 return SHELF_AUTO_HIDE_BEHAVIOR_NEVER; | 46 return SHELF_AUTO_HIDE_BEHAVIOR_NEVER; |
47 } | 47 } |
48 | 48 |
49 void WmShelfMus::SetAutoHideBehavior(ShelfAutoHideBehavior behavior) { | 49 void WmShelfMus::SetAutoHideBehavior(ShelfAutoHideBehavior behavior) { |
50 NOTIMPLEMENTED(); | 50 NOTIMPLEMENTED(); |
51 } | 51 } |
52 | 52 |
| 53 ShelfAutoHideState WmShelfMus::GetAutoHideState() const { |
| 54 NOTIMPLEMENTED(); |
| 55 return SHELF_AUTO_HIDE_HIDDEN; |
| 56 } |
| 57 |
53 ShelfBackgroundType WmShelfMus::GetBackgroundType() const { | 58 ShelfBackgroundType WmShelfMus::GetBackgroundType() const { |
54 NOTIMPLEMENTED(); | 59 NOTIMPLEMENTED(); |
55 return SHELF_BACKGROUND_DEFAULT; | 60 return SHELF_BACKGROUND_DEFAULT; |
56 } | 61 } |
57 | 62 |
58 void WmShelfMus::UpdateVisibilityState() { | 63 void WmShelfMus::UpdateVisibilityState() { |
59 NOTIMPLEMENTED(); | 64 NOTIMPLEMENTED(); |
60 } | 65 } |
61 | 66 |
62 ShelfVisibilityState WmShelfMus::GetVisibilityState() const { | 67 ShelfVisibilityState WmShelfMus::GetVisibilityState() const { |
63 NOTIMPLEMENTED(); | 68 NOTIMPLEMENTED(); |
64 return shelf_layout_manager_->GetShelfWindow() ? SHELF_VISIBLE : SHELF_HIDDEN; | 69 return shelf_layout_manager_->GetShelfWindow() ? SHELF_VISIBLE : SHELF_HIDDEN; |
65 } | 70 } |
66 | 71 |
| 72 gfx::Rect WmShelfMus::GetUserWorkAreaBounds() const { |
| 73 NOTIMPLEMENTED(); |
| 74 return gfx::Rect(); |
| 75 } |
| 76 |
67 void WmShelfMus::UpdateIconPositionForWindow(WmWindow* window) { | 77 void WmShelfMus::UpdateIconPositionForWindow(WmWindow* window) { |
68 NOTIMPLEMENTED(); | 78 NOTIMPLEMENTED(); |
69 } | 79 } |
70 | 80 |
71 gfx::Rect WmShelfMus::GetScreenBoundsOfItemIconForWindow(WmWindow* window) { | 81 gfx::Rect WmShelfMus::GetScreenBoundsOfItemIconForWindow(WmWindow* window) { |
72 NOTIMPLEMENTED(); | 82 NOTIMPLEMENTED(); |
73 return gfx::Rect(); | 83 return gfx::Rect(); |
74 } | 84 } |
75 | 85 |
76 void WmShelfMus::AddObserver(WmShelfObserver* observer) { | 86 void WmShelfMus::AddObserver(WmShelfObserver* observer) { |
77 observers_.AddObserver(observer); | 87 observers_.AddObserver(observer); |
78 } | 88 } |
79 | 89 |
80 void WmShelfMus::RemoveObserver(WmShelfObserver* observer) { | 90 void WmShelfMus::RemoveObserver(WmShelfObserver* observer) { |
81 observers_.RemoveObserver(observer); | 91 observers_.RemoveObserver(observer); |
82 } | 92 } |
83 | 93 |
84 } // namespace mus | 94 } // namespace mus |
85 } // namespace ash | 95 } // namespace ash |
OLD | NEW |